/* ============================================================
   飞升计划官网 · 共享样式（暗紫金 WoW 风格）
   ============================================================ */
:root {
  --bg: #0e0819;
  --bg2: #1a0f2e;
  --card: rgba(139, 92, 246, 0.06);
  --card-hover: rgba(139, 92, 246, 0.12);
  --border: rgba(212, 175, 55, 0.22);
  --border-strong: rgba(212, 175, 55, 0.45);
  --gold: #d4af37;
  --gold-bright: #f0d68a;
  --purple: #8b5cf6;
  --purple-deep: #4a2c5e;
  --text: #e8e0f0;
  --muted: #9d8fb8;
  --danger: #e05d5d;
  --ok: #56c271;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(1100px 500px at 15% -5%, rgba(107, 63, 160, 0.28), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(212, 175, 55, 0.08), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 45%, var(--bg) 100%);
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
  line-height: 1.7;
}
a { color: var(--gold-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 24px;
  padding: 14px 28px;
  background: rgba(14, 8, 25, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.35);
  border: 1px solid var(--border-strong);
}
.nav-title { font-size: 18px; font-weight: 700; color: var(--gold-bright); letter-spacing: 1px; }
.nav-title small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); letter-spacing: 2px; }
.nav-links { display: flex; gap: 6px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav-links a {
  color: var(--text); font-size: 14px; padding: 7px 14px;
  border-radius: 8px; transition: background .15s, color .15s;
}
.nav-links a:hover { background: rgba(139, 92, 246, 0.15); text-decoration: none; color: #fff; }
.nav-links a.active { color: var(--gold-bright); background: rgba(212, 175, 55, 0.1); }
.nav-cta {
  background: linear-gradient(135deg, var(--gold), #a8842a) !important;
  color: #241a05 !important; font-weight: 600;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 13px 32px; border-radius: 10px;
  font-size: 15px; font-weight: 600; letter-spacing: 1px;
  cursor: pointer; border: none; transition: all .15s; text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #a8842a);
  color: #241a05; box-shadow: 0 4px 18px rgba(212, 175, 55, 0.3);
}
.btn-gold:hover { box-shadow: 0 6px 24px rgba(212, 175, 55, 0.45); }
.btn-ghost {
  background: transparent; color: var(--gold-bright);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: rgba(212, 175, 55, 0.08); }
.btn-purple {
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  color: #fff; box-shadow: 0 4px 18px rgba(107, 63, 160, 0.35);
}
.btn-purple:hover { box-shadow: 0 6px 24px rgba(107, 63, 160, 0.5); }

/* ---------- 通用布局 ---------- */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-label {
  font-size: 12px; letter-spacing: 4px; color: var(--gold);
  text-transform: uppercase; margin-bottom: 8px;
}
.section-title { font-size: 30px; font-weight: 700; margin-bottom: 10px; color: #fff; }
.section-sub { color: var(--muted); font-size: 15px; margin-bottom: 36px; }

/* ---------- 卡片 ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  transition: background .2s, border-color .2s, transform .2s;
}
.card:hover { background: var(--card-hover); border-color: var(--border-strong); }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- 页脚 ---------- */
.footer {
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  background: rgba(10, 6, 20, 0.6);
  padding: 36px 0; margin-top: 60px;
  text-align: center; color: var(--muted); font-size: 13px;
}
.footer .foot-links { display: flex; gap: 22px; justify-content: center; margin: 14px 0; flex-wrap: wrap; }
.footer .foot-links a { color: var(--muted); }
.footer .foot-links a:hover { color: var(--gold-bright); }
.footer .foot-brand { color: var(--gold-bright); letter-spacing: 1px; }
.footer .foot-beian { margin-top: 10px; font-size: 12px; letter-spacing: 0.5px; opacity: 0.75; }
.footer .foot-beian a { color: var(--muted); text-decoration: none; }
.footer .foot-beian a:hover { color: var(--gold-bright); text-decoration: underline; }

/* ---------- 表格 ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th, .tbl td { padding: 10px 14px; text-align: left; border-bottom: 1px solid rgba(212, 175, 55, 0.14); }
.tbl th { color: var(--gold-bright); font-weight: 600; white-space: nowrap; }
.tbl tr:hover td { background: rgba(139, 92, 246, 0.06); }

/* ---------- 提示条 ---------- */
.notice {
  border: 1px solid var(--border); border-left: 3px solid var(--gold);
  background: rgba(212, 175, 55, 0.07);
  border-radius: 10px; padding: 16px 20px; font-size: 14px;
}

/* ---------- 代码块 ---------- */
.code {
  font-family: Consolas, "Courier New", monospace;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 16px;
  color: var(--gold-bright); font-size: 15px; letter-spacing: 0.5px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.code .copy-btn {
  background: transparent; border: 1px solid var(--border-strong);
  color: var(--gold-bright); border-radius: 6px;
  padding: 4px 12px; font-size: 12px; cursor: pointer; white-space: nowrap;
}
.code .copy-btn:hover { background: rgba(212, 175, 55, 0.12); }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav { padding: 12px 16px; gap: 12px; flex-wrap: wrap; }
  .nav-links { width: 100%; margin-left: 0; }
  .section { padding: 48px 0; }
  .section-title { font-size: 24px; }
}
