/* ============================================================
   圣战 · 传奇主题官网 全站样式
   主题：暗黑魔幻中国风 · 玄黑 / 鎏金 / 战火暗红
   ============================================================ */

/* ---------- 设计令牌 ---------- */
:root {
  --bg-deep: #07070f;
  --bg-dark: #0b0c16;
  --bg-panel: rgba(16, 17, 30, 0.82);
  --bg-panel-solid: #12131f;
  --gold: #c8a24a;
  --gold-bright: #efd388;
  --gold-deep: #8a6b2f;
  --gold-line: rgba(200, 162, 74, 0.35);
  --gold-line-strong: rgba(200, 162, 74, 0.65);
  --crimson: #9c2536;
  --crimson-deep: #5e1019;
  --crimson-bright: #d13a4c;
  --text: #eae2cc;
  --text-soft: #b9ad92;
  --muted: #83795f;
  --green-live: #46c06b;
  --radius: 10px;
  --font-title: "STKaiti", "KaiTi", "STSong", "SimSun", "Songti SC", serif;
  --font-serif: "SimSun", "STSong", "Songti SC", serif;
  --font-body: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Segoe UI", sans-serif;
  --shadow-panel: 0 12px 40px rgba(0, 0, 0, 0.55);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 全局背景纹理 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(156, 37, 54, 0.16), transparent 60%),
    radial-gradient(900px 520px at 8% 12%, rgba(200, 162, 74, 0.07), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, 0.008) 3px 4px);
}

a { color: var(--gold-bright); text-decoration: none; transition: color 0.25s; }
a:hover { color: #fff; }

img { max-width: 100%; display: block; }

::selection { background: rgba(200, 162, 74, 0.35); color: #fff; }

h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 700; line-height: 1.3; }

button { font-family: inherit; cursor: pointer; }

.container {
  position: relative;
  z-index: 1;
  width: min(1240px, 100% - 48px);
  margin-inline: auto;
}

/* ---------- 公用工具 ---------- */
.muted { color: var(--muted); }
.gold { color: var(--gold-bright); }
.crimson { color: var(--crimson-bright); }

.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
  margin: 18px 0;
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line-strong), transparent);
}
.divider .dia { font-size: 12px; transform: rotate(45deg) scale(0.9); }

/* 区块标题 */
.sec-head { text-align: center; margin-bottom: 42px; }
.sec-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 6px;
  color: var(--gold);
  text-transform: uppercase;
}
.sec-head .eyebrow::before, .sec-head .eyebrow::after {
  content: "";
  width: 34px; height: 1px;
  background: var(--gold-line-strong);
}
.sec-head h2 {
  font-size: clamp(30px, 4.6vw, 46px);
  margin-top: 8px;
  background: linear-gradient(180deg, #f6e6ac 0%, var(--gold) 45%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 14px rgba(200, 162, 74, 0.25));
}
.sec-head p { color: var(--text-soft); max-width: 62ch; margin: 12px auto 0; }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 30px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-title);
  letter-spacing: 2px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all 0.28s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.btn svg { width: 16px; height: 16px; }
.btn-gold {
  background: linear-gradient(180deg, #f0d98f 0%, var(--gold) 55%, var(--gold-deep) 100%);
  color: #241703;
  border-color: rgba(255, 235, 180, 0.7);
  box-shadow: 0 6px 22px rgba(200, 162, 74, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-gold:hover {
  color: #141003;
  transform: translateY(-2px);
  box-shadow: 0 10px 34px rgba(200, 162, 74, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn-ghost {
  background: rgba(200, 162, 74, 0.06);
  color: var(--gold-bright);
  border-color: var(--gold-line-strong);
}
.btn-ghost:hover {
  background: rgba(200, 162, 74, 0.14);
  color: #fff;
  border-color: var(--gold);
  transform: translateY(-2px);
}
.btn-blood {
  background: linear-gradient(180deg, #b9303f 0%, var(--crimson) 60%, var(--crimson-deep) 100%);
  color: #fff0ea;
  border-color: rgba(255, 170, 160, 0.45);
  box-shadow: 0 6px 22px rgba(156, 37, 54, 0.4);
}
.btn-blood:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 34px rgba(156, 37, 54, 0.55);
}

/* 徽章 / 印章 */
.stamp {
  display: inline-block;
  padding: 3px 12px;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gold-bright);
  border: 1px solid var(--gold-line-strong);
  border-radius: 999px;
  background: rgba(200, 162, 74, 0.08);
  white-space: nowrap;
}
.stamp.red {
  color: #ff9d8f;
  border-color: rgba(209, 58, 76, 0.6);
  background: rgba(156, 37, 54, 0.14);
}
.stamp.green {
  color: #8fe3ab;
  border-color: rgba(70, 192, 107, 0.55);
  background: rgba(70, 192, 107, 0.1);
}
/* 开服状态徽章 · 测试开放（青蓝科技感） */
.stamp.sz-test {
  color: #7fd8ff;
  border-color: rgba(63, 158, 220, 0.75);
  background: linear-gradient(135deg, rgba(30, 96, 150, 0.28), rgba(30, 60, 120, 0.12));
  box-shadow: 0 0 10px rgba(63, 158, 220, 0.35), inset 0 0 6px rgba(127, 216, 255, 0.25);
  text-shadow: 0 0 6px rgba(127, 216, 255, 0.6);
}
/* 开服状态徽章 · 刚开一秒（烈焰红 + 呼吸光晕） */
.stamp.sz-just {
  color: #ffc9a8;
  border-color: rgba(255, 122, 56, 0.85);
  background: linear-gradient(135deg, rgba(190, 48, 20, 0.42), rgba(120, 22, 8, 0.2));
  box-shadow: 0 0 12px rgba(255, 122, 56, 0.5), inset 0 0 8px rgba(255, 160, 80, 0.3);
  text-shadow: 0 0 8px rgba(255, 150, 60, 0.8);
  animation: szPulse 1.6s ease-in-out infinite;
}
@keyframes szPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(255, 122, 56, 0.35), inset 0 0 6px rgba(255, 160, 80, 0.2); }
  50% { box-shadow: 0 0 18px rgba(255, 122, 56, 0.75), inset 0 0 10px rgba(255, 180, 100, 0.4); }
}
/* 开服状态徽章 · 正常开放（鎏金） */
.stamp.sz-open {
  color: #ffd977;
  border-color: rgba(212, 175, 55, 0.7);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(140, 100, 20, 0.1));
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
  text-shadow: 0 0 6px rgba(255, 217, 119, 0.5);
}

/* ---------- 顶部导航 ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(7, 7, 15, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.35s var(--ease-out);
}
.site-nav.scrolled {
  background: rgba(7, 7, 15, 0.92);
  border-bottom-color: var(--gold-line);
  box-shadow: 0 6px 26px rgba(0, 0, 0, 0.5);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand .brand-mark {
  width: 40px; height: 40px;
  border: 1px solid var(--gold-line-strong);
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(200, 162, 74, 0.22), rgba(94, 16, 25, 0.5));
  display: grid;
  place-items: center;
  box-shadow: 0 0 18px rgba(200, 162, 74, 0.25);
}
.brand .brand-mark svg { width: 24px; height: 24px; color: var(--gold-bright); }
.brand .brand-name {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 6px;
  background: linear-gradient(180deg, #f8e9b4 0%, var(--gold) 50%, #9a6f22 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.brand .brand-sub {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--muted);
  margin-top: 3px;
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  position: relative;
  padding: 9px 16px;
  font-size: 15px;
  color: var(--text-soft);
  letter-spacing: 1px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 2px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: translateX(-50%);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { width: 70%; }

.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 14px;
  padding: 6px 14px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-soft);
  white-space: nowrap;
}
.nav-status .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green-live);
  box-shadow: 0 0 10px var(--green-live);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 4px var(--green-live); opacity: 0.85; }
  50% { box-shadow: 0 0 14px var(--green-live); opacity: 1; }
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px; height: 42px;
  border: 1px solid var(--gold-line);
  border-radius: 8px;
  background: transparent;
  color: var(--gold-bright);
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- 页头 banner（内页共用） ---------- */
.page-hero {
  position: relative;
  min-height: 300px;
  padding: 150px 0 70px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-hero .ph-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  z-index: -2;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 7, 15, 0.55) 0%, rgba(7, 7, 15, 0.82) 70%, var(--bg-deep) 100%),
    radial-gradient(700px 300px at 20% 20%, rgba(200, 162, 74, 0.12), transparent 70%);
}
.page-hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  background: linear-gradient(180deg, #f8e9b4 0%, var(--gold) 50%, #9a6f22 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 16px rgba(200, 162, 74, 0.3));
  letter-spacing: 4px;
}
.page-hero .crumb { font-size: 13px; letter-spacing: 2px; color: var(--text-soft); margin-bottom: 12px; }
.page-hero .crumb span { color: var(--gold); }

/* ---------- 区块 ---------- */
.section { padding: 84px 0; position: relative; }
.section.dim { background: var(--bg-dark); border-block: 1px solid var(--gold-line); }
.section.dim::before, .section.dim::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line-strong), transparent);
}
.section.dim::before { top: -1px; }
.section.dim::after { bottom: -1px; }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 0 90px;
}
.hero .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 22%;
  z-index: -2;
  animation: heroZoom 24s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 7, 15, 0.5) 0%, rgba(7, 7, 15, 0.35) 40%, rgba(7, 7, 15, 0.88) 88%, var(--bg-deep) 100%),
    radial-gradient(1000px 480px at 50% 30%, rgba(200, 162, 74, 0.14), transparent 70%);
}
.hero canvas.fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero .hero-content { position: relative; z-index: 2; width: min(980px, 100% - 40px); }

.hero .kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  letter-spacing: 8px;
  color: var(--gold-bright);
  opacity: 0;
  animation: riseIn 0.9s 0.2s var(--ease-out) forwards;
}
.hero .kicker::before, .hero .kicker::after {
  content: "";
  width: 40px; height: 1px;
  background: var(--gold-line-strong);
}
.hero h1 {
  font-size: clamp(64px, 13vw, 148px);
  letter-spacing: 18px;
  line-height: 1.05;
  margin: 6px 0 10px;
  background: linear-gradient(180deg, #fff3c4 0%, var(--gold) 38%, #b8862c 72%, #7c5a1e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 30px rgba(200, 162, 74, 0.4));
  opacity: 0;
  animation: riseIn 1.1s 0.4s var(--ease-out) forwards;
  text-indent: 18px;
}
.hero .sub {
  font-family: var(--font-title);
  font-size: clamp(18px, 2.6vw, 26px);
  letter-spacing: 10px;
  color: var(--text);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
  opacity: 0;
  animation: riseIn 1.1s 0.6s var(--ease-out) forwards;
}
.hero .sub em {
  font-style: normal;
  color: var(--crimson-bright);
  text-shadow: 0 0 20px rgba(209, 58, 76, 0.6);
}
.hero .hero-tags {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  animation: riseIn 1.1s 0.75s var(--ease-out) forwards;
}
.hero .hero-cta {
  margin-top: 38px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  opacity: 0;
  animation: riseIn 1.1s 0.9s var(--ease-out) forwards;
}
.hero .hero-cta .btn { padding: 16px 42px; font-size: 17px; }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 开服倒计时条 */
.countdown-bar {
  position: relative;
  z-index: 3;
  margin-top: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  opacity: 0;
  animation: riseIn 1.1s 1.05s var(--ease-out) forwards;
}
.countdown-bar .cd-label {
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--text-soft);
  margin-right: 8px;
}
.cd-unit {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 9px 16px;
  background: rgba(7, 7, 15, 0.6);
  border: 1px solid var(--gold-line);
  border-radius: 8px;
  min-width: 88px;
  justify-content: center;
}
.cd-unit b {
  font-size: 26px;
  font-family: var(--font-title);
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}
.cd-unit span { font-size: 12px; color: var(--muted); letter-spacing: 1px; }

/* 滚动提示 */
.hero .scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 3px;
  opacity: 0;
  animation: riseIn 1s 1.6s var(--ease-out) forwards;
}
.scroll-hint .line {
  width: 1px; height: 34px;
  background: linear-gradient(180deg, transparent, var(--gold));
  animation: drop 1.8s infinite;
}
@keyframes drop {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* 公告条 */
.notice-bar {
  background: var(--bg-panel);
  border-block: 1px solid var(--gold-line);
}
.notice-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}
.notice-inner .nt-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-family: var(--font-title);
  letter-spacing: 2px;
  color: var(--gold-bright);
}
.notice-inner .nt-title svg { width: 18px; height: 18px; }
.notice-inner .nt-items {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 26px;
}
.notice-inner .nt-item {
  display: block;
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  color: var(--text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.5s var(--ease-out);
}
.notice-inner .nt-item.show { opacity: 1; transform: translateY(0); }
.notice-inner .nt-more { flex-shrink: 0; font-size: 13px; color: var(--gold); letter-spacing: 1px; }

/* ---------- 卡片通用 ---------- */
.grid { display: grid; gap: 24px; }

.card {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-line-strong);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.55), 0 0 24px rgba(200, 162, 74, 0.12);
}
.card:hover::before { opacity: 1; }

/* 职业卡 */
.class-card { padding: 34px 28px; text-align: center; }
.class-card .cc-icon {
  width: 74px; height: 74px;
  margin: 0 auto 18px;
  border: 1px solid var(--gold-line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 30%, rgba(200, 162, 74, 0.18), rgba(7, 7, 15, 0.6));
  box-shadow: 0 0 26px rgba(200, 162, 74, 0.2);
}
.class-card .cc-icon svg { width: 38px; height: 38px; color: var(--gold-bright); }
.class-card h3 { font-size: 24px; letter-spacing: 4px; color: var(--gold-bright); }
.class-card .cc-desc { margin: 12px 0 16px; color: var(--text-soft); font-size: 14px; }
.class-card .cc-tags { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }

/* 特色玩法 */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-grid.cols4 { grid-template-columns: repeat(4, 1fr); }
.feature {
  padding: 30px 26px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(200, 162, 74, 0.07), rgba(7, 7, 15, 0.55) 60%);
  position: relative;
  transition: all 0.3s var(--ease-out);
}
.feature:hover { border-color: var(--gold-line-strong); transform: translateY(-4px); }
.feature .f-num {
  font-family: var(--font-title);
  font-size: 40px;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-line-strong);
  position: absolute;
  top: 18px; right: 20px;
  line-height: 1;
  opacity: 0.7;
}
.feature .f-icon { width: 44px; height: 44px; margin-bottom: 14px; color: var(--gold-bright); }
.feature .f-icon svg { width: 100%; height: 100%; }
.feature h3 { font-size: 19px; letter-spacing: 2px; margin-bottom: 8px; color: #f3e7bd; }
.feature p { font-size: 13.5px; color: var(--text-soft); }

/* 服务器状态 */
.server-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 34px;
}
.stat {
  text-align: center;
  padding: 30px 16px;
  background: var(--bg-panel);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  position: relative;
}
.stat::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  width: 46px; height: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  border-radius: 2px;
}
.stat b {
  display: block;
  font-family: var(--font-title);
  font-size: 40px;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}
.stat b.suffix::after { content: attr(data-suffix); font-size: 18px; margin-left: 4px; color: var(--gold); }
.stat span { font-size: 13px; color: var(--muted); letter-spacing: 2px; }

/* 开服时间表 */
.open-list { margin-top: 20px; display: grid; gap: 14px; }
.open-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: var(--bg-panel);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  transition: border-color 0.3s;
}
.open-item:hover { border-color: var(--gold-line-strong); }
.open-item .oi-date {
  flex-shrink: 0;
  font-family: var(--font-title);
  font-size: 19px;
  color: var(--gold-bright);
  letter-spacing: 1px;
  min-width: 130px;
}
.open-item .oi-date small { display: block; font-size: 11px; color: var(--muted); letter-spacing: 0; font-family: var(--font-body); }
.open-item .oi-info { flex: 1; min-width: 0; }
.open-item .oi-info h4 { font-size: 16px; letter-spacing: 1px; color: #f0e6c8; }
.open-item .oi-info p { font-size: 13px; color: var(--text-soft); }
.open-item .oi-actions { flex-shrink: 0; }

/* 版本卡 */
.version-card { display: flex; flex-direction: column; }
.version-card .vc-top {
  height: 150px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.version-card .vc-top::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 7, 15, 0.1), rgba(7, 7, 15, 0.92));
}
.version-card .vc-top .vc-status {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
}
.version-card .vc-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.version-card .vc-body h3 { font-size: 21px; letter-spacing: 3px; color: var(--gold-bright); }
.version-card .vc-body .vc-desc { font-size: 13.5px; color: var(--text-soft); margin: 10px 0 14px; flex: 1; }
.version-card .vc-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.version-card .vc-foot { display: flex; align-items: center; justify-content: space-between; }
.version-card .vc-date { font-size: 12.5px; color: var(--muted); }

/* 栅格工具 */
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: 1fr 1fr; }

/* 数据中心屏幕模式 */
.db-container { transition: max-width 0.3s var(--ease-out); }
.db-container.db-wide { width: min(1480px, 100% - 32px); }
.db-container.db-full { width: 100%; }

/* 版本中心视图模式 */
.version-grid.mode-list .version-card { flex-direction: row; }
.version-grid.mode-list .vc-top { width: 280px; min-height: 170px; flex-shrink: 0; }
.version-grid.mode-list .vc-body { padding: 20px 26px; }
.version-grid.mode-compact .vc-top { display: none; }
.version-grid.mode-compact .vc-desc,
.version-grid.mode-compact .vc-meta,
.version-grid.mode-compact .vc-date { display: none; }
.version-grid.mode-compact .vc-body { padding: 18px 20px; }
.version-grid.mode-compact .vc-foot .btn { padding: 8px 18px; font-size: 13px; }

/* 列表条目（新闻/攻略/数据中心通用） */
.list-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 20px;
  background: var(--bg-panel);
  border: 1px solid var(--gold-line);
  border-radius: 8px;
  transition: all 0.25s var(--ease-out);
}
.list-row:hover { border-color: var(--gold-line-strong); background: rgba(200, 162, 74, 0.05); transform: translateX(4px); }
.list-row .lr-date { flex-shrink: 0; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.list-row .lr-title { flex: 1; min-width: 0; color: var(--text); font-size: 15px; }
.list-row .lr-title:hover { color: var(--gold-bright); }
.list-row .lr-tag { flex-shrink: 0; }
.list-row .lr-arrow { flex-shrink: 0; color: var(--gold); opacity: 0.5; }

/* 攻略文章布局 */
.guide-layout { display: grid; grid-template-columns: 340px 1fr; gap: 26px; align-items: start; }
.guide-cats { display: flex; flex-direction: column; gap: 10px; }
.guide-cats .cat-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  background: var(--bg-panel);
  border: 1px solid var(--gold-line);
  border-radius: 8px;
  color: var(--text-soft);
  font-size: 15px;
  letter-spacing: 1px;
  text-align: left;
  transition: all 0.25s;
}
.guide-cats .cat-btn svg { width: 18px; height: 18px; color: var(--gold); }
.guide-cats .cat-btn:hover, .guide-cats .cat-btn.active {
  border-color: var(--gold-line-strong);
  color: var(--gold-bright);
  background: rgba(200, 162, 74, 0.1);
}
.guide-cats .cat-btn .cnt { margin-left: auto; font-size: 12px; color: var(--muted); }
.guide-articles { display: grid; gap: 14px; }
.guide-article {
  padding: 22px 26px;
  background: var(--bg-panel);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.28s var(--ease-out);
}
.guide-article:hover { border-color: var(--gold-line-strong); transform: translateY(-3px); box-shadow: var(--shadow-panel); }
.guide-article h3 { font-size: 18px; letter-spacing: 1px; color: #f0e6c8; }
.guide-article .ga-meta { display: flex; gap: 14px; margin: 8px 0 10px; font-size: 12.5px; color: var(--muted); }
.guide-article p { font-size: 13.5px; color: var(--text-soft); }
.guide-article .ga-open { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gold); }
.guide-article .ga-open svg { width: 14px; height: 14px; }

/* 文章正文 */
.article-body { max-width: 780px; }
.article-body h2 { font-size: 22px; margin: 26px 0 12px; color: var(--gold-bright); letter-spacing: 1px; }
.article-body h3 { font-size: 18px; margin: 20px 0 8px; color: #f0e6c8; }
.article-body p { margin: 10px 0; color: var(--text-soft); }
.article-body ul { margin: 10px 0 10px 22px; }
.article-body li { margin: 6px 0; color: var(--text-soft); }
.article-body .tip {
  margin: 16px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--gold);
  background: rgba(200, 162, 74, 0.08);
  border-radius: 0 8px 8px 0;
  color: var(--text);
  font-size: 14px;
}

/* ---------- 数据中心（database 页） ---------- */
.db-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 18px 22px;
  background: var(--bg-panel);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  margin-bottom: 22px;
}
.db-modes { display: flex; gap: 8px; flex-wrap: wrap; }
.db-mode {
  padding: 9px 20px;
  border: 1px solid var(--gold-line);
  border-radius: 8px;
  background: transparent;
  color: var(--text-soft);
  font-size: 14.5px;
  letter-spacing: 1px;
  transition: all 0.25s;
}
.db-mode:hover { color: var(--gold-bright); border-color: var(--gold-line-strong); }
.db-mode.active {
  background: linear-gradient(180deg, #f0d98f, var(--gold) 60%, var(--gold-deep));
  color: #241703;
  border-color: rgba(255, 235, 180, 0.7);
  font-weight: 700;
}
.db-search {
  flex: 1;
  min-width: 240px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--bg-deep);
  border: 1px solid var(--gold-line);
  border-radius: 8px;
}
.db-search svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }
.db-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 14.5px;
  font-family: inherit;
}
.db-search input::placeholder { color: var(--muted); }
.db-search .clear-btn {
  border: none; background: none;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  display: none;
}
.db-search .clear-btn.show { display: block; }

.db-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-soft);
  cursor: pointer;
  user-select: none;
}
.db-check input { accent-color: var(--gold); width: 16px; height: 16px; }

.db-info { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.db-info b { color: var(--gold-bright); }

.db-tabs { display: flex; gap: 0; margin-bottom: 20px; border-bottom: 1px solid var(--gold-line); }
.db-tab {
  padding: 12px 26px;
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--text-soft);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  transition: all 0.25s;
}
.db-tab:hover { color: var(--gold-bright); }
.db-tab.active {
  color: var(--gold-bright);
  border-bottom-color: var(--gold);
  font-weight: 700;
}

/* 列表分页盒子 */
.db-panes { position: relative; }
.db-pane { display: none; }
.db-pane.active { display: block; animation: fadeIn 0.35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.db-list { display: grid; gap: 10px; }
.db-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 13px 18px;
  background: var(--bg-panel);
  border: 1px solid var(--gold-line);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.22s var(--ease-out);
}
.db-item:hover, .db-item.active {
  border-color: var(--gold-line-strong);
  background: rgba(200, 162, 74, 0.07);
  transform: translateX(4px);
}
.db-item .di-icon {
  width: 46px; height: 46px;
  border: 1px solid var(--gold-line);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--font-title);
  font-size: 20px;
  color: var(--gold-bright);
  background: var(--bg-deep);
}
.db-item .di-main { min-width: 0; }
.db-item .di-name { font-size: 15.5px; color: #f0e6c8; font-weight: 700; }
.db-item .di-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.db-item .di-side { text-align: right; }
.db-item .di-side .lv { font-size: 13px; color: var(--gold); font-variant-numeric: tabular-nums; }
.db-item .di-side .src { font-size: 12px; color: var(--muted); }

/* 详情面板 */
.db-detail {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 5, 10, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.db-detail.open { display: flex; animation: fadeIn 0.25s ease; }
.dd-box {
  width: min(760px, 100%);
  max-height: 84vh;
  overflow: auto;
  background: var(--bg-panel-solid);
  border: 1px solid var(--gold-line-strong);
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  animation: popIn 0.3s var(--ease-out);
}
@keyframes popIn { from { opacity: 0; transform: scale(0.94) translateY(10px); } to { opacity: 1; transform: none; } }
.dd-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 26px;
  border-bottom: 1px solid var(--gold-line);
  position: sticky;
  top: 0;
  background: var(--bg-panel-solid);
  z-index: 2;
}
.dd-head .dd-icon {
  width: 52px; height: 52px;
  border: 1px solid var(--gold-line-strong);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-title);
  font-size: 24px;
  color: var(--gold-bright);
  background: var(--bg-deep);
}
.dd-head h3 { font-size: 22px; letter-spacing: 2px; color: var(--gold-bright); }
.dd-head .dd-close {
  margin-left: auto;
  width: 38px; height: 38px;
  border: 1px solid var(--gold-line);
  border-radius: 8px;
  background: transparent;
  color: var(--text-soft);
  font-size: 22px;
  line-height: 1;
}
.dd-head .dd-close:hover { color: #fff; border-color: var(--gold); }
.dd-body { padding: 24px 26px; }
.dd-kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 20px; }
.dd-kv .kv { padding: 12px 16px; background: var(--bg-deep); border: 1px solid var(--gold-line); border-radius: 8px; }
.dd-kv .kv b { display: block; font-size: 12px; color: var(--muted); letter-spacing: 1px; font-weight: 400; }
.dd-kv .kv span { font-size: 15px; color: var(--text); }
.dd-kv .kv span.gold { color: var(--gold-bright); }
.dd-sec { margin: 18px 0 8px; font-size: 14px; color: var(--gold); letter-spacing: 2px; }
.dd-path { padding: 12px 16px; margin-bottom: 10px; background: var(--bg-deep); border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; }
.dd-path .dp-title { font-weight: 700; color: #f0e6c8; font-size: 14.5px; }
.dd-path .dp-desc { font-size: 13.5px; color: var(--text-soft); white-space: pre-line; margin-top: 4px; }
.dd-empty { text-align: center; padding: 30px; color: var(--muted); }
.dd-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.dd-table th, .dd-table td { padding: 10px 14px; border: 1px solid var(--gold-line); text-align: left; font-size: 13.5px; }
.dd-table th { background: rgba(200, 162, 74, 0.1); color: var(--gold-bright); font-weight: 700; white-space: nowrap; }
.dd-table td { color: var(--text-soft); }

/* ---------- 版本对比表 ---------- */
.compare-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.compare-table col:nth-child(1) { width: 14%; }
.compare-table col:nth-child(n+2) { width: calc(86% / 6); }
.compare-table th, .compare-table td {
  padding: 14px 10px;
  border: 1px solid var(--gold-line);
  text-align: center;
  font-size: 13.5px;
  vertical-align: middle;
}
.compare-table thead th {
  background: linear-gradient(180deg, rgba(200, 162, 74, 0.18), rgba(200, 162, 74, 0.06));
  color: var(--gold-bright);
  font-family: var(--font-title);
  font-size: 16px;
  letter-spacing: 2px;
}
.compare-table tbody th { color: var(--text-soft); font-weight: 400; background: rgba(7, 7, 15, 0.4); }
.compare-table td { color: var(--text-soft); }
.compare-table td.yes { color: var(--green-live); }
.compare-table td.no { color: var(--muted); }
.compare-table tr:hover td { background: rgba(200, 162, 74, 0.04); }

/* ---------- 下载页 ---------- */
.download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.dl-card {
  padding: 30px;
  background: var(--bg-panel);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  position: relative;
  transition: all 0.3s var(--ease-out);
}
.dl-card:hover { border-color: var(--gold-line-strong); transform: translateY(-4px); box-shadow: var(--shadow-panel); }
.dl-card .dl-icon {
  width: 62px; height: 62px;
  border: 1px solid var(--gold-line-strong);
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 30%, rgba(200, 162, 74, 0.2), rgba(7, 7, 15, 0.5));
  margin-bottom: 16px;
}
.dl-card .dl-icon svg { width: 30px; height: 30px; color: var(--gold-bright); }
.dl-card h3 { font-size: 20px; letter-spacing: 2px; color: var(--gold-bright); }
.dl-card .dl-desc { font-size: 13.5px; color: var(--text-soft); margin: 8px 0 16px; }
.dl-card .dl-meta { font-size: 12.5px; color: var(--muted); margin-bottom: 16px; line-height: 2; }
.dl-card .dl-meta b { color: var(--text-soft); font-weight: 400; }
.dl-foot-note {
  margin-top: 22px;
  padding: 18px 22px;
  border: 1px dashed var(--gold-line-strong);
  border-radius: var(--radius);
  background: rgba(200, 162, 74, 0.04);
  font-size: 13.5px;
  color: var(--text-soft);
}
.dl-foot-note b { color: var(--gold-bright); }

/* ---------- 新闻时间轴 ---------- */
.timeline { position: relative; margin-top: 26px; }
.timeline .tl-row { display: grid; grid-template-columns: 130px 34px 1fr; gap: 0; align-items: stretch; }
.timeline .tl-date {
  text-align: right;
  padding: 14px 14px 14px 0;
  font-family: var(--font-title);
  color: var(--gold);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}
.timeline .tl-date small { display: block; font-size: 11px; color: var(--muted); font-family: var(--font-body); letter-spacing: 0; }
.timeline .tl-axis { position: relative; display: flex; justify-content: center; }
.timeline .tl-axis::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-line-strong) 12%, var(--gold-line-strong) 88%, transparent);
}
.timeline .tl-dot {
  width: 12px; height: 12px;
  margin-top: 20px;
  justify-self: center;
  transform: rotate(45deg);
  border: 1px solid var(--gold);
  background: var(--bg-deep);
  box-shadow: 0 0 12px rgba(200, 162, 74, 0.5);
  z-index: 1;
}
.timeline .tl-card {
  padding: 14px 22px;
  margin: 10px 0;
  background: var(--bg-panel);
  border: 1px solid var(--gold-line);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  align-self: start;
}
.timeline .tl-card:hover { border-color: var(--gold-line-strong); transform: translateX(4px); }
.timeline .tl-card h4 { font-size: 16.5px; color: #f0e6c8; letter-spacing: 1px; }
.timeline .tl-card .tl-sum { font-size: 13px; color: var(--text-soft); margin-top: 4px; }
.timeline .tl-card .tl-tag { margin-right: 8px; }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
  text-align: center;
}
.cta-band .cb-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  z-index: -2;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, var(--bg-deep) 0%, rgba(7, 7, 15, 0.78) 30%, rgba(7, 7, 15, 0.78) 70%, var(--bg-deep) 100%);
}
.cta-band h2 {
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: 6px;
  background: linear-gradient(180deg, #fff3c4, var(--gold) 60%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 22px rgba(200, 162, 74, 0.35));
}
.cta-band p { margin: 14px auto 30px; color: var(--text-soft); max-width: 56ch; }
.cta-band .cb-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--gold-line);
  background: var(--bg-dark);
  padding: 56px 0 0;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-grid h4 { font-size: 16px; letter-spacing: 3px; color: var(--gold-bright); margin-bottom: 16px; }
.footer-grid p { font-size: 13.5px; color: var(--text-soft); }
.footer-grid ul { list-style: none; }
.footer-grid li { margin: 8px 0; }
.footer-grid li a { font-size: 13.5px; color: var(--text-soft); }
.footer-grid li a:hover { color: var(--gold-bright); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid var(--gold-line);
  padding: 18px 0;
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bottom .fb-brand { font-family: var(--font-title); color: var(--gold); letter-spacing: 3px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 300;
  padding: 13px 26px;
  background: var(--bg-panel-solid);
  border: 1px solid var(--gold-line-strong);
  border-radius: 999px;
  color: var(--gold-bright);
  font-size: 14px;
  letter-spacing: 1px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s var(--ease-out);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* 页面顶部进度/进场（精简） */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid.cols4 { grid-template-columns: repeat(2, 1fr); }
  .server-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-cats { flex-direction: row; flex-wrap: wrap; }
  .compare-table { font-size: 12px; }
  .grid.two { grid-template-columns: 1fr; }
  .version-grid.mode-list .vc-top { width: 220px; }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 68px; right: 0; bottom: 0;
    width: min(300px, 82vw);
    flex-direction: column;
    gap: 0;
    background: rgba(7, 7, 15, 0.98);
    border-left: 1px solid var(--gold-line);
    padding: 18px;
    transform: translateX(105%);
    transition: transform 0.4s var(--ease-out);
    margin: 0;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: 14px 10px; font-size: 16px; border-bottom: 1px solid rgba(200, 162, 74, 0.12); }
  .nav-links a::after { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-status { margin-left: 10px; }
  .download-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 28px); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid.cols4 { grid-template-columns: 1fr; }
  .server-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat b { font-size: 30px; }
  .hero h1 { letter-spacing: 8px; text-indent: 8px; }
  .hero .sub { letter-spacing: 5px; }
  .timeline .tl-row { grid-template-columns: 96px 26px 1fr; }
  .open-item { flex-direction: column; align-items: flex-start; gap: 10px; }
  .open-item .oi-actions { width: 100%; }
  .open-item .oi-actions .btn { width: 100%; }
  .db-item { grid-template-columns: 46px 1fr; }
  .db-item .di-side { display: none; }
  .dd-kv { grid-template-columns: 1fr 1fr; }
  .compare-table { overflow-x: auto; display: block; }
  .compare-table table { min-width: 680px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .countdown-bar .cd-unit { min-width: 74px; padding: 7px 10px; }
  .countdown-bar .cd-unit b { font-size: 20px; }
  .brand .brand-sub { display: none; }
  .grid.three { grid-template-columns: 1fr; }
  .version-grid.mode-list .version-card { flex-direction: column; }
  .version-grid.mode-list .vc-top { width: 100%; min-height: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
