/* ============================================================
   SOLARIA — Design System
   暗金电影感 / 零依赖 / 深浅层级靠光而非色块
   ============================================================ */

:root {
  --bg: #07080C;
  --bg-2: #0B0D14;
  --bg-3: #10131C;
  --panel: rgba(16, 19, 28, .72);
  --ink: #EDEFF5;
  --ink-2: #C2C7D6;
  --muted: #8B93A7;
  --gold: #C9A227;
  --gold-lt: #E9CD86;
  --gold-dim: rgba(201, 162, 39, .16);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --radius: 4px;
  --max: 1240px;
  --nav-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --serif: "Cinzel", "Georgia", "Times New Roman", "Songti SC", serif;
  --sans: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--gold); color: #0A0B10; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #06070A; }
::-webkit-scrollbar-thumb { background: #232838; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #343B50; }

/* ---------- 通用容器 ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }

.section { padding: 110px 0; position: relative; }
.section.tight { padding: 80px 0; }
.section.alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%); }

.section-head { max-width: 780px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .34em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  padding-left: 2px;
}
.eyebrow::before {
  content: ""; display: inline-block;
  width: 26px; height: 1px; background: var(--gold);
  vertical-align: middle; margin-right: 12px; opacity: .8;
}

.h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: .01em;
  color: #fff;
}

.lead {
  margin-top: 20px;
  font-size: clamp(14px, 1.25vw, 16.5px);
  color: var(--ink-2);
  line-height: 1.85;
  max-width: 72ch;
}
.section-head.center .lead { margin-left: auto; margin-right: auto; }

.rule {
  height: 1px; border: 0;
  background: linear-gradient(90deg, var(--gold), rgba(201,162,39,0) 65%);
  margin: 26px 0 0; max-width: 220px;
}
.section-head.center .rule { margin-left: auto; margin-right: auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 30px;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  border-radius: 2px;
  transition: all .3s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-gold {
  background: linear-gradient(135deg, #E9CD86 0%, #C9A227 55%, #A5811B 100%);
  color: #14100A;
  box-shadow: 0 10px 30px -12px rgba(201, 162, 39, .7);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(201,162,39,.85); }
.btn-ghost {
  border-color: var(--line-2);
  color: var(--ink);
  background: rgba(255,255,255,.02);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-lt); background: rgba(201,162,39,.06); }

/* ---------- 导航 ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: linear-gradient(180deg, rgba(7,8,12,.94), rgba(7,8,12,.62));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
.site-nav.solid { background: rgba(7,8,12,.97); border-bottom-color: var(--line); }

.nav-inner {
  width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; gap: 22px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  font-family: var(--serif);
  font-size: 21px; letter-spacing: .2em;
  color: #fff; line-height: 1;
  text-shadow: 0 0 24px rgba(201,162,39,.42);
}
.brand-sub {
  font-size: 9px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); opacity: .85;
  border-left: 1px solid var(--line-2); padding-left: 10px;
}

.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links a {
  font-size: 11.5px; font-weight: 600;
  letter-spacing: .17em; text-transform: uppercase;
  color: var(--ink-2);
  position: relative; padding: 6px 0;
  white-space: nowrap;
  transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width .3s var(--ease);
}
.nav-links a:hover, .nav-links a.on { color: #fff; }
.nav-links a:hover::after, .nav-links a.on::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

.lang-switch {
  display: flex; align-items: center; gap: 2px;
  border: 1px solid var(--line); border-radius: 2px; padding: 3px;
}
.lang-switch button {
  font-size: 10px; font-weight: 700; letter-spacing: .1em;
  padding: 5px 8px; border-radius: 1px; color: var(--muted);
  transition: all .22s;
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.on { background: var(--gold-dim); color: var(--gold-lt); }

.nav-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 1.5px; background: var(--ink);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% center;
  animation: heroDrift 26s ease-in-out infinite alternate;
}
@keyframes heroDrift { from { transform: scale(1.02); } to { transform: scale(1.11); } }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,7,11,.96) 0%, rgba(6,7,11,.86) 32%, rgba(6,7,11,.42) 62%, rgba(6,7,11,.72) 100%),
    linear-gradient(180deg, rgba(6,7,11,.9) 0%, rgba(6,7,11,.1) 34%, rgba(6,7,11,.55) 74%, var(--bg) 100%);
}

.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--max);
  margin: 0 auto; padding: 0 28px 72px;
}

.hero-eyebrow {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .38em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  opacity: 0; animation: fadeUp .9s var(--ease) .15s forwards;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(56px, 11.5vw, 148px);
  font-weight: 400; line-height: .88;
  letter-spacing: .06em;
  color: #fff;
  background: linear-gradient(180deg, #FFFFFF 12%, #F3E4C0 46%, #C9A227 108%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 44px rgba(0,0,0,.85));
  opacity: 0; animation: fadeUp 1s var(--ease) .28s forwards;
}

.hero-sub {
  font-family: var(--serif);
  font-size: clamp(15px, 2.1vw, 26px);
  letter-spacing: .52em; text-transform: uppercase;
  color: var(--gold-lt);
  margin-top: 14px; margin-left: 3px;
  opacity: 0; animation: fadeUp 1s var(--ease) .42s forwards;
}

.hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.9vw, 23px);
  line-height: 1.6;
  color: #E7E9F1;
  max-width: 640px;
  margin-top: 34px;
  padding-left: 20px;
  border-left: 2px solid var(--gold);
  opacity: 0; animation: fadeUp 1s var(--ease) .56s forwards;
}

.hero-desc {
  max-width: 620px;
  margin-top: 22px;
  font-size: 14.5px; line-height: 1.9;
  color: var(--ink-2);
  opacity: 0; animation: fadeUp 1s var(--ease) .7s forwards;
}

.hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 38px;
  opacity: 0; animation: fadeUp 1s var(--ease) .84s forwards;
}

.hero-stats {
  display: grid; grid-template-columns: repeat(4, auto);
  justify-content: start; gap: 0;
  margin-top: 62px; padding-top: 26px;
  border-top: 1px solid var(--line);
  opacity: 0; animation: fadeUp 1s var(--ease) .98s forwards;
}
.stat { padding: 0 42px; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--serif); font-size: 34px; line-height: 1;
  color: var(--gold-lt);
}
.stat-label {
  margin-top: 8px;
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted);
}

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 3;
  font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-hint::after {
  content: ""; width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: hintPulse 2.4s ease-in-out infinite;
}
@keyframes hintPulse { 0%,100% { opacity: .25; } 50% { opacity: 1; } }

@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- 页头（子页） ---------- */
.page-head {
  position: relative;
  padding: calc(var(--nav-h) + 110px) 0 76px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-head-bg { position: absolute; inset: 0; z-index: 0; }
.page-head-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; opacity: .38; }
.page-head-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,8,12,.72) 0%, rgba(7,8,12,.86) 60%, var(--bg) 100%);
}
.page-head .wrap { position: relative; z-index: 2; }
.page-head .h2 { font-size: clamp(34px, 5.4vw, 64px); }

/* ---------- 特色卡 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature-card {
  background: var(--bg); padding: 38px 30px 34px;
  transition: background .35s var(--ease);
  position: relative;
}
.feature-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity .4s;
}
.feature-card:hover { background: var(--bg-3); }
.feature-card:hover::before { opacity: 1; }
.fc-icon { width: 34px; height: 34px; margin-bottom: 22px; color: var(--gold); }
.fc-icon svg { width: 100%; height: 100%; }
.fc-title { font-family: var(--serif); font-size: 18px; margin-bottom: 12px; color: #fff; }
.fc-desc { font-size: 13.5px; line-height: 1.8; color: var(--muted); }

/* ---------- 图文分栏 ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 68px; align-items: center; }
.split.rev { direction: rtl; }
.split.rev > * { direction: ltr; }
.split-media { position: relative; }
.split-media img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(.95) contrast(1.04);
}
.split-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 90px 20px rgba(7,8,12,.55);
}
.split-copy .h2 { font-size: clamp(26px, 3.2vw, 40px); }
.split-copy p { margin-top: 20px; color: var(--ink-2); font-size: 15px; line-height: 1.95; }

/* ---------- 支柱卡 ---------- */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px; }
.pillar-card {
  border: 1px solid var(--line); border-left: 2px solid var(--gold);
  padding: 28px 26px; background: var(--panel);
  transition: transform .35s var(--ease), border-color .35s;
}
.pillar-card:hover { transform: translateY(-3px); border-color: var(--line-2); border-left-color: var(--gold-lt); }
.pillar-card h3 { font-family: var(--serif); font-size: 17px; color: #fff; margin-bottom: 10px; }
.pillar-card p { font-size: 13.5px; line-height: 1.8; color: var(--muted); }

/* ---------- 职业卡 ---------- */
.class-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.class-card {
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), border-color .4s;
}
.class-card:hover { transform: translateY(-5px); border-color: rgba(201,162,39,.5); }
.cc-media { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.cc-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease), filter .5s;
  filter: saturate(.9) brightness(.92);
}
.class-card:hover .cc-media img { transform: scale(1.05); filter: saturate(1.02) brightness(1); }
.cc-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,8,12,.05) 30%, rgba(7,8,12,.55) 68%, rgba(11,13,20,.98) 100%);
}
.cc-role {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 9px; letter-spacing: .2em; text-transform: uppercase;
  padding: 5px 9px;
  background: rgba(7,8,12,.72); border: 1px solid rgba(201,162,39,.45);
  color: var(--gold-lt);
  backdrop-filter: blur(4px);
}
.cc-body { padding: 18px 20px 24px; position: relative; z-index: 2; margin-top: -26px; }
.cc-name { font-family: var(--serif); font-size: 22px; color: #fff; letter-spacing: .04em; }
.cc-tagline {
  font-family: var(--serif); font-style: italic;
  font-size: 12.5px; color: var(--gold-lt); margin-top: 5px;
}
.cc-desc { font-size: 12.5px; line-height: 1.75; color: var(--muted); margin-top: 12px; }

/* ---------- 职业详情（classes.html） ---------- */
.class-block { border-top: 1px solid var(--line); padding: 68px 0; }
.class-block:first-of-type { border-top: 0; padding-top: 20px; }
.cb-head { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: start; }
.cb-portrait { position: relative; border: 1px solid var(--line); overflow: hidden; }
.cb-portrait img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.cb-portrait .cc-role { position: static; display: inline-block; margin: 14px; }
.cb-title { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 44px); color: #fff; line-height: 1.1; }
.cb-tagline {
  font-family: var(--serif); font-style: italic;
  color: var(--gold-lt); font-size: 16px; margin-top: 10px;
}
.cb-desc { margin-top: 20px; color: var(--ink-2); font-size: 15px; line-height: 1.9; max-width: 68ch; }

.branch-list { display: grid; gap: 18px; margin-top: 42px; }
.branch-item {
  border: 1px solid var(--line); background: var(--panel);
  display: grid; grid-template-columns: 168px 1fr; gap: 0;
  transition: border-color .35s;
}
.branch-item:hover { border-color: rgba(201,162,39,.42); }
.bi-media { position: relative; overflow: hidden; }
.bi-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 2/3; filter: brightness(.9); }
.bi-body { padding: 26px 30px; }
.bi-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bi-weapon { font-family: var(--serif); font-size: 21px; color: #fff; }
.bi-icon { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; }
.bi-icon svg { width: 100%; height: 100%; }
.bi-role {
  font-size: 9px; letter-spacing: .18em; text-transform: uppercase;
  padding: 3px 8px; border: 1px solid rgba(201,162,39,.4); color: var(--gold-lt);
}
.bi-tagline { font-family: var(--serif); font-style: italic; color: var(--gold-lt); font-size: 13px; margin-top: 8px; }
.bi-desc { font-size: 13.5px; line-height: 1.8; color: var(--muted); margin-top: 12px; }

.bi-promo { display: flex; align-items: center; gap: 0; margin-top: 20px; flex-wrap: wrap; }
.promo-step { display: flex; align-items: center; gap: 0; }
.promo-step span {
  font-size: 11px; letter-spacing: .08em;
  padding: 5px 11px; border: 1px solid var(--line-2);
  color: var(--ink-2); background: rgba(255,255,255,.02);
  white-space: nowrap;
}
.promo-step:last-child span { border-color: rgba(201,162,39,.55); color: var(--gold-lt); background: var(--gold-dim); }
.promo-step i {
  width: 16px; height: 1px; background: var(--line-2); display: block; margin: 0 6px;
}

/* ---------- 时间线 ---------- */
.timeline { position: relative; margin-top: 54px; padding-left: 34px; }
.timeline::before {
  content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px;
  background: linear-gradient(180deg, var(--gold), rgba(201,162,39,.12));
}
.tl-item { position: relative; padding: 0 0 46px 0; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -34px; top: 8px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(201,162,39,.1);
}
.tl-item:last-child::before { background: var(--gold); box-shadow: 0 0 18px 2px rgba(201,162,39,.5); }
.tl-year {
  font-size: 10px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}
.tl-name { font-family: var(--serif); font-size: 24px; color: #fff; line-height: 1.25; }
.tl-desc { margin-top: 10px; font-size: 14px; line-height: 1.85; color: var(--muted); max-width: 74ch; }

/* ---------- 阵营卡 ---------- */
.faction-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.faction-card {
  position: relative; overflow: hidden; border: 1px solid var(--line);
  min-height: 460px; display: flex; align-items: flex-end;
  transition: border-color .4s, transform .4s var(--ease);
}
.faction-card:hover { border-color: rgba(201,162,39,.45); transform: translateY(-4px); }
.faction-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.85) brightness(.72);
  transition: transform .9s var(--ease), filter .6s;
}
.faction-card:hover img { transform: scale(1.06); filter: saturate(1) brightness(.85); }
.faction-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,8,12,.15) 0%, rgba(7,8,12,.5) 45%, rgba(7,8,12,.97) 100%);
}
.fc-body { position: relative; z-index: 2; padding: 30px 26px; width: 100%; }
.fc-name { font-family: var(--serif); font-size: 25px; color: #fff; }
.fc-motto {
  font-family: var(--serif); font-style: italic;
  color: var(--gold-lt); font-size: 13px; margin-top: 7px;
}
.fc-text { font-size: 13px; line-height: 1.8; color: var(--ink-2); margin-top: 14px; }

/* ---------- 区域网格 ---------- */
.region-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.region-card {
  position: relative; overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 16/10;
  display: flex; align-items: flex-end;
}
.region-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.78) saturate(.9);
  transition: transform .9s var(--ease), filter .6s;
}
.region-card:hover img { transform: scale(1.05); filter: brightness(.92) saturate(1); }
.region-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,8,12,.1) 20%, rgba(7,8,12,.72) 62%, rgba(7,8,12,.97) 100%);
}
.rc-body { position: relative; z-index: 2; padding: 26px 28px; width: 100%; }
.rc-top { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.rc-name { font-family: var(--serif); font-size: 24px; color: #fff; }
.rc-lv { font-size: 10px; letter-spacing: .16em; color: var(--gold-lt); white-space: nowrap; }
.rc-owner {
  display: inline-block; margin-top: 8px;
  font-size: 9px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}
.rc-desc { font-size: 13px; line-height: 1.75; color: var(--ink-2); margin-top: 12px; max-width: 52ch; }

.map-figure { border: 1px solid var(--line); margin-top: 26px; }
.map-figure img { width: 100%; }
.map-figure figcaption {
  padding: 13px 16px; font-size: 11.5px; color: var(--muted);
  border-top: 1px solid var(--line); letter-spacing: .04em;
}

/* ---------- 系统卡 ---------- */
.system-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.system-card {
  border: 1px solid var(--line); background: var(--bg-2);
  display: flex; flex-direction: column; overflow: hidden;
  transition: border-color .35s, transform .35s var(--ease);
}
.system-card:hover { border-color: rgba(201,162,39,.42); transform: translateY(-4px); }
.sc-media { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.sc-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.6) saturate(.85); transition: transform .8s var(--ease); }
.system-card:hover .sc-media img { transform: scale(1.05); }
.sc-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,8,12,.2), rgba(11,13,20,.95));
}
.sc-icon {
  position: absolute; z-index: 2; left: 22px; bottom: -18px;
  width: 44px; height: 44px; padding: 10px;
  background: var(--bg-3); border: 1px solid rgba(201,162,39,.42);
  color: var(--gold);
}
.sc-icon svg { width: 100%; height: 100%; }
.sc-body { padding: 32px 24px 26px; }
.sc-tag {
  font-size: 9px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.sc-title { font-family: var(--serif); font-size: 20px; color: #fff; }
.sc-desc { font-size: 13px; line-height: 1.8; color: var(--muted); margin-top: 12px; }
.sc-points { list-style: none; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.sc-points li {
  position: relative; padding-left: 16px;
  font-size: 12px; color: var(--ink-2); line-height: 1.7; margin-bottom: 6px;
}
.sc-points li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border: 1px solid var(--gold); transform: rotate(45deg);
}

/* ---------- 新闻卡 ---------- */
.news-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 34px; }
.news-filter button {
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  padding: 8px 16px; border: 1px solid var(--line); color: var(--muted);
  transition: all .25s;
}
.news-filter button:hover { color: var(--ink); border-color: var(--line-2); }
.news-filter button.on { color: var(--gold-lt); border-color: rgba(201,162,39,.5); background: var(--gold-dim); }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
  border: 1px solid var(--line); background: var(--bg-2);
  display: flex; flex-direction: column; overflow: hidden;
  transition: border-color .35s, transform .35s var(--ease);
}
.news-card:hover { border-color: rgba(201,162,39,.42); transform: translateY(-4px); }
.nc-media { aspect-ratio: 16/9; overflow: hidden; }
.nc-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.72) saturate(.9); transition: transform .8s var(--ease); }
.news-card:hover .nc-media img { transform: scale(1.05); }
.nc-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.nc-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.nc-date { font-size: 10px; letter-spacing: .16em; color: var(--muted); }
.nc-cat {
  font-size: 9px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); padding: 2px 8px; border: 1px solid rgba(201,162,39,.35);
}
.nc-title { font-family: var(--serif); font-size: 17.5px; line-height: 1.45; color: #fff; }
.nc-excerpt { font-size: 12.8px; line-height: 1.8; color: var(--muted); margin-top: 12px; }

/* ---------- 预约 ---------- */
.wishlist { position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wishlist-bg { position: absolute; inset: 0; }
.wishlist-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: .3; filter: saturate(.8); }
.wishlist-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(7,8,12,.55), rgba(7,8,12,.96) 72%);
}
.wishlist .wrap { position: relative; z-index: 2; text-align: center; padding-top: 96px; padding-bottom: 96px; }
.wl-form { display: flex; gap: 10px; max-width: 500px; margin: 34px auto 0; }
.wl-input {
  flex: 1; padding: 14px 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line-2); color: var(--ink);
  font-size: 14px; outline: none;
  transition: border-color .25s, background .25s;
}
.wl-input::placeholder { color: #6A7286; }
.wl-input:focus { border-color: var(--gold); background: rgba(255,255,255,.07); }
.wl-msg { margin-top: 14px; font-size: 12.5px; min-height: 20px; letter-spacing: .03em; }
.wl-msg.ok { color: var(--gold-lt); }
.wl-msg.err { color: #E08A8A; }
.wl-privacy { margin-top: 16px; font-size: 11px; color: #666E82; max-width: 44ch; margin-left: auto; margin-right: auto; line-height: 1.7; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: var(--serif); font-size: 17px; color: #fff;
  transition: color .25s;
}
.faq-q:hover { color: var(--gold-lt); }
.faq-q i {
  flex-shrink: 0; width: 16px; height: 16px; position: relative;
}
.faq-q i::before, .faq-q i::after {
  content: ""; position: absolute; background: var(--gold);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.faq-q i::before { width: 14px; height: 1px; }
.faq-q i::after { width: 1px; height: 14px; transition: transform .3s; }
.faq-item.open .faq-q i::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .45s var(--ease), opacity .35s;
  opacity: 0;
}
.faq-item.open .faq-a { opacity: 1; }
.faq-a-inner { padding: 0 0 26px; font-size: 14px; line-height: 1.9; color: var(--ink-2); max-width: 72ch; }

/* ---------- 联系 / 官方合作方 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-card, .official-card {
  border: 1px solid var(--line); background: var(--panel); padding: 34px 32px;
}
.official-card { border-left: 2px solid var(--gold); }
.official-card h3, .contact-card h3 { font-family: var(--serif); font-size: 20px; color: #fff; margin-bottom: 14px; }
.official-card p { font-size: 13.5px; line-height: 1.85; color: var(--ink-2); }
.official-card .btn { margin-top: 24px; }
.contact-list { list-style: none; }
.contact-list li {
  display: flex; flex-direction: column; gap: 3px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.contact-list li:last-child { border-bottom: 0; }
.cl-label { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.cl-value { font-size: 13.5px; color: var(--gold-lt); letter-spacing: .02em; word-break: break-all; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); background: #05060A; padding: 66px 0 34px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; }
.foot-brand .brand-mark { font-size: 20px; }
.foot-about { margin-top: 16px; font-size: 12.5px; line-height: 1.85; color: var(--muted); max-width: 40ch; }
.foot-col h4 {
  font-size: 10px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px; font-weight: 700;
}
.foot-col a { display: block; font-size: 13px; color: var(--ink-2); padding: 6px 0; transition: color .22s; }
.foot-col a:hover { color: var(--gold-lt); }
.foot-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: 11px; color: #5C6478; line-height: 1.8;
}
.foot-bottom .rating { max-width: 46ch; }

/* ---------- 法务页 ---------- */
.legal-doc { max-width: 780px; }
.legal-doc h3 { font-family: var(--serif); font-size: 20px; color: #fff; margin: 44px 0 12px; }
.legal-doc h3:first-child { margin-top: 0; }
.legal-doc p, .legal-doc li { font-size: 13.5px; line-height: 1.9; color: var(--ink-2); }
.legal-doc p { margin-bottom: 12px; }
.legal-doc ul { margin: 0 0 16px 20px; }
.legal-doc li { margin-bottom: 6px; }

/* ---------- 渐显动画 ---------- */
.reveal { opacity: 1; }
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .class-grid { grid-template-columns: repeat(2, 1fr); }
  .system-grid, .news-grid, .faction-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .cb-head { grid-template-columns: 260px 1fr; gap: 34px; }
}

@media (max-width: 960px) {
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: rgba(7,8,12,.98); border-bottom: 1px solid var(--line);
    padding: 8px 28px 22px;
    transform: translateY(-120%); transition: transform .4s var(--ease);
  }
  .nav-links.open { transform: none; }
  .nav-links a { width: 100%; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-right { order: 3; }
  .nav-btn-dl { display: none; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.rev { direction: ltr; }
  .pillar-grid { grid-template-columns: 1fr; }
  .cb-head { grid-template-columns: 1fr; }
  .cb-portrait { max-width: 300px; }
  .branch-item { grid-template-columns: 120px 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .stat { padding: 0 22px; }
  .stat:nth-child(2) { border-right: 0; }
}

@media (max-width: 720px) {
  .wrap, .nav-inner, .hero-inner { padding-left: 20px; padding-right: 20px; }
  .brand-sub { display: none; }
  .feature-grid, .class-grid, .system-grid, .news-grid, .faction-grid, .region-grid { grid-template-columns: 1fr; }
  .branch-item { grid-template-columns: 1fr; }
  .bi-media img { aspect-ratio: 16/10; }
  .hero { min-height: 92vh; }
  .hero-inner { padding-bottom: 56px; }
  .hero-sub { letter-spacing: .34em; }
  .hero-tagline { margin-top: 24px; font-size: 15px; }
  .hero-stats { margin-top: 42px; }
  .stat-num { font-size: 26px; }
  .pos-card { max-width: 100%; }
  .wl-form { flex-direction: column; }
  .dl-reg { flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px 22px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; }
  .page-head { padding-top: calc(var(--nav-h) + 74px); padding-bottom: 54px; }
  .timeline { padding-left: 26px; }
  .tl-item::before { left: -26px; }
}


/* ============ NAV BUTTONS ============ */
.nav-btn { padding: 10px 18px; font-size: 10px; letter-spacing: .14em; }

/* ============ DOWNLOAD ============ */
.dl-section { padding-top: 96px; }
.dl-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: 18px;
}
.dl-head .eyebrow { display: block; margin-bottom: 14px; }
.build-tag {
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-lt); border: 1px solid rgba(201,162,39,.38);
  background: rgba(201,162,39,.08); padding: 7px 14px; border-radius: 2px;
  white-space: nowrap;
}
.dl-lead { max-width: 74ch; margin-bottom: 40px; }

.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.dl-card {
  position: relative; padding: 30px 30px 26px;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(201,162,39,.07) 0%, transparent 60%),
    linear-gradient(180deg, rgba(19,22,32,.92) 0%, rgba(10,12,18,.92) 100%);
  display: flex; flex-direction: column;
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.dl-card:hover { border-color: rgba(201,162,39,.45); transform: translateY(-3px); }
.dl-top { display: flex; align-items: center; gap: 16px; }
.dl-icon {
  width: 50px; height: 50px; flex: 0 0 50px;
  display: grid; place-items: center;
  border: 1px solid rgba(201,162,39,.3); border-radius: 2px;
  background: rgba(201,162,39,.06); color: var(--gold-lt);
}
.dl-icon svg { width: 24px; height: 24px; }
.dl-plat { font-family: var(--serif); font-size: 19px; color: #fff; letter-spacing: .04em; }
.dl-format { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.dl-size { margin-top: 18px; font-size: 13px; color: var(--ink-2); }
.dl-req {
  margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; gap: 12px;
}
.dl-cta { margin-top: 24px; width: 100%; }
.dl-cta svg { width: 16px; height: 16px; }

.dl-foot {
  margin-top: 34px; display: grid; grid-template-columns: 1.5fr 1fr;
  gap: 40px; padding-top: 30px; border-top: 1px solid var(--line);
}
.dl-steps h3 {
  font-family: var(--serif); font-size: 15px; color: var(--gold-lt);
  letter-spacing: .08em; margin-bottom: 16px;
}
.dl-steps ul { list-style: none; display: grid; gap: 12px; }
.dl-steps li { display: flex; gap: 12px; font-size: 12.5px; line-height: 1.8; color: var(--ink-2); }
.dl-step-n {
  flex: 0 0 20px; height: 20px; margin-top: 2px;
  display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(201,162,39,.4); color: var(--gold-lt);
  font-size: 10px; font-weight: 700;
}
.dl-support {
  font-size: 12.5px; line-height: 1.9; color: var(--muted);
  border-left: 2px solid rgba(201,162,39,.35); padding-left: 18px; align-self: start;
}

/* 注册引导条 */
.dl-reg {
  margin-top: 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 26px 30px;
  border: 1px solid rgba(201,162,39,.32); border-radius: var(--radius);
  background:
    radial-gradient(90% 140% at 0% 50%, rgba(201,162,39,.1) 0%, transparent 55%),
    linear-gradient(180deg, rgba(19,22,32,.9) 0%, rgba(10,12,18,.9) 100%);
}
.dl-reg-txt h3 {
  font-family: var(--serif); font-size: 19px; color: #fff;
  letter-spacing: .04em; margin-bottom: 8px;
}
.dl-reg-txt p { font-size: 12.5px; line-height: 1.8; color: var(--muted); }
.dl-reg-btn { flex-shrink: 0; white-space: nowrap; }
.dl-reg-btn svg { width: 16px; height: 16px; }
.dl-reg + .dl-foot { margin-top: 34px; }

/* ============ TOP UP ============ */
.tier-head {
  font-size: 10px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}
.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tier-card {
  display: flex; flex-direction: column;
  padding: 24px 22px 22px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(13,16,24,.72);
  transition: border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease);
}
.tier-card:hover {
  border-color: rgba(201,162,39,.5); transform: translateY(-3px);
  background: rgba(20,24,34,.86);
}
.tier-tag {
  align-self: flex-start; font-size: 9px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(201,162,39,.3); padding: 3px 8px; border-radius: 1px;
}
.tier-name {
  margin-top: 14px; font-family: var(--serif); font-size: 15px; line-height: 1.5;
  color: #fff; font-weight: 500; min-height: 45px;
}
.tier-price {
  margin-top: 14px; font-family: var(--serif); font-size: 30px; color: var(--gold-lt);
  display: flex; align-items: baseline; gap: 3px; letter-spacing: .01em;
}
.tp-cur { font-size: 16px; color: var(--gold); }
.tp-unit { font-family: var(--sans); font-size: 9px; letter-spacing: .18em; color: var(--muted); margin-left: 5px; }
.tier-note { margin-top: 8px; font-size: 12px; color: var(--ink-2); line-height: 1.7; }
.tier-price-note { margin-top: 20px; font-size: 11.5px; color: var(--muted); max-width: 76ch; }

.topup-cta {
  margin-top: 32px; padding: 26px 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
  border: 1px solid rgba(201,162,39,.28); border-radius: var(--radius);
  background:
    radial-gradient(90% 140% at 0% 50%, rgba(201,162,39,.12) 0%, transparent 62%),
    rgba(12,14,21,.9);
}
.tc-label {
  font-family: var(--serif); font-size: 18px; color: #fff; letter-spacing: .03em;
}
.tc-domain { font-size: 11px; letter-spacing: .18em; color: var(--gold); margin-top: 6px; }
.topup-safe { margin-top: 16px; font-size: 11.5px; color: var(--muted); }

/* ============ SUPPORT GRID ============ */
.sup-grid { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.sup-dl { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.sup-dl-btn { padding: 11px 16px; font-size: 10.5px; letter-spacing: .1em; }
.sup-dl-btn svg { width: 15px; height: 15px; }
.sup-dl-fmt { color: var(--muted); font-size: 9px; letter-spacing: .16em; margin-left: 2px; }

@media (max-width: 1080px) {
  .dl-grid { grid-template-columns: 1fr; }
  .dl-foot { grid-template-columns: 1fr; gap: 26px; }
  .tier-grid { grid-template-columns: 1fr 1fr; }
  .sup-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .dl-section { padding-top: 72px; }
  .tier-grid { grid-template-columns: 1fr; }
  .tier-name { min-height: 0; }
  .topup-cta { flex-direction: column; align-items: flex-start; }
  .nav-btn { padding: 9px 13px; font-size: 9.5px; }
}
