/* =========================================================
   战魂完美 · 经典怀旧
   本地演示站点样式
   ========================================================= */

:root {
  --ink: #05070d;
  --ink-2: #080d17;
  --ink-3: #0d1422;
  --panel: rgba(13, 19, 32, 0.72);
  --panel-solid: #0c1220;
  --gold: #e8c477;
  --gold-bright: #ffe9b3;
  --gold-deep: #b07f33;
  --jade: #4fe0c2;
  --text: #ece9e1;
  --muted: #9aa4b5;
  --muted-2: #6d7789;
  --line: rgba(232, 196, 119, 0.16);
  --line-strong: rgba(232, 196, 119, 0.34);
  --danger: #ff7b8a;
  --success: #65e0b0;
  --radius: 18px;
  --radius-lg: 26px;
  --container: 1180px;
  --font-serif: "STZhongsong", "Songti SC", "SimSun", "Noto Serif SC", serif;
  --font-sans: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img, svg { display: block; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection {
  background: rgba(232, 196, 119, 0.28);
  color: #fff;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #060910; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3a3325, #1c1a16);
  border-radius: 10px;
  border: 2px solid #060910;
}

.container {
  width: min(var(--container), calc(100% - 56px));
  margin-inline: auto;
}

/* ---------- 噪点与氛围光 ---------- */
.page-noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.ambient {
  position: fixed;
  z-index: 0;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  opacity: 0.16;
}
.ambient-a { top: -18vw; right: -10vw; background: #2c5d8f; }
.ambient-b { bottom: -24vw; left: -14vw; background: #7a5a22; opacity: 0.12; }

/* ---------- 通用按钮 ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }

.btn-gold {
  color: #1a1306;
  background: linear-gradient(135deg, #f7e3b0 0%, #e8c477 38%, #c99a4a 72%, #f0d79b 100%);
  box-shadow: 0 8px 26px rgba(201, 154, 74, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  overflow: hidden;
}
.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.55) 45%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn-gold:hover::after { transform: translateX(120%); }
.btn-gold:hover { box-shadow: 0 12px 34px rgba(232, 196, 119, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.55); }

.btn-outline {
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(232, 196, 119, 0.34);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(232, 196, 119, 0.08);
  color: var(--gold-bright);
}

.btn-ghost {
  color: var(--muted);
  background: transparent;
  border-color: transparent;
}
.btn-ghost:hover { color: var(--gold); }

.btn-lg { min-height: 52px; padding: 0 30px; font-size: 15px; }
.btn-sm { min-height: 38px; padding: 0 17px; font-size: 13px; }
.btn-block { width: 100%; }

.link-btn {
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s;
}
.link-btn:hover { color: var(--gold); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: padding 0.3s var(--ease), background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding: 10px 0;
  background: rgba(5, 8, 14, 0.78);
  border-bottom-color: rgba(232, 196, 119, 0.12);
  backdrop-filter: blur(18px) saturate(130%);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand-mark { width: 40px; height: 40px; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
}
.brand-text em {
  margin-top: 4px;
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.34em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  position: relative;
  padding: 9px 14px;
  font-size: 13.5px;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: translateX(-50%);
  transition: width 0.25s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--gold-bright); }
.nav-link:hover::after, .nav-link.active::after { width: 60%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 150px 0 110px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 72% 12%, rgba(72, 112, 168, 0.22), transparent 60%),
    radial-gradient(ellipse 60% 50% at 18% 70%, rgba(120, 86, 36, 0.12), transparent 60%),
    linear-gradient(180deg, #070b14 0%, #0a1220 46%, #05070d 100%);
}

#starfield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.hero-moon {
  position: absolute;
  top: 10%;
  right: 12%;
  width: clamp(140px, 20vw, 280px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 34%, #fff8e4 0%, #f1dfb3 32%, #d9bd83 58%, #9c7a43 78%, #5c4527 100%);
  box-shadow:
    0 0 60px rgba(243, 223, 174, 0.4),
    0 0 140px rgba(232, 196, 119, 0.18),
    inset -18px -22px 46px rgba(20, 14, 6, 0.55);
  opacity: 0.92;
  filter: saturate(0.9);
}
.hero-moon::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 62% 40%, rgba(90, 68, 36, 0.28) 0 7%, transparent 8%),
    radial-gradient(circle at 44% 62%, rgba(90, 68, 36, 0.22) 0 10%, transparent 11%),
    radial-gradient(circle at 70% 68%, rgba(90, 68, 36, 0.18) 0 5%, transparent 6%);
  mix-blend-mode: multiply;
}

.hero-halo {
  position: absolute;
  top: 4%;
  right: 4%;
  width: 44vw;
  height: 44vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 196, 119, 0.16), transparent 68%);
  filter: blur(30px);
}

.hero-mountains {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 72%;
  pointer-events: none;
}

.hero-fog {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -8%;
  height: 42%;
  background:
    radial-gradient(ellipse at 30% 80%, rgba(120, 150, 190, 0.16), transparent 60%),
    radial-gradient(ellipse at 70% 90%, rgba(90, 120, 160, 0.14), transparent 60%),
    linear-gradient(180deg, transparent, rgba(5, 7, 13, 0.92) 78%);
  filter: blur(6px);
}

.cloud {
  position: absolute;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(190, 210, 235, 0.16), transparent 70%);
  filter: blur(18px);
  animation: cloudDrift 26s linear infinite;
}
.cloud-1 { width: 38%; top: 34%; left: -10%; animation-duration: 34s; }
.cloud-2 { width: 26%; top: 52%; left: 52%; animation-duration: 42s; animation-delay: -12s; opacity: 0.8; }
.cloud-3 { width: 30%; top: 22%; left: 68%; animation-duration: 48s; animation-delay: -22s; opacity: 0.65; }

@keyframes cloudDrift {
  0% { transform: translateX(-6%) translateY(0); }
  50% { transform: translateX(6%) translateY(-8px); }
  100% { transform: translateX(-6%) translateY(0); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  text-align: center;
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.36em;
  color: var(--gold);
  text-transform: uppercase;
}
.eyebrow span {
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow span:last-child { background: linear-gradient(90deg, var(--gold), transparent); }

.hero-title {
  margin-top: 22px;
  font-family: var(--font-serif);
  font-size: clamp(52px, 8vw, 104px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.06em;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
}
.gold {
  background: linear-gradient(112deg, #fff6d8 0%, #ffe9b3 22%, #e8c477 46%, #b8842f 68%, #f3dfa4 88%, #fff6d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(232, 196, 119, 0.22));
}

.hero-sub {
  margin-top: 20px;
  font-size: clamp(15px, 1.6vw, 18px);
  letter-spacing: 0.18em;
  color: #c9c6bc;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 54px;
  padding: 22px 10px;
  border-top: 1px solid rgba(232, 196, 119, 0.14);
  border-bottom: 1px solid rgba(232, 196, 119, 0.14);
  background: linear-gradient(90deg, transparent, rgba(232, 196, 119, 0.035), transparent);
}
.stat {
  min-width: 130px;
  padding: 0 26px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.stat:last-child { border-right: 0; }
.stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 0.04em;
}
.stat span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted-2);
}

.server-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 9px 18px;
  border: 1px solid rgba(232, 196, 119, 0.18);
  border-radius: 999px;
  background: rgba(8, 12, 20, 0.55);
  backdrop-filter: blur(8px);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.server-pill i { width: 1px; height: 12px; background: rgba(255, 255, 255, 0.14); }
.server-state { color: var(--success); }
.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(101, 224, 176, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(101, 224, 176, 0.48); }
  70% { box-shadow: 0 0 0 9px rgba(101, 224, 176, 0); }
  100% { box-shadow: 0 0 0 0 rgba(101, 224, 176, 0); }
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 2;
  width: 24px;
  height: 40px;
  border: 1px solid rgba(232, 196, 119, 0.28);
  border-radius: 999px;
  transform: translateX(-50%);
}
.hero-scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 8px;
  border-radius: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { opacity: 0.2; transform: translate(-50%, 0); }
  50% { opacity: 1; transform: translate(-50%, 14px); }
}

/* ---------- 区块通用 ---------- */
.section {
  position: relative;
  z-index: 2;
  padding: 112px 0;
}
.section-dark {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(40, 66, 102, 0.12), transparent 65%),
    linear-gradient(180deg, rgba(9, 14, 24, 0.72), rgba(5, 7, 13, 0.94));
  border-top: 1px solid rgba(232, 196, 119, 0.06);
  border-bottom: 1px solid rgba(232, 196, 119, 0.06);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 58px;
  text-align: center;
}
.section-kicker {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.38em;
  color: var(--gold);
  text-transform: uppercase;
}
.section-head h2,
.auth-intro h2 {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.25;
  color: #f5f1e8;
}
.section-head p {
  margin-top: 16px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.9;
}

/* ---------- 特色卡片 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  position: relative;
  padding: 32px 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(22, 31, 49, 0.72), rgba(7, 11, 19, 0.86));
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 196, 119, 0.32);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.36);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(232, 196, 119, 0.24);
  border-radius: 16px;
  background: radial-gradient(circle at 30% 20%, rgba(232, 196, 119, 0.16), rgba(232, 196, 119, 0.03));
  color: var(--gold);
}
.feature-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 {
  margin-top: 22px;
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 0.08em;
  color: #f2eee4;
}
.feature-card p {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--muted);
}
.feature-index {
  position: absolute;
  top: 22px;
  right: 22px;
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(232, 196, 119, 0.16);
  opacity: 0.65;
}

/* ---------- 职业 ---------- */
.class-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.class-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(18, 26, 42, 0.78), rgba(6, 10, 17, 0.9));
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}
.class-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  background: linear-gradient(150deg, rgba(24, 34, 54, 0.86), rgba(7, 11, 19, 0.92));
}
.class-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  background: radial-gradient(circle at 32% 24%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%);
  color: var(--accent);
  box-shadow: inset 0 0 18px color-mix(in srgb, var(--accent) 10%, transparent);
}
.class-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.class-info { position: relative; z-index: 1; }
.class-info h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  letter-spacing: 0.14em;
  color: #f4f0e6;
}
.class-info span {
  display: inline-block;
  margin-top: 3px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--accent);
  opacity: 0.86;
}
.class-info p {
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.class-char {
  position: absolute;
  right: 6px;
  bottom: -22px;
  font-family: var(--font-serif);
  font-size: 92px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--accent) 20%, transparent);
  opacity: 0.6;
  pointer-events: none;
}

/* ---------- 新闻 ---------- */
.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: start;
}
.news-list {
  border-top: 1px solid rgba(232, 196, 119, 0.14);
}
.news-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 22px 16px 22px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  transition: background 0.3s, padding-left 0.3s;
}
.news-item:hover {
  background: linear-gradient(90deg, rgba(232, 196, 119, 0.05), transparent);
  padding-left: 14px;
}
.news-date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  border-left: 2px solid rgba(232, 196, 119, 0.32);
  padding-left: 14px;
}
.news-date b {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.news-date em {
  margin-top: 4px;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}
.news-body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.news-body strong {
  font-size: 15.5px;
  font-weight: 600;
  color: #eae6dc;
  transition: color 0.25s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-item:hover .news-body strong { color: var(--gold-bright); }
.news-body span {
  font-size: 12.5px;
  color: var(--muted-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-tag {
  padding: 4px 10px;
  border: 1px solid rgba(232, 196, 119, 0.18);
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.news-tag.hot {
  color: #1a1306;
  background: linear-gradient(135deg, #f7e3b0, #c99a4a);
  border-color: transparent;
}

.server-card {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at 80% 0%, rgba(232, 196, 119, 0.12), transparent 55%),
    linear-gradient(160deg, rgba(20, 29, 47, 0.9), rgba(7, 11, 19, 0.94));
  box-shadow: var(--shadow);
}
.server-card-top {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
}
.server-card-top strong { margin-left: auto; color: var(--success); font-size: 12px; letter-spacing: 0.08em; }
.server-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px rgba(101, 224, 176, 0.7);
}
.server-name {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-size: 30px;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
}
.server-meta {
  display: flex;
  gap: 10px;
  margin: 20px 0 24px;
}
.server-meta > div {
  flex: 1;
  padding: 10px 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
}
.server-meta span { display: block; font-size: 10px; letter-spacing: 0.12em; color: var(--muted-2); }
.server-meta b { display: block; margin-top: 4px; font-size: 13px; color: #e9e5da; font-weight: 600; }
.server-note {
  margin-top: 14px;
  text-align: center;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}

/* ---------- 注册区 ---------- */
.section-auth {
  background:
    radial-gradient(ellipse 60% 50% at 78% 40%, rgba(232, 196, 119, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 40% at 12% 70%, rgba(52, 88, 132, 0.12), transparent 60%);
  border-top: 1px solid rgba(232, 196, 119, 0.08);
}
.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 56px;
  align-items: center;
}
.auth-intro .section-kicker { margin-bottom: 0; }
.auth-intro > p {
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--muted);
  max-width: 420px;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 34px;
}
.steps li {
  position: relative;
  display: flex;
  gap: 18px;
  padding: 14px 0;
}
.steps li::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 48px;
  bottom: -8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(232, 196, 119, 0.28), transparent);
}
.steps li:last-child::before { display: none; }
.steps li > span {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 39px;
  height: 39px;
  border: 1px solid rgba(232, 196, 119, 0.24);
  border-radius: 50%;
  background: rgba(232, 196, 119, 0.04);
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--gold);
}
.steps li > div { display: flex; flex-direction: column; gap: 2px; }
.steps strong { font-size: 14.5px; font-weight: 600; color: #eae6dc; }
.steps em { font-style: normal; font-size: 12px; color: var(--muted-2); }
.auth-tip {
  display: flex;
  gap: 10px;
  margin-top: 32px;
  padding: 14px 16px;
  border: 1px solid rgba(79, 224, 194, 0.16);
  border-radius: 12px;
  background: rgba(79, 224, 194, 0.04);
  font-size: 11.5px;
  line-height: 1.75;
  color: #9fb8b1;
}
.auth-tip svg {
  flex-shrink: 0;
  width: 16px; height: 16px;
  margin-top: 2px;
  fill: none; stroke: var(--jade); stroke-width: 1.6; stroke-linecap: round;
}

.auth-card {
  position: relative;
  padding: 34px 38px 36px;
  border: 1px solid rgba(232, 196, 119, 0.2);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(165deg, rgba(19, 28, 45, 0.94), rgba(7, 11, 19, 0.97));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.auth-card-glow {
  position: absolute;
  top: -40%;
  left: -10%;
  width: 60%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 196, 119, 0.12), transparent 65%);
  pointer-events: none;
}
.auth-card::before,
.auth-card::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(232, 196, 119, 0.42);
  pointer-events: none;
}
.auth-card::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.auth-card::after { bottom: 12px; right: 12px; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }

.auth-tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.auth-tab {
  position: relative;
  padding: 0 0 14px;
  border: 0;
  background: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  transition: color 0.25s;
}
.auth-tab:hover { color: var(--muted); }
.auth-tab.active { color: var(--gold-bright); }
.auth-tab-indicator {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: translateX(calc(var(--tab-index, 0) * 100%));
  transition: transform 0.35s var(--ease);
}

.auth-panel { display: none; }
.auth-panel.active { display: block; animation: panelIn 0.45s var(--ease); }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.form-row { margin-bottom: 15px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-row label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 7px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #b9b5ab;
}
.form-row label i {
  font-style: normal;
  color: var(--danger);
  font-size: 10px;
}
.form-row label em {
  font-style: normal;
  font-size: 10px;
  color: var(--muted-2);
}
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-wrap > svg {
  position: absolute;
  left: 14px;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--muted-2);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  transition: stroke 0.25s;
}
.input-wrap input {
  width: 100%;
  height: 48px;
  padding: 0 44px 0 42px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  color: #f2eee4;
  font-size: 14px;
  letter-spacing: 0.04em;
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.input-wrap input::placeholder { color: #5f6878; letter-spacing: 0.02em; }
.input-wrap input:focus {
  border-color: rgba(232, 196, 119, 0.55);
  background: rgba(232, 196, 119, 0.035);
  box-shadow: 0 0 0 3px rgba(232, 196, 119, 0.08);
}
.input-wrap:focus-within > svg { stroke: var(--gold); }
.input-wrap.invalid input {
  border-color: rgba(255, 123, 138, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 123, 138, 0.08);
}
.input-wrap.invalid > svg { stroke: var(--danger); }

.eye-btn {
  position: absolute;
  right: 8px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--muted-2);
  transition: color 0.2s, background 0.2s;
}
.eye-btn:hover { color: var(--gold); background: rgba(232, 196, 119, 0.06); }
.eye-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.field-msg {
  min-height: 0;
  margin-top: 5px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--danger);
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 0.2s, transform 0.2s;
}
.field-msg.show { opacity: 1; transform: none; }
.field-msg.ok { color: var(--success); }

.strength {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-top: 8px;
  opacity: 0;
  transition: opacity 0.25s;
}
.strength.show { opacity: 1; }
.strength span {
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.25s;
}
.strength[data-score="1"] span:nth-child(1) { background: #ff7b8a; }
.strength[data-score="2"] span:nth-child(-n+2) { background: #f0b45a; }
.strength[data-score="3"] span:nth-child(-n+3) { background: #d8c45e; }
.strength[data-score="4"] span { background: var(--success); }

.strength-text {
  min-height: 15px;
  margin-top: 5px;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  transition: color 0.25s;
}
.strength-text:empty { display: none; }

/* 安全验证 */
.captcha-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.captcha-question {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 104px;
  height: 48px;
  padding: 0 14px;
  border: 1px dashed rgba(232, 196, 119, 0.32);
  border-radius: 11px;
  background: rgba(232, 196, 119, 0.05);
  color: var(--gold-bright);
  font-family: var(--font-serif);
  font-size: 17px;
  letter-spacing: 0.14em;
  user-select: none;
}
.captcha-line input {
  flex: 1;
  min-width: 120px;
  height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.085);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  color: #f2eee4;
  font-size: 14px;
  letter-spacing: 0.12em;
  outline: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.captcha-line input::placeholder { color: #5f6878; letter-spacing: 0.02em; }
.captcha-line input:focus {
  border-color: rgba(232, 196, 119, 0.55);
  background: rgba(232, 196, 119, 0.035);
  box-shadow: 0 0 0 3px rgba(232, 196, 119, 0.08);
}
.captcha-line input.invalid {
  border-color: rgba(255, 123, 138, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 123, 138, 0.08);
}
.captcha-refresh {
  flex: 0 0 auto;
  height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(232, 196, 119, 0.22);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.captcha-refresh:hover {
  color: var(--gold-bright);
  border-color: rgba(232, 196, 119, 0.45);
  background: rgba(232, 196, 119, 0.06);
}
.captcha-refresh:disabled { opacity: 0.5; cursor: wait; }

/* 蜜罐字段：正常用户不可见 */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}
.check-row input { position: absolute; opacity: 0; pointer-events: none; }
.check-box {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  border: 1px solid rgba(232, 196, 119, 0.35);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.2s, border-color 0.2s;
}
.check-box svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: #1a1306;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.2s, transform 0.2s;
}
.check-row input:checked + .check-box {
  background: linear-gradient(135deg, #f7e3b0, #c99a4a);
  border-color: transparent;
}
.check-row input:checked + .check-box svg { opacity: 1; transform: scale(1); }
.check-row input:focus-visible + .check-box { outline: 2px solid var(--gold); outline-offset: 2px; }
.check-row a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

.btn-submit {
  margin-top: 20px;
  min-height: 50px;
  position: relative;
}
.btn-submit .spinner { display: none; }
.btn-submit.loading { pointer-events: none; opacity: 0.9; }
.btn-submit.loading > span:first-child,
.btn-submit.loading .btn-arrow { opacity: 0; }
.btn-submit.loading .spinner {
  display: block;
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(26, 19, 6, 0.25);
  border-top-color: #1a1306;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-foot {
  margin-top: 14px;
  text-align: center;
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
}

.auth-success { text-align: center; padding: 10px 0 4px; }
.success-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, rgba(101, 224, 176, 0.26), rgba(101, 224, 176, 0.06));
  border: 1px solid rgba(101, 224, 176, 0.36);
  color: var(--success);
  box-shadow: 0 0 30px rgba(101, 224, 176, 0.14);
}
.success-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.auth-success h3 {
  font-family: var(--font-serif);
  font-size: 25px;
  letter-spacing: 0.1em;
  color: #f2eee4;
}
.auth-success > p { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.result-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 24px 0 22px;
  padding: 16px;
  border: 1px solid rgba(232, 196, 119, 0.16);
  border-radius: 13px;
  background: rgba(232, 196, 119, 0.03);
  text-align: left;
}
.result-box > div { display: flex; flex-direction: column; gap: 4px; }
.result-box span { font-size: 10.5px; letter-spacing: 0.12em; color: var(--muted-2); }
.result-box strong { font-size: 14px; color: var(--gold-bright); font-weight: 600; letter-spacing: 0.06em; word-break: break-all; }
.success-actions { display: flex; gap: 10px; }
.success-actions .btn { flex: 1; }

.local-accounts {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 11px;
  color: var(--muted-2);
}
.local-account-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.local-account-chip {
  padding: 4px 10px;
  border: 1px solid rgba(232, 196, 119, 0.2);
  border-radius: 999px;
  background: rgba(232, 196, 119, 0.04);
  color: var(--gold);
  font-size: 11px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.local-account-chip:hover { background: rgba(232, 196, 119, 0.1); border-color: var(--gold); }
.local-empty { font-size: 11px; color: var(--muted-2); }

/* ---------- 下载 ---------- */
.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr);
  gap: 22px;
  align-items: start;
}
.download-side { display: flex; flex-direction: column; gap: 18px; }
.download-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(20, 29, 46, 0.8), rgba(7, 11, 19, 0.93));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}
.download-card.main {
  background:
    radial-gradient(ellipse at 90% 0%, rgba(232, 196, 119, 0.13), transparent 55%),
    linear-gradient(160deg, rgba(22, 32, 51, 0.9), rgba(7, 11, 19, 0.95));
  border-color: rgba(232, 196, 119, 0.24);
}
.download-head { display: flex; gap: 14px; align-items: flex-start; }
.download-badge {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f7e3b0, #c99a4a);
  color: #1a1306;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.download-badge.alt {
  background: rgba(79, 224, 194, 0.12);
  color: var(--jade);
  border: 1px solid rgba(79, 224, 194, 0.28);
}
.download-head h3 {
  font-family: var(--font-serif);
  font-size: 23px;
  letter-spacing: 0.08em;
  color: #f2eee4;
}
.download-head p { margin-top: 5px; font-size: 12.5px; color: var(--muted-2); line-height: 1.8; }
.download-meta {
  display: flex;
  gap: 26px;
  margin: 24px 0;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}
.download-meta > div { display: flex; flex-direction: column; gap: 3px; }
.download-meta span { font-size: 10px; letter-spacing: 0.14em; color: var(--muted-2); }
.download-meta strong { font-size: 14px; color: #e9e5da; font-weight: 600; }
.download-actions { display: flex; gap: 10px; }
.download-actions .btn { flex: 1; }
.download-md5 {
  margin-top: 16px;
  font-size: 10.5px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
  word-break: break-all;
}
.download-md5 code { color: #9fb8b1; }
.download-card.mini { padding: 20px 24px; }
.mini-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  font-size: 12px;
}
.mini-row:last-child { border-bottom: 0; }
.mini-row span { color: var(--muted-2); }
.mini-row strong { color: #dcd8cd; font-weight: 600; }
.download-card .btn-block { margin-top: 4px; }

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  z-index: 2;
  padding: 64px 0 28px;
  border-top: 1px solid rgba(232, 196, 119, 0.1);
  background: #04060b;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 0.7fr);
  gap: 42px;
}
.footer-brand p { margin-top: 18px; font-size: 12.5px; line-height: 1.9; color: var(--muted-2); }
.footer-links h4 {
  margin-bottom: 15px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.footer-links a {
  display: block;
  margin-bottom: 9px;
  font-size: 12.5px;
  color: var(--muted-2);
  transition: color 0.2s, transform 0.2s;
}
.footer-links a:hover { color: var(--gold-bright); transform: translateX(3px); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 10.5px;
  color: #4f5868;
  line-height: 1.8;
}
.copyright { white-space: nowrap; }

/* ---------- Toast ---------- */
.toast-stack {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 340px;
  padding: 13px 16px;
  border: 1px solid rgba(232, 196, 119, 0.24);
  border-radius: 12px;
  background: rgba(12, 18, 30, 0.96);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.42);
  font-size: 12.5px;
  line-height: 1.65;
  color: #e8e4da;
  backdrop-filter: blur(12px);
  transform: translateY(12px);
  opacity: 0;
  animation: toastIn 0.35s var(--ease) forwards;
}
.toast.out { animation: toastOut 0.3s var(--ease) forwards; }
.toast::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(232, 196, 119, 0.5);
}
.toast.success::before { background: var(--success); box-shadow: 0 0 10px rgba(101, 224, 176, 0.5); }
.toast.error::before { background: var(--danger); box-shadow: 0 0 10px rgba(255, 123, 138, 0.5); }
@keyframes toastIn { to { transform: none; opacity: 1; } }
@keyframes toastOut { to { transform: translateY(8px); opacity: 0; } }

/* ---------- 弹窗 ---------- */
.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(2, 4, 8, 0.74); backdrop-filter: blur(8px); }
.modal-card {
  position: relative;
  width: min(560px, 100%);
  max-height: 80vh;
  overflow: auto;
  padding: 30px 30px 26px;
  border: 1px solid rgba(232, 196, 119, 0.26);
  border-radius: 20px;
  background: linear-gradient(165deg, #121a2a, #070b13);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
  animation: modalIn 0.3s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal-card h3 { font-family: var(--font-serif); font-size: 23px; letter-spacing: 0.08em; color: var(--gold-bright); }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
}
.modal-close:hover { color: var(--gold); }
.modal-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.modal-body { margin: 18px 0 22px; font-size: 12.5px; line-height: 1.95; color: var(--muted); }
.modal-body p { margin-bottom: 10px; }
.modal-body strong { color: #dcd8cd; }

/* ---------- 滚动出现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .nav-link { padding: 9px 10px; font-size: 13px; }
  .header-actions .btn-ghost { display: none; }
  .auth-shell { gap: 36px; }
}

@media (max-width: 960px) {
  .nav {
    position: fixed;
    top: 70px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px;
    border: 1px solid rgba(232, 196, 119, 0.18);
    border-radius: 16px;
    background: rgba(7, 11, 19, 0.97);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(18px);
  }
  .nav.open { display: flex; animation: panelIn 0.3s var(--ease); }
  .nav-link { padding: 12px 14px; border-radius: 9px; }
  .nav-link:hover { background: rgba(232, 196, 119, 0.06); }
  .nav-link::after { display: none; }
  .nav-toggle { display: flex; }
  .header-actions { margin-left: 0; }
  .header-actions .btn-gold { display: none; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .class-grid { grid-template-columns: repeat(2, 1fr); }
  .news-layout { grid-template-columns: 1fr; }
  .auth-shell { grid-template-columns: 1fr; gap: 34px; }
  .auth-intro { text-align: center; }
  .auth-intro > p { margin-inline: auto; }
  .steps { max-width: 360px; margin-inline: auto; text-align: left; }
  .auth-tip { max-width: 460px; margin-inline: auto; text-align: left; }
  .download-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 680px) {
  .container { width: calc(100% - 32px); }
  .hero { padding: 130px 0 90px; }
  .hero-moon { right: 4%; top: 8%; opacity: 0.8; }
  .hero-title { font-size: clamp(44px, 13vw, 64px); }
  .hero-sub { font-size: 13.5px; letter-spacing: 0.1em; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { flex-wrap: wrap; gap: 14px 0; }
  .stat { width: 50%; min-width: 0; padding: 10px 8px; border-right: 0; }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, 0.08); }
  .stat strong { font-size: 23px; }
  .server-pill { font-size: 10.5px; padding: 8px 13px; flex-wrap: wrap; justify-content: center; }
  .section { padding: 78px 0; }
  .section-head { margin-bottom: 40px; }
  .feature-grid, .class-grid { grid-template-columns: 1fr; }
  .class-card { padding: 22px 20px; }
  .news-item { grid-template-columns: 70px minmax(0, 1fr); gap: 14px; padding-right: 4px; }
  .news-tag { display: none; }
  .news-body strong { white-space: normal; }
  .news-body span { white-space: normal; }
  .auth-card { padding: 26px 20px 28px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .result-box { grid-template-columns: 1fr; }
  .success-actions { flex-direction: column; }
  .download-card { padding: 24px 20px; }
  .download-meta { flex-wrap: wrap; gap: 16px 22px; }
  .download-actions { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .toast-stack { left: 16px; right: 16px; bottom: 16px; }
  .toast { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
