/* ===== 小乐驱动下载站 - 共享样式 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(1200px 600px at 15% 10%, #312e81 0%, transparent 50%),
              radial-gradient(1000px 500px at 85% 90%, #164e63 0%, transparent 50%),
              linear-gradient(160deg, #0f172a 0%, #1e1b4b 55%, #0f172a 100%);
  color: #e2e8f0;
}
a { text-decoration: none; color: inherit; }

/* ===== 顶部导航栏 ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: rgba(15, 23, 42, 0.85);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #e2e8f0; }
.nav-logo svg { display: block; }
.nav-logo span { font-size: 15px; letter-spacing: 1px; }
.nav-menu { display: flex; align-items: center; gap: 8px; }
.nav-menu a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  color: #cbd5e1;
  transition: background .2s, color .2s;
}
.nav-menu a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav-menu a.active { background: linear-gradient(135deg, #22d3ee, #6366f1); color: #fff; font-weight: 700; }

/* ===== 主容器 ===== */
.wrap { width: 100%; max-width: 880px; margin: 0 auto; padding: 20px 24px; flex: 1; }

/* ===== 页头 ===== */
.page-head { text-align: center; padding: 40px 0 30px; }
.page-head h1 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  background: linear-gradient(90deg, #67e8f9, #a5b4fc, #f0abfc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}
.page-head p { font-size: 15px; color: #94a3b8; line-height: 1.7; }

/* ===== 卡片 ===== */
.card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 36px 30px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.card.center { text-align: center; }
.card h2 { font-size: 21px; font-weight: 700; color: #f1f5f9; margin-bottom: 10px; }
.card p { color: #94a3b8; font-size: 14.5px; line-height: 1.8; margin-bottom: 20px; }
.card-icon {
  width: 76px; height: 76px;
  margin: 0 auto 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, #22d3ee, #6366f1);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 32px rgba(99,102,241,0.45);
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22d3ee, #6366f1 80%);
  box-shadow: 0 10px 30px rgba(34,211,238,0.35);
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(34,211,238,0.5); }
.btn:active { transform: translateY(0); }
.btn svg { display: block; }
.btn.ghost {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: none;
}
.btn.ghost:hover { background: rgba(255,255,255,0.14); box-shadow: none; }
.hint { margin-top: 16px; font-size: 13px; color: #64748b; }

/* ===== 网格卡片 ===== */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 24px; }
.grid .card { padding: 26px 22px; }
.grid h3 { font-size: 16.5px; color: #e2e8f0; margin-bottom: 8px; }
.grid p { font-size: 13.5px; color: #94a3b8; margin-bottom: 0; line-height: 1.7; }
.grid .num {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, #22d3ee, #6366f1);
  color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}

/* ===== 步骤 ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.step {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 24px 20px;
  transition: background .2s, transform .2s;
}
.step:hover { background: rgba(255,255,255,0.09); transform: translateY(-4px); }
.step h3 { font-size: 15.5px; color: #e2e8f0; margin: 12px 0 6px; }
.step p { font-size: 13px; color: #94a3b8; line-height: 1.6; }

/* ===== 信息列表 ===== */
.info-list { margin-top: 8px; }
.info-list div { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,0.1); font-size: 14px; }
.info-list div:last-child { border-bottom: none; }
.info-list .k { color: #64748b; min-width: 90px; flex-shrink: 0; }
.info-list .v { color: #cbd5e1; }
.info-list .v a { color: #818cf8; }
.info-list .v a:hover { text-decoration: underline; }

/* ===== 页脚 ===== */
footer {
  width: 100%;
  text-align: center;
  padding: 30px 24px 38px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.9;
}
footer a { color: #818cf8; }
footer a:hover { text-decoration: underline; }

/* ===== 手机适配 ===== */
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
  .nav { padding: 12px 16px; }
  .nav-menu a { padding: 7px 12px; font-size: 13px; }
  .card { padding: 26px 20px; }
  .page-head { padding: 28px 0 20px; }
}

/* ===== 登录状态栏 ===== */
.nav-user { display: flex; align-items: center; gap: 12px; margin-left: 8px; }
.nav-hello { font-size: 14px; color: #67e8f9; font-weight: 600; }
.nav-user a.nav-link { font-size: 13.5px; color: #cbd5e1; }
.nav-user a.nav-link:hover { color: #fff; text-decoration: underline; }

/* ===== 登录弹窗 ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal {
  position: relative;
  width: 340px; max-width: 92vw;
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 30px 26px 26px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  text-align: left;
}
.modal-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; color: #64748b; font-size: 16px; cursor: pointer;
}
.modal-close:hover { color: #fff; }
.modal h3 { font-size: 20px; font-weight: 700; color: #f1f5f9; margin-bottom: 6px; }
.modal-sub { font-size: 13px; color: #94a3b8; margin-bottom: 16px; }
.modal input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: #e2e8f0;
  font-size: 14px;
  margin-bottom: 10px;
  outline: none;
  box-sizing: border-box;
}
.modal input:focus { border-color: #22d3ee; }
.modal input::placeholder { color: #64748b; }
.modal .btn { width: 100%; justify-content: center; margin-top: 6px; font-size: 15px; }
.modal-err { color: #f87171; font-size: 13px; min-height: 20px; margin: 4px 0 2px; }
.modal-switch { text-align: center; margin-top: 14px; font-size: 13px; color: #94a3b8; }
.modal-switch a { color: #818cf8; }
.modal-switch a:hover { text-decoration: underline; }
.modal .code-row { display: flex; gap: 8px; margin-bottom: 10px; }
.modal .code-row input { flex: 1; margin-bottom: 0; min-width: 0; }
.modal .send-btn { flex: none; padding: 0 14px; font-size: 13px; white-space: nowrap; margin-top: 0; }


