/* =============================================================
   追梦60[怀旧版] · 末世废土 · 余烬黄昏 · style.css
   焦黑底 + 余烬熔橙 + 沙黄 + 烟绿 —— 废墟拾荒 · 暗底发光大气
   —— 变量名沿用旧结构(--purple/--blood/--gold 等)以复用全站引用，
      取值已整体重映射为 余烬废土体系；维护时以此注释为准。
      ★ --blood* = 余烬熔橙(主 CTA)；--gold* = 沙黄(次强调)；
        --purple* = 烟绿(第三点缀)。别按字面理解变量名。
   ============================================================= */

:root {
  --bg:          #14100d;   /* 焦黑（暖） */
  --bg2:         #1b1511;   /* 略亮 */
  --panel:       #211a14;   /* 面板/卡片 深 */
  --panel2:      #2c2219;   /* 面板高 */
  --purple:      #4a5f42;   /* [原紫→烟绿深] 第三点缀 */
  --purple-lt:   #7fa06a;   /* 烟绿 */
  --blood:       #e0632f;   /* [主色] 余烬熔橙 · CTA/主强调 */
  --blood-lt:    #ff8f52;   /* 亮火 */
  --gold:        #d9a961;   /* [次强调] 沙黄（沙尘/黄昏） */
  --gold-lt:     #f0c98a;   /* 亮沙 */
  --gold-dim:    #a67c3e;   /* 深沙 */
  --silver:      #9a8d7e;   /* 灰烬灰 */
  --text:        #f2e9dd;   /* 沙白 主文字 */
  --text-dim:    #c3b3a1;   /* 灰沙 */
  --text-mute:   #8b7c6c;   /* 暗灰沙 */
  --line:        rgba(224,99,47,.24);    /* 锈线 */
  --line-soft:   rgba(224,99,47,.10);

  /* —— 余烬废土色（熔橙 / 沙黄 / 烟绿 / 焦黑） —— */
  --ink:         #f2e9dd;
  --holo:        linear-gradient(105deg, #ffc07a, #e0632f 55%, #a83c1c);   /* 余烬 标题渐变 */
  --holo-cool:   linear-gradient(105deg, #a8c48c, #4a5f42);                /* 烟绿 */
  --holo-soft:   linear-gradient(105deg, rgba(224,99,47,.14), rgba(217,169,97,.14));

  --font-black:  'Noto Serif SC', serif;                        /* 厚重衬线 中文标题 */
  --font-latin:  'Black Ops One', 'Noto Serif SC', serif;       /* 军用模板体 拉丁 */
  --font-cn:     'Noto Sans SC', 'PingFang SC', sans-serif;     /* 正文 */

  --shadow:      0 20px 50px rgba(0,0,0,.6);
  --glow-gold:   0 0 26px rgba(217,169,97,.42);
  --glow-blood:  0 0 30px rgba(224,99,47,.48);
  --radius:      4px;
  --maxw:        1200px;
}

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

html { scroll-behavior: smooth; background: #14100d; }

body {
  font-family: var(--font-cn);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  overflow-x: hidden;
  cursor: auto;
  background-image:
    radial-gradient(circle at 18% 6%,  rgba(217,169,97,.14), transparent 46%),
    radial-gradient(circle at 82% 8%,  rgba(224,99,47,.12), transparent 46%),
    radial-gradient(circle at 50% 100%, rgba(166,124,62,.20), transparent 62%);
  background-attachment: fixed;
}

/* 暗夜辉光 + 暗角 */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 420px at 50% -8%, rgba(224,99,47,.08), transparent 70%),
    radial-gradient(1200px 800px at 50% 120%, rgba(0,0,0,.4), transparent 60%);
  opacity: 1;
}

@media (max-width: 820px) { body { cursor: auto; } }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

::selection { background: var(--blood); color: var(--gold-lt); }

/* ---------- 滚动进度条 ---------- */
#scrollProgress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--blood), var(--gold), var(--gold-lt));
  z-index: 10001; box-shadow: 0 0 12px rgba(201,169,107,.6);
}

/* =============================================================
   预加载 · 玫瑰窗旋转
   ============================================================= */
#preloader {
  position: fixed; inset: 0; z-index: 100000;
  background: radial-gradient(circle at 50% 45%, var(--purple), var(--bg) 70%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 26px; transition: opacity .7s ease, visibility .7s ease;
}
#preloader.done { opacity: 0; visibility: hidden; }
.pre-rose {
  width: 76px; height: 76px; border-radius: 50%;
  border: 2px solid var(--line);
  position: relative;
  box-shadow: var(--glow-gold);
  animation: preSpin 3.4s linear infinite;
}
.pre-rose::before, .pre-rose::after {
  content: ""; position: absolute; inset: 12px; border-radius: 50%;
  border: 1.5px solid var(--gold); opacity: .6;
}
.pre-rose::after { inset: 26px; border-color: var(--blood-lt); }
.pre-rose-inner {
  position: absolute; inset: 32px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold-lt), var(--gold) 60%, transparent);
  animation: candleFlicker 1.6s ease-in-out infinite;
}
.pre-text {
  font-family: var(--font-cn); font-weight: 900;
  letter-spacing: 8px; text-indent: 8px;
  color: var(--gold);
  font-size: 1rem;
  text-shadow: var(--glow-gold);
}
@keyframes preSpin { to { transform: rotate(360deg); } }

/* =============================================================
   自定义光标 · 锈蚀十字镐（非圆主形状 · P10 唯一识别 · 拾荒/打金母题）
   ============================================================= */
.cursor-anchor {
  position: fixed; top: 0; left: 0; z-index: 100002;
  pointer-events: none; translate: -100px -100px;
  mix-blend-mode: screen;
}
.cursor-shape {
  position: absolute; left: -14px; top: -14px;
  width: 28px; height: 28px;
  transform: rotate(-32deg);                 /* 斜挥的镐 */
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), filter .18s ease;
  filter: drop-shadow(0 0 7px rgba(224,99,47,.9));
}
/* 镐柄：竖直木杆 */
.cursor-shape::before {
  content: ""; position: absolute;
  left: 12px; top: 7px; width: 4px; height: 21px;
  background: linear-gradient(180deg, var(--gold-lt), var(--gold-dim));
  clip-path: polygon(0 0, 100% 0, 84% 100%, 16% 100%);   /* 下端收窄，非矩形 */
}
/* 镐头：双尖锈铁横刃（chevron，明确非圆） */
.cursor-shape::after {
  content: ""; position: absolute;
  left: 0; top: 2px; width: 28px; height: 11px;
  background: linear-gradient(180deg, #ffc07a, var(--blood) 60%, #a83c1c);
  clip-path: polygon(0 78%, 20% 8%, 50% 34%, 80% 8%, 100% 78%, 80% 56%, 50% 74%, 20% 56%);
}
/* 火星核心：镐头下方迸出的余烬（菱形，非圆） */
.cursor-inner {
  position: absolute; left: 11px; top: 12px;
  width: 6px; height: 6px;
  background: var(--blood-lt);
  transform: rotate(45deg);
  box-shadow: 0 0 9px var(--blood), 0 0 18px rgba(224,99,47,.6);
}
/* hover：抡起来（回摆 + 变亮），click：砸下去 */
.cursor-anchor.active .cursor-shape { transform: rotate(-72deg) scale(1.22); filter: drop-shadow(0 0 13px rgba(255,143,82,.95)); }
.cursor-anchor.click  .cursor-shape { transform: rotate(14deg) scale(.92); }
body.cursor-hidden .cursor-anchor { opacity: 0; }

/* 光标火花拖尾 */
#cursorFx { position: fixed; inset: 0; z-index: 100001; pointer-events: none; }
.spark {
  position: fixed; width: 4px; height: 4px; border-radius: 1px;
  background: var(--gold-lt); transform: rotate(45deg);
  pointer-events: none; box-shadow: 0 0 6px var(--gold);
  animation: sparkTrail 1s ease-out forwards;
}
.spark.amber { background: var(--gold); box-shadow: 0 0 6px var(--gold); }
.spark.red   { background: var(--blood-lt); box-shadow: 0 0 6px var(--blood); }
.spark.burst { animation: sparkBurst .8s ease-out forwards; }
@keyframes sparkTrail {
  0%   { opacity: .95; transform: translate(0,0) rotate(45deg) scale(1); }
  100% { opacity: 0; transform: translate(var(--dx,0), var(--dy,20px)) rotate(45deg) scale(.2); }
}
@keyframes sparkBurst {
  0%   { opacity: 1; transform: translate(0,0) rotate(45deg) scale(1.2); }
  100% { opacity: 0; transform: translate(var(--dx,0), var(--dy,0)) rotate(45deg) scale(0); }
}

/* =============================================================
   烛烬飘落层
   ============================================================= */
.ember-layer { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.ember {
  position: absolute; top: -12px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 8px 2px rgba(201,169,107,.7);
  animation: emberFall linear forwards;
}
.ember.blood { background: var(--blood-lt); box-shadow: 0 0 8px 2px rgba(176,40,76,.7); }
.ember.pale  { background: var(--gold-lt);  box-shadow: 0 0 10px 3px rgba(240,220,168,.65); }
@keyframes emberFall {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  12%  { opacity: .9; }
  90%  { opacity: .7; }
  100% { transform: translateY(102vh) translateX(28px); opacity: 0; }
}

/* =============================================================
   导航
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 5vw;
  background: linear-gradient(180deg, rgba(10,10,10,.72), rgba(10,10,10,0));
  transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}
.nav.scrolled {
  background: rgba(14,9,20,.92);
  padding: 10px 5vw;
  box-shadow: 0 8px 30px rgba(0,0,0,.55);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(10px);
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.nav-logo-icon {
  width: 46px; height: 46px; display: grid; place-items: center;
  font-size: 1.5rem; color: var(--gold);
  border: 1.5px solid var(--gold); border-radius: 8px;
  background: radial-gradient(circle, rgba(224,99,47,.5), transparent);
  box-shadow: var(--glow-gold);
}
.nav-logo-text {
  font-family: var(--font-cn); font-weight: 900; font-size: 1.4rem;
  color: var(--gold-lt); letter-spacing: 2px;
  text-shadow: 0 0 14px rgba(201,169,107,.4);
}
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-family: var(--font-cn); font-weight: 500; font-size: 1rem; color: var(--text-dim);
  position: relative; padding: 4px 0; transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--blood), var(--gold)); transition: width .28s;
}
.nav-links a:hover { color: var(--gold-lt); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-family: var(--font-cn); font-weight: 700; font-size: .95rem;
  padding: 10px 24px; border-radius: 8px; color: var(--gold-lt);
  background: linear-gradient(135deg, var(--blood), var(--purple));
  border: 1px solid var(--gold); box-shadow: var(--glow-blood);
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 0 26px rgba(201,169,107,.6); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: none; }
.nav-toggle span { width: 26px; height: 2px; background: var(--gold); transition: .3s; }

/* =============================================================
   Hero
   ============================================================= */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  padding: 120px 5vw 160px;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(44,34,25,.9), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, #0e0715 50%, var(--bg) 100%);
}
.hero-bg-image {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: .5; z-index: 0;
}
.hero-bg-mask {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at center, rgba(10,10,10,.35), rgba(10,10,10,.9));
}

/* 教堂玫瑰窗 */
.hero-rose {
  position: absolute; top: 46%; left: 50%;
  width: min(760px, 96vw); height: min(760px, 96vw);
  transform: translate(-50%, -50%);
  z-index: 1; opacity: .5;
  filter: drop-shadow(0 0 40px rgba(224,99,47,.35));
}
.rose-petals { transform-origin: 300px 300px; animation: roseSpin 90s linear infinite; }
.rose-inner  { animation: roseSpin 60s linear infinite reverse; }
.rose-core   { animation: candleFlicker 2.4s ease-in-out infinite; transform-origin: 300px 300px; }
@keyframes roseSpin { to { transform: rotate(360deg); } }

/* 尖拱窗框 */
.hero-arch { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.arch-col {
  position: absolute; top: 0; bottom: 0; width: 90px;
  background: linear-gradient(90deg, rgba(44,34,25,.6), transparent);
}
.arch-col-l { left: 0; }
.arch-col-r { right: 0; transform: scaleX(-1); }
.arch-col::before {
  content: ""; position: absolute; top: 12%; left: 26px; width: 3px; bottom: 0;
  background: linear-gradient(180deg, var(--gold), transparent);
  opacity: .4;
}

/* 夜雾 */
.hero-fog {
  position: absolute; left: 0; right: 0; bottom: 0; height: 55%; z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(10,10,10,.55) 60%, var(--bg));
  pointer-events: none;
}

/* 烛光 */
.hero-candles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.candle {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold-lt), var(--gold) 55%, transparent);
  box-shadow: 0 0 30px 12px rgba(201,169,107,.35);
  animation: candleFlicker 1.8s ease-in-out infinite;
}
.candle-1 { left: 12%; top: 64%; animation-delay: .1s; }
.candle-2 { right: 14%; top: 58%; animation-delay: .6s; }
.candle-3 { left: 24%; top: 40%; animation-delay: 1.1s; width: 7px; height: 7px; }
.candle-4 { right: 26%; top: 46%; animation-delay: .8s; width: 7px; height: 7px; }
@keyframes candleFlicker {
  0%, 100% { opacity: .95; transform: scale(1); }
  25% { opacity: .7; transform: scale(.92); }
  50% { opacity: 1; transform: scale(1.06); }
  75% { opacity: .8; transform: scale(.96); }
}

.hero-content { position: relative; z-index: 5; max-width: 880px; }
.hero-latin {
  font-family: var(--font-black);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  color: var(--gold); letter-spacing: 6px; text-indent: 6px;
  margin-bottom: 10px; opacity: .92;
  text-shadow: 0 0 22px rgba(201,169,107,.5);
  animation: fadeUp .9s ease both;
}
.hero-badge {
  display: inline-block;
  font-family: var(--font-cn); font-weight: 500; font-size: .92rem;
  color: var(--gold-lt); letter-spacing: 3px; text-indent: 3px;
  padding: 7px 22px; margin-bottom: 26px;
  border: 1px solid var(--line);
  border-radius: 40px;
  background: rgba(44,34,25,.5);
  backdrop-filter: blur(4px);
  animation: fadeUp .9s .1s ease both;
}
.hero-title {
  font-family: var(--font-cn); font-weight: 900;
  font-size: clamp(3rem, 9vw, 6.2rem);
  line-height: 1.05; letter-spacing: 4px;
  background: linear-gradient(180deg, var(--gold-lt) 0%, var(--gold) 45%, var(--blood-lt) 120%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  text-shadow: 0 4px 30px rgba(224,99,47,.4);
  filter: drop-shadow(0 2px 1px rgba(0,0,0,.2));
  margin-bottom: 20px;
  animation: fadeUp 1s .15s ease both;
  position: relative;
}
/* 哥特描边（叠一层深色描边模拟雕刻） */
.hero-title::after {
  content: attr(data-text);
  position: absolute; inset: 0; z-index: -1;
  -webkit-text-fill-color: transparent; color: transparent;
  -webkit-text-stroke: 2px rgba(201,169,107,.35);
}
.hero-title.flicker { animation: titleFlicker .18s steps(2) 1; }
@keyframes titleFlicker {
  0% { opacity: 1; }
  50% { opacity: .55; filter: drop-shadow(0 0 18px rgba(201,169,107,.9)); }
  100% { opacity: 1; }
}
.hero-sub {
  font-family: var(--font-cn); font-size: clamp(1.05rem, 2.4vw, 1.5rem);
  color: var(--text); font-weight: 500; letter-spacing: 2px;
  margin-bottom: 14px; animation: fadeUp 1s .25s ease both;
}
.hero-sub em {
  font-style: normal; color: var(--gold-lt); font-weight: 700;
  text-shadow: 0 0 14px rgba(201,169,107,.5);
}
.hero-tagline {
  font-family: var(--font-latin); font-style: italic;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-dim); margin-bottom: 20px;
  animation: fadeUp 1s .32s ease both;
}
.hero-tags {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  margin-bottom: 22px; animation: fadeUp 1s .4s ease both;
}
.hero-tags span {
  font-family: var(--font-cn); font-size: .85rem; font-weight: 500;
  color: var(--gold); padding: 6px 16px;
  border: 1px solid var(--line-soft); border-radius: 6px;
  background: rgba(23,15,34,.6);
}

/* 倒计时 */
.hero-countdown { margin-bottom: 22px; animation: fadeUp 1s .48s ease both; }
.cd-title {
  display: block; font-family: var(--font-cn); font-weight: 700;
  color: var(--gold-lt); letter-spacing: 3px; text-indent: 3px;
  margin-bottom: 14px; font-size: 1.05rem;
}
.cd-row { display: inline-flex; align-items: center; gap: 8px; }
.cd-unit {
  min-width: 66px; padding: 12px 8px; border-radius: 10px;
  background: linear-gradient(160deg, var(--panel2), var(--purple));
  border: 1px solid var(--line);
}
.cd-num {
  font-family: var(--font-latin); font-weight: 700; font-size: 2rem;
  color: var(--gold-lt); line-height: 1;
}
.cd-label { font-size: .8rem; color: var(--text-dim); margin-top: 6px; }
.cd-sep { font-size: 1.8rem; color: var(--blood-lt); font-weight: 700; }
.cd-placeholder {
  display: inline-block; font-family: var(--font-cn);
  color: var(--gold); font-size: 1.05rem; letter-spacing: 2px;
  padding: 12px 26px; border: 1px dashed var(--line);
  border-radius: 40px; background: rgba(44,34,25,.4);
}

/* CTA 按钮 */
.hero-cta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; animation: fadeUp 1s .56s ease both; }
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-cn); font-weight: 700; font-size: 1.05rem;
  padding: 15px 34px; border-radius: 10px; cursor: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-primary {
  color: #1a0a12;
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  border: 1px solid var(--gold-lt);
  box-shadow: var(--glow-gold);
}
.btn-primary:hover { box-shadow: 0 0 34px rgba(201,169,107,.75); }
.btn-ghost {
  color: var(--gold-lt);
  background: rgba(44,34,25,.5);
  border: 1px solid var(--gold);
}
.btn-ghost:hover { background: rgba(224,99,47,.4); transform: translateY(-2px); }
.btn-icon { width: 20px; height: 20px; }

/* 首屏快捷入口 */
.hero-quicknav {
  display: flex; flex-wrap: wrap; gap: 14px;
  width: min(524px, 92vw);
  justify-content: center; margin: 18px auto 0; animation: fadeUp 1s .7s ease both;
}
.hqn-item {
  flex: 0 1 160px; max-width: 160px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 15px 12px; border-radius: 12px; cursor: none; text-decoration: none;
  background: rgba(44,34,25,.42); border: 1px solid var(--line);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.hqn-item:hover {
  transform: translateY(-3px); border-color: var(--gold);
  background: rgba(224,99,47,.32); box-shadow: 0 8px 26px rgba(0,0,0,.4);
}
.hqn-ic { color: var(--gold-lt); display: flex; }
.hqn-ic svg { width: 26px; height: 26px; filter: drop-shadow(0 0 8px rgba(201,169,107,.4)); }
.hqn-t { font-family: var(--font-cn); font-weight: 700; font-size: 1rem; color: var(--txt); letter-spacing: .5px; }
.hqn-d { font-size: .74rem; color: var(--txt-dim); letter-spacing: .5px; }
@media (max-width: 620px) {
  .hqn-item { flex: 0 1 calc(50% - 7px); max-width: none; }
}

.hero-spires { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; pointer-events: none; }
.hero-spires svg { display: block; }

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

/* =============================================================
   数据统计条
   ============================================================= */
.stats-bar {
  position: relative; z-index: 6;
  background: linear-gradient(180deg, rgba(166,124,62,.16), var(--bg2) 70%);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 30px 5vw;
}
.stats-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center;
}
.stat-item { position: relative; padding: 22px 14px; }
.stat-item + .stat-item::before { content: none; }
.stat-num {
  font-family: var(--font-latin); font-weight: 700; font-size: clamp(1.8rem, 4.2vw, 2.7rem);
  color: var(--gold-lt); line-height: 1.15;
  text-shadow: 0 0 18px rgba(224,99,47,.4);
}
.stat-label { color: var(--text-dim); font-size: .95rem; margin-top: 8px; letter-spacing: 1px; }

/* =============================================================
   通用 section
   ============================================================= */
.sec { position: relative; z-index: 6; padding: 90px 5vw; }
.sec-inner { max-width: var(--maxw); margin: 0 auto; }
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-eyebrow {
  display: block; font-family: var(--font-black);
  font-size: 1.7rem; color: var(--gold-dim);
  letter-spacing: 4px; text-indent: 4px; opacity: .8; margin-bottom: 8px;
}
.sec-title {
  font-family: var(--font-cn); font-weight: 900;
  font-size: clamp(1.9rem, 4.6vw, 2.8rem);
  color: var(--gold-lt); letter-spacing: 3px; text-indent: 3px;
  text-shadow: 0 2px 20px rgba(224,99,47,.4);
  position: relative; display: inline-block;
}
/* 石碑雕刻渐显：section 进入视口时标题浮现 */
.sec-head.reveal .sec-title { opacity: 0; transform: translateY(12px); filter: blur(4px); }
.sec-head.in .sec-title {
  opacity: 1; transform: translateY(0); filter: blur(0);
  transition: opacity .8s ease, transform .8s ease, filter .8s ease;
}
.sec-desc, .sec-sub { color: var(--text-dim); margin-top: 12px; font-size: 1.05rem; letter-spacing: 1px; }
.sec-divider {
  width: 120px; height: 2px; margin: 20px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  position: relative;
}
.sec-divider::after {
  content: "✦"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  color: var(--gold); font-size: .9rem; background: var(--bg); padding: 0 8px;
}

/* =============================================================
   版本特色卡片
   ============================================================= */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.feature-card {
  position: relative; padding: 34px 26px 30px;
  background: linear-gradient(160deg, var(--panel), var(--bg2));
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.feature-card:nth-child(odd)  { border-top: 2px solid var(--blood); }
.feature-card:nth-child(even) { border-top: 2px solid var(--gold); }
.feature-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at 50% 0%, rgba(201,169,107,.14), transparent 60%);
}
.feature-card:hover { transform: translateY(-8px); border-color: var(--gold); box-shadow: var(--shadow); }
.feature-card:hover::before { opacity: 1; }
.feature-icon { font-size: 2.4rem; display: block; margin-bottom: 14px; filter: drop-shadow(0 0 8px rgba(201,169,107,.4)); }
.feature-tag {
  position: absolute; top: 20px; right: 18px;
  font-size: .72rem; color: var(--blood-lt); padding: 3px 10px;
  border: 1px solid var(--line); border-radius: 20px; background: rgba(33,26,20,.85);
}
.feature-title {
  font-family: var(--font-cn); font-weight: 700; font-size: 1.3rem;
  color: var(--gold-lt); margin-bottom: 10px;
}
.feature-desc { color: var(--text-dim); font-size: .98rem; }

/* =============================================================
   开服福利时间线
   ============================================================= */
.rewards-layout { display: grid; grid-template-columns: 1fr 40px 1fr; gap: 20px; }
.rewards-spine { position: relative; display: flex; flex-direction: column; align-items: center; }
.spine-line { flex: 1; width: 2px; background: linear-gradient(var(--blood), var(--gold)); min-height: 20px; }
.spine-dot { width: 14px; height: 14px; background: var(--gold); transform: rotate(45deg); box-shadow: var(--glow-gold); }
.reward-card {
  background: linear-gradient(160deg, var(--panel), var(--bg2));
  border: 1px solid var(--line-soft); border-left: 3px solid var(--blood);
  border-radius: var(--radius); padding: 22px; margin-bottom: 22px;
}
.reward-time { color: var(--gold); font-family: var(--font-latin); font-weight: 700; font-size: 1.1rem; }
.reward-title { font-weight: 700; color: var(--gold-lt); margin: 6px 0 10px; }
.reward-items li { color: var(--text-dim); font-size: .95rem; padding-left: 18px; position: relative; }
.reward-items li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }

/* =============================================================
   职业介绍 · 翻转卡（3×2 grid · 禁圆盘）
   ============================================================= */
.classes-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.cls-wrap { perspective: 1200px; }
.cls-card {
  position: relative; aspect-ratio: 5 / 7; transform-style: preserve-3d;
  transition: transform .7s cubic-bezier(.2,.8,.2,1); cursor: none;
}
.cls-wrap:hover .cls-card, .cls-card.flipped { transform: rotateY(180deg); }
.cls-front, .cls-back {
  position: absolute; inset: 0; backface-visibility: hidden;
  border-radius: var(--radius); border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 26px; text-align: center; overflow: hidden;
}
.cls-front { background: linear-gradient(160deg, var(--panel), var(--panel2)); }
.cls-back {
  background: linear-gradient(160deg, var(--blood), var(--purple));
  transform: rotateY(180deg); gap: 12px;
}
.cls-portrait { width: 100%; flex: 1; overflow: hidden; border-radius: 10px; margin-bottom: 12px; }
.cls-portrait img { width: 100%; height: 100%; object-fit: cover; }
.cls-icon { font-size: 4rem; margin-bottom: 14px; filter: drop-shadow(0 2px 6px rgba(60,50,35,.2)); }
.cls-name { font-family: var(--font-black); font-weight: 400; font-size: 1.7rem; letter-spacing: 3px; color: var(--ink); }
.cls-sub { font-family: var(--font-latin); font-style: italic; color: var(--gold); letter-spacing: 2px; }
.cls-desc { color: var(--gold-lt); font-size: .95rem; }
.cls-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.cls-tag { font-size: .78rem; color: var(--gold-lt); padding: 3px 10px; border: 1px solid var(--gold); border-radius: 20px; }

/* =============================================================
   充值套餐
   ============================================================= */
.packs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.pack-card {
  position: relative; padding: 34px 24px; text-align: center;
  background: linear-gradient(160deg, var(--panel), var(--bg2));
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  transition: transform .3s, box-shadow .3s;
}
.pack-card.featured { border-color: var(--gold); box-shadow: var(--glow-gold); }
.pack-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pack-badge { position: absolute; top: 14px; right: 14px; font-size: .72rem; padding: 3px 12px; border-radius: 20px; color: #1a0a12; background: var(--gold); }
.pack-name { font-family: var(--font-cn); font-weight: 700; color: var(--gold-lt); font-size: 1.2rem; }
.pack-price { margin: 12px 0 4px; color: var(--gold-lt); }
.pack-price-currency { font-size: 1.2rem; }
.pack-price-num { font-family: var(--font-latin); font-weight: 700; font-size: 2.6rem; }
.pack-original { color: var(--text-mute); text-decoration: line-through; font-size: .9rem; }
.pack-items { margin: 16px 0; }
.pack-items li { color: var(--text-dim); font-size: .92rem; padding: 4px 0; border-bottom: 1px dashed var(--line-soft); }
.pack-btn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  padding: 10px 26px; border-radius: 8px; color: #1a0a12; font-weight: 700; cursor: none;
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
}

/* 充值 / 赞助 单入口 CTA */
.recharge-cta {
  max-width: 620px; margin: 0 auto; text-align: center;
  padding: 46px 34px; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--panel2), var(--purple));
  border: 1px solid var(--gold);
  box-shadow: var(--glow-gold);
}
.recharge-cta-icon { font-size: 2.8rem; margin-bottom: 12px; filter: drop-shadow(0 0 12px rgba(201,169,107,.5)); }
.recharge-cta-title { font-family: var(--font-cn); font-weight: 900; font-size: 1.6rem; color: var(--gold-lt); letter-spacing: 2px; margin-bottom: 12px; }
.recharge-cta-desc { color: var(--text-dim); font-size: 1rem; line-height: 1.9; margin-bottom: 26px; }
.recharge-cta-btn { font-size: 1.1rem; padding: 15px 40px; }
.recharge-cta-note { margin-top: 18px; color: var(--text-mute); font-size: .85rem; letter-spacing: .5px; }

/* =============================================================
   公告列表
   ============================================================= */
.news-list { max-width: 900px; margin: 0 auto; }
.news-item {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 18px 22px; margin-bottom: 14px;
  background: linear-gradient(160deg, var(--panel), var(--bg2));
  border: 1px solid var(--line-soft); border-left: 3px solid var(--purple-lt);
  border-radius: 10px; transition: transform .2s, border-color .2s;
}
.news-item:hover { transform: translateX(6px); border-left-color: var(--gold); }
.news-item.pinned { border-left-color: var(--blood); background: linear-gradient(160deg, rgba(224,99,47,.18), var(--bg2)); }
.news-type { font-size: .78rem; padding: 3px 12px; border-radius: 6px; color: var(--gold-lt); }
.news-type.activity { background: var(--blood); }
.news-type.update { background: var(--purple-lt); }
.news-type.maintenance { background: var(--gold-dim); color: #1a0a12; }
.news-type.notice { background: var(--purple); }
.news-pin { font-size: .78rem; color: var(--blood-lt); }
.news-title { flex: 1; min-width: 200px; color: var(--text); font-weight: 500; }
.news-date { color: var(--text-mute); font-family: var(--font-latin); font-size: .95rem; }

/* =============================================================
   游戏攻略（首页板块 / 列表页 / 详情页）
   ============================================================= */
.guide-home-sec { background: linear-gradient(180deg, var(--bg), var(--bg2)); }

/* 分类 tab */
.guide-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.guide-tab {
  font-family: var(--font-cn); font-size: .95rem; color: var(--text-dim);
  padding: 8px 20px; border-radius: 40px; cursor: none;
  border: 1px solid var(--line-soft); background: rgba(23,15,34,.6);
  transition: color .2s, border-color .2s, background .2s;
}
.guide-tab span { color: var(--gold-dim); font-size: .82rem; margin-left: 2px; }
.guide-tab:hover { color: var(--gold-lt); border-color: var(--line); }
.guide-tab.active { color: #1a0a12; background: linear-gradient(135deg, var(--gold-lt), var(--gold)); border-color: var(--gold-lt); }
.guide-tab.active span { color: #4a2a10; }

/* 卡片网格 */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.guide-card {
  display: flex; flex-direction: column; overflow: hidden; cursor: none;
  background: linear-gradient(160deg, var(--panel), var(--bg2));
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.guide-card:hover { transform: translateY(-8px); border-color: var(--gold); box-shadow: var(--shadow); }
.guide-card-cover {
  position: relative; height: 168px; overflow: hidden;
  display: grid; place-items: center;
}
.guide-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.guide-cover-icon { font-size: 3rem; filter: drop-shadow(0 0 10px rgba(201,169,107,.4)); opacity: .85; }
.guide-cover-gold   { background: linear-gradient(150deg, var(--purple), #3a2416); }
.guide-cover-blood  { background: linear-gradient(150deg, var(--purple), var(--blood)); }
.guide-cover-purple { background: linear-gradient(150deg, var(--panel2), var(--purple-lt)); }
.guide-card-cat {
  position: absolute; top: 12px; left: 12px; font-size: .74rem; font-weight: 700;
  color: var(--gold-lt); padding: 3px 12px; border-radius: 20px;
  background: rgba(10,10,10,.55); border: 1px solid var(--line);
}
.guide-card-pin {
  position: absolute; top: 12px; right: 12px; font-size: .72rem;
  color: var(--blood-lt); padding: 3px 10px; border-radius: 20px; background: rgba(10,10,10,.55);
}
.guide-card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.guide-card-title { font-family: var(--font-cn); font-weight: 700; font-size: 1.15rem; color: var(--gold-lt); line-height: 1.5; margin-bottom: 10px; }
.guide-card-summary { color: var(--text-dim); font-size: .92rem; line-height: 1.7; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.guide-card-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; font-size: .82rem; color: var(--text-mute); }
.guide-card-more { color: var(--gold); }
.guide-home-more { text-align: center; margin-top: 40px; }
.guide-empty { text-align: center; color: var(--text-dim); padding: 70px 0; font-size: 1.05rem; letter-spacing: 1px; }

/* 详情页 */
.guide-list-sec, .guide-article { padding-top: 120px; }
.guide-article-inner { max-width: 820px; margin: 0 auto; }
.guide-crumb { font-size: .9rem; color: var(--text-mute); margin-bottom: 18px; }
.guide-crumb a { color: var(--gold-dim); }
.guide-crumb a:hover { color: var(--gold-lt); }
.guide-crumb span { margin: 0 6px; }
.guide-article-title { font-family: var(--font-cn); font-weight: 900; font-size: clamp(1.7rem, 4vw, 2.6rem); color: var(--gold-lt); line-height: 1.35; margin-bottom: 16px; text-shadow: 0 2px 20px rgba(224,99,47,.35); }
.guide-article-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; font-size: .9rem; color: var(--text-mute); }
.guide-article-cat { font-size: .78rem; font-weight: 700; color: var(--gold-lt); padding: 4px 14px; border-radius: 20px; border: 1px solid var(--line); }
.guide-article-cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; border: 1px solid var(--line-soft); }
.guide-article-cover img { width: 100%; display: block; }

/* 正文排版 */
.guide-article-body { color: var(--text); font-size: 1.06rem; line-height: 2; }
.guide-article-body h2, .guide-article-body h3, .guide-article-body h4 {
  font-family: var(--font-cn); color: var(--gold-lt); margin: 32px 0 14px;
  padding-left: 14px; border-left: 3px solid var(--blood); line-height: 1.4;
}
.guide-article-body h2 { font-size: 1.5rem; }
.guide-article-body h3 { font-size: 1.28rem; }
.guide-article-body h4 { font-size: 1.1rem; }
.guide-article-body p { margin: 0 0 16px; }
.guide-article-body ul, .guide-article-body ol { margin: 0 0 18px; padding-left: 4px; }
.guide-article-body li { position: relative; padding-left: 22px; margin-bottom: 8px; color: var(--text-dim); list-style: none; }
.guide-article-body ul li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }
.guide-article-body ol { counter-reset: gi; }
.guide-article-body ol li { counter-increment: gi; }
.guide-article-body ol li::before { content: counter(gi); position: absolute; left: 0; color: var(--gold); font-family: var(--font-latin); font-weight: 700; }
.guide-article-body img { max-width: 100%; border-radius: 10px; margin: 18px 0; border: 1px solid var(--line-soft); }
.guide-article-body a { color: var(--gold-lt); text-decoration: underline; text-underline-offset: 3px; }
.guide-article-body b, .guide-article-body strong { color: var(--gold-lt); }
.guide-article-body blockquote { border-left: 3px solid var(--gold); padding: 8px 18px; margin: 18px 0; background: rgba(44,34,25,.4); color: var(--text-dim); border-radius: 0 8px 8px 0; }
.guide-article-body table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .95rem; }
.guide-article-body th, .guide-article-body td { border: 1px solid var(--line-soft); padding: 10px 12px; text-align: left; }
.guide-article-body th { background: rgba(224,99,47,.25); color: var(--gold-lt); }

.guide-article-foot { display: flex; gap: 14px; flex-wrap: wrap; justify-content: space-between; margin: 40px 0 10px; padding-top: 26px; border-top: 1px solid var(--line-soft); }
.guide-article-foot .btn-ghost, .guide-article-foot .btn-primary { text-decoration: none; }

.guide-related { margin-top: 40px; }
.guide-related-title { font-family: var(--font-cn); font-weight: 700; font-size: 1.2rem; color: var(--gold-lt); margin-bottom: 16px; }
.guide-related-list { display: flex; flex-direction: column; gap: 10px; }
.guide-related-item { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--line-soft); border-radius: 10px; background: linear-gradient(160deg, var(--panel), var(--bg2)); transition: transform .2s, border-color .2s; }
.guide-related-item:hover { transform: translateX(6px); border-color: var(--gold); }
.guide-related-cat { font-size: .74rem; font-weight: 700; color: var(--gold-lt); padding: 3px 10px; border-radius: 20px; border: 1px solid var(--line); flex: none; }
.guide-related-name { color: var(--text); font-weight: 500; }

@media (max-width: 980px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .guide-grid { grid-template-columns: 1fr; } }

/* =============================================================
   下载区
   ============================================================= */
.download-sec { background: linear-gradient(180deg, var(--bg), var(--purple) 120%); }
.dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.dl-item {
  position: relative; padding: 30px 22px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  background: linear-gradient(160deg, var(--panel), var(--bg2));
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
/* 有的卡没有大小行(size 为空时整行不渲染)，靠 flex 把按钮压到底部对齐 */
.dl-item > .dl-item-icon, .dl-item > .dl-item-name,
.dl-item > .dl-item-desc, .dl-item > .dl-item-size { width: 100%; }
.dl-item:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow); }
.dl-item-featured { border-color: var(--gold); box-shadow: var(--glow-gold); }
.dl-item-tag { position: absolute; top: 12px; right: 12px; font-size: .72rem; color: #1a0a12; background: var(--gold); padding: 3px 10px; border-radius: 20px; }
.dl-item-icon { font-size: 2.6rem; margin-bottom: 12px; }
.dl-item-name { font-family: var(--font-cn); font-weight: 700; color: var(--gold-lt); font-size: 1.15rem; }
.dl-item-desc { color: var(--text-dim); font-size: .9rem; margin: 8px 0; min-height: 40px; }
.dl-item-size { color: var(--text-mute); font-size: .85rem; margin-bottom: 12px; }
.dl-item-btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: auto;
  padding: 10px 24px; border-radius: 8px; color: #1a0a12; font-weight: 700; cursor: none;
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  transition: box-shadow .2s;
}
.dl-item-btn:hover { box-shadow: 0 0 20px rgba(201,169,107,.6); }
.dl-tips { text-align: center; margin-top: 34px; color: var(--text-dim); font-size: .92rem; }
.dl-tips b { color: var(--gold-lt); }
.dl-faq-callout {
  display: flex; align-items: center; gap: 12px; justify-content: center;
  max-width: 680px; margin: 18px auto 0; padding: 14px 22px;
  border: 1px solid var(--line); border-radius: 12px;
  background: linear-gradient(160deg, rgba(224,99,47,.22), rgba(44,34,25,.5));
  color: var(--text); font-size: .95rem; cursor: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.dl-faq-callout:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: var(--glow-gold); }
.dl-faq-callout b { color: var(--gold-lt); }
.dl-faq-icon { font-size: 1.4rem; flex: none; }

/* =============================================================
   页脚
   ============================================================= */
footer { position: relative; z-index: 6; background: var(--bg2); border-top: 1px solid var(--line); padding: 60px 5vw 30px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 40px; padding-bottom: 34px; border-bottom: 1px solid var(--line-soft); }
.footer-brand-name { display: flex; align-items: center; gap: 12px; font-family: var(--font-cn); font-weight: 900; font-size: 1.4rem; color: var(--gold-lt); margin-bottom: 14px; }
.footer-brand-img { width: 40px; height: 40px; border-radius: 8px; }
.footer-brand-desc { color: var(--text-dim); font-size: .95rem; }
.footer-col-title { font-family: var(--font-cn); font-weight: 700; color: var(--gold); margin-bottom: 16px; letter-spacing: 1px; }
.footer-links li, .footer-contacts li { margin-bottom: 10px; color: var(--text-dim); }
.footer-links a:hover { color: var(--gold-lt); }
.footer-contacts .contact-icon { margin-right: 6px; }
.contact-value { color: var(--gold); }
.footer-links-bar { padding: 20px 0; border-bottom: 1px solid var(--line-soft); font-size: .9rem; color: var(--text-mute); }
.footer-links-label { color: var(--text-dim); }
.footer-links-bar a { color: var(--text-dim); }
.footer-links-bar a:hover { color: var(--gold-lt); }
.footer-links-sep { margin: 0 8px; color: var(--text-mute); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 22px; }
.footer-copy { color: var(--text-mute); font-size: .88rem; line-height: 1.8; }
/* 本站页脚无备案位：对应的三条样式规则已无 HTML 引用，2026-08-08 清除，别再加回来 */

/* =============================================================
   客服侧栏（标准位置）
   ============================================================= */
.side-bar { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 9998; }
.side-tab {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 36px; min-height: 180px; border-radius: 10px 0 0 10px;
  background: linear-gradient(160deg, var(--blood), var(--purple));
  border: 1px solid var(--gold); border-right: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  cursor: none; box-shadow: -4px 0 18px rgba(0,0,0,.4);
  transition: opacity .3s, transform .3s;
}
.side-tab-icon { width: 20px; height: 20px; color: var(--gold-lt); }
.side-tab-text { font-family: var(--font-cn); font-size: .8rem; color: var(--gold-lt); line-height: 1.3; letter-spacing: 1px; }
.side-tab-dot { position: absolute; top: 10px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-lt); box-shadow: 0 0 8px var(--gold); animation: candleFlicker 1.6s infinite; }
.side-panel {
  width: 268px; background: linear-gradient(160deg, var(--panel2), var(--bg2));
  border: 1px solid var(--gold); border-radius: 12px 0 0 12px;
  box-shadow: -8px 0 30px rgba(0,0,0,.18); overflow: hidden;
  transition: transform .35s ease, opacity .35s ease;
}
.side-bar.collapsed .side-panel { transform: translateX(100%); opacity: 0; pointer-events: none; }
.side-bar.collapsed .side-tab { opacity: 1; }
.side-bar:not(.collapsed) .side-tab { opacity: 0; pointer-events: none; }
.side-head { display: flex; align-items: center; gap: 8px; padding: 14px 16px; background: linear-gradient(135deg, var(--blood), var(--purple)); }
.side-head-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-lt); box-shadow: 0 0 8px var(--gold); }
.side-head-text { flex: 1; font-family: var(--font-cn); font-weight: 700; color: var(--gold-lt); }
.side-head-close { background: none; border: none; color: var(--gold-lt); font-size: 1rem; cursor: none; }
.side-row { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); }
.side-row-icon { font-size: 1.3rem; }
.side-row-info { flex: 1; }
.side-row-label { font-size: .8rem; color: var(--text-mute); }
.side-row-value { color: var(--gold-lt); font-weight: 500; }
.side-row-copy { background: none; border: 1px solid var(--line); border-radius: 6px; padding: 6px; color: var(--gold); cursor: none; }
.side-row-copy svg { width: 16px; height: 16px; }
.side-row-copy.copied { background: var(--gold); color: #1a0a12; }
.side-top { position: absolute; right: 0; bottom: -54px; width: 44px; height: 44px; border-radius: 10px 0 0 10px; border: 1px solid var(--gold); border-right: none; background: var(--purple); color: var(--gold-lt); cursor: none; opacity: 0; transform: translateY(10px); transition: .3s; display: grid; place-items: center; }
.side-top.show { opacity: 1; transform: translateY(0); }
.side-top svg { width: 20px; height: 20px; }

/* =============================================================
   浮动公告 toast
   ============================================================= */
.notice-toast { position: fixed; right: 24px; bottom: 24px; z-index: 9997; width: 340px; max-width: calc(100vw - 48px); }
.notice-toast-trigger {
  position: absolute; bottom: 0; right: 0;
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blood), var(--purple));
  border: 1px solid var(--gold); color: var(--gold-lt); cursor: none;
  display: grid; place-items: center; box-shadow: var(--glow-blood);
  opacity: 0; transform: scale(0); transition: opacity .3s, transform .3s;
}
.notice-toast-trigger svg { width: 24px; height: 24px; }
.notice-toast-dot { position: absolute; top: 6px; right: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold-lt); box-shadow: 0 0 8px var(--gold); animation: candleFlicker 1.4s infinite; }
.notice-toast.collapsed .notice-toast-trigger { opacity: 1; transform: scale(1); }
.notice-toast.collapsed .notice-toast-box { opacity: 0; transform: translateY(20px) scale(.96); pointer-events: none; }
.notice-toast-box {
  background: linear-gradient(160deg, var(--panel2), var(--bg2));
  border: 1px solid var(--gold); border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow); transition: opacity .35s ease, transform .35s ease;
}
.notice-toast-gold   { border-color: var(--gold); }
.notice-toast-purple { border-color: var(--purple-lt); }
.notice-toast-red    { border-color: var(--blood-lt); }
.notice-toast-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: linear-gradient(135deg, var(--blood), var(--purple)); }
.notice-toast-type { font-family: var(--font-cn); font-weight: 700; color: var(--gold-lt); font-size: .95rem; }
.notice-toast-close { background: none; border: none; color: var(--gold-lt); font-size: 1rem; cursor: none; }
.notice-toast-body { padding: 16px; }
.notice-toast-pin { font-size: .8rem; color: var(--blood-lt); margin-bottom: 6px; }
.notice-toast-title { font-family: var(--font-cn); font-weight: 700; color: var(--gold-lt); font-size: 1.05rem; margin-bottom: 8px; }
.notice-toast-date { color: var(--text-mute); font-size: .85rem; margin-bottom: 10px; }
.notice-toast-content { color: var(--text-dim); font-size: .9rem; max-height: 160px; overflow-y: auto; }
.notice-toast-foot { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-top: 1px solid var(--line-soft); }
.notice-toast-nshow { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--text-mute); cursor: none; }
.notice-toast-link { font-size: .85rem; color: var(--gold); }

/* =============================================================
   网页在线客服浮动按钮（左下角）
   ============================================================= */
.chat-fab {
  position: fixed; left: 24px; bottom: 24px; z-index: 9996;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px 12px 14px; border-radius: 40px;
  font-family: var(--font-cn); font-weight: 700; font-size: .98rem;
  color: var(--gold-lt); cursor: none;
  background: linear-gradient(135deg, var(--blood), var(--purple));
  border: 1px solid var(--gold);
  box-shadow: var(--glow-blood), 0 8px 24px rgba(0,0,0,.45);
  transition: transform .22s ease, box-shadow .22s ease;
}
.chat-fab:hover { transform: translateY(-3px); box-shadow: 0 0 28px rgba(201,169,107,.7), 0 10px 28px rgba(0,0,0,.18); }
.chat-fab-icon {
  display: grid; place-items: center; width: 30px; height: 30px; flex: none;
  border-radius: 50%; background: rgba(240,220,168,.12);
}
.chat-fab-icon svg { width: 18px; height: 18px; }
.chat-fab-text { white-space: nowrap; letter-spacing: 1px; }
.chat-fab-dot {
  position: absolute; top: 8px; left: 32px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold-lt); box-shadow: 0 0 8px var(--gold);
  animation: candleFlicker 1.5s infinite;
}
@media (max-width: 560px) {
  .chat-fab { left: 12px; bottom: 12px; padding: 10px 16px 10px 12px; font-size: .9rem; }
}
/* 内嵌聊天面板 */
.chat-widget.open .chat-fab { opacity: 0; pointer-events: none; }
.chat-panel {
  position: fixed; left: 24px; bottom: 24px; z-index: 9996;
  width: 380px; max-width: calc(100vw - 32px);
  height: 560px; max-height: calc(100vh - 48px);
  display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(160deg, var(--panel2), var(--bg2));
  border: 1px solid var(--gold); border-radius: 16px;
  box-shadow: var(--glow-gold), 0 20px 60px rgba(0,0,0,.2);
  opacity: 0; transform: translateY(24px) scale(.96); transform-origin: left bottom;
  pointer-events: none; transition: opacity .28s ease, transform .28s ease;
}
.chat-widget.open .chat-panel { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.chat-panel-head {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; flex: none;
  background: linear-gradient(135deg, var(--blood), var(--purple));
  border-bottom: 1px solid var(--line);
}
.chat-panel-title { flex: 1; font-family: var(--font-cn); font-weight: 700; color: var(--gold-lt); font-size: 1rem; letter-spacing: 1px; }
.chat-panel-newtab, .chat-panel-close {
  width: 30px; height: 30px; display: grid; place-items: center; flex: none;
  color: var(--gold-lt); background: rgba(240,220,168,.1); border: none;
  border-radius: 8px; cursor: none; font-size: 1rem; text-decoration: none; transition: background .2s;
}
.chat-panel-newtab:hover, .chat-panel-close:hover { background: rgba(240,220,168,.25); }
.chat-panel-body { flex: 1; background: #fff; position: relative; }
.chat-panel-body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 560px) {
  .chat-panel {
    left: 8px; right: 8px; bottom: 8px; width: auto;
    height: 78vh; max-height: calc(100vh - 16px);
  }
}
@media (prefers-reduced-motion: reduce) { .chat-panel { transition: opacity .1ms; } }

/* 进站引导气泡 + 按钮抖动 */
.chat-fab-bubble {
  position: fixed; left: 20px; bottom: 76px; z-index: 9996;
  max-width: 220px; padding: 10px 14px; border-radius: 12px 12px 12px 4px;
  font-family: var(--font-cn); font-size: .88rem; color: var(--gold-lt);
  background: linear-gradient(160deg, var(--panel2), var(--purple));
  border: 1px solid var(--gold); box-shadow: var(--glow-gold);
  opacity: 0; transform: translateY(8px) scale(.9); transform-origin: left bottom;
  pointer-events: none; transition: opacity .3s ease, transform .3s ease;
}
.chat-widget.nudge .chat-fab-bubble { opacity: 1; transform: translateY(0) scale(1); }
.chat-widget.nudge .chat-fab { animation: fabShake 1.6s ease-in-out infinite; }
.chat-widget.open .chat-fab-bubble { opacity: 0 !important; }
@keyframes fabShake {
  0%, 92%, 100% { transform: translateY(0) rotate(0); }
  94% { transform: translateY(-3px) rotate(-4deg); }
  96% { transform: translateY(-3px) rotate(4deg); }
  98% { transform: translateY(-2px) rotate(-2deg); }
}
@media (max-width: 560px) { .chat-fab-bubble { left: 12px; bottom: 64px; } }
@media (prefers-reduced-motion: reduce) { .chat-widget.nudge .chat-fab { animation: none; } }

/* 品牌客服页 kefu.php */
.kefu-sec { padding-top: 120px; }
.kefu-frame-wrap {
  max-width: 480px; margin: 0 auto; overflow: hidden;
  border: 1px solid var(--gold); border-radius: 16px;
  box-shadow: var(--glow-gold), var(--shadow);
}
.kefu-frame-head {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  font-family: var(--font-cn); font-weight: 700; color: var(--gold-lt); font-size: .95rem;
  background: linear-gradient(135deg, var(--blood), var(--purple));
  border-bottom: 1px solid var(--line);
}
.kefu-dot { width: 9px; height: 9px; border-radius: 50%; background: #66d17a; box-shadow: 0 0 8px #66d17a; }
.kefu-newtab { margin-left: auto; font-size: .82rem; color: var(--gold-lt); opacity: .85; }
.kefu-newtab:hover { opacity: 1; }
.kefu-frame { display: block; width: 100%; height: 640px; max-height: 74vh; border: 0; background: #fff; }
.kefu-tips { max-width: 480px; margin: 20px auto 0; text-align: center; color: var(--text-dim); font-size: .9rem; line-height: 1.9; }
.kefu-tips a { color: var(--gold-lt); text-decoration: underline; text-underline-offset: 3px; }
.kefu-back { display: flex; gap: 14px; justify-content: center; margin-top: 26px; }
.kefu-back a { text-decoration: none; }

/* =============================================================
   滚动出现动画
   ============================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* =============================================================
   响应式
   ============================================================= */
@media (max-width: 980px) {
  .features-grid, .classes-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-links { position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: center; gap: 0; background: rgba(14,9,20,.98); padding: 0; max-height: 0; overflow: hidden; transition: max-height .35s ease; border-bottom: 1px solid var(--line-soft); }
  .nav.open .nav-links { max-height: 400px; padding: 16px 0; }
  .nav-links a { padding: 14px 0; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .stat-item:nth-child(3)::before, .stat-item:nth-child(2)::before { display: none; }
  .rewards-layout { grid-template-columns: 1fr; }
  .rewards-spine { display: none; }
}
@media (max-width: 560px) {
  .features-grid, .classes-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .cd-unit { min-width: 54px; }
  .cd-num { font-size: 1.5rem; }
  .hero { padding: 100px 5vw 120px; }
  .notice-toast { right: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .1ms !important; }
}



/* ============================================================================
   追梦60[怀旧版] · 末世废土 · 余烬黄昏 · 版式（追加末尾，优先级最高）
   焦黑底 · Hero 大图 + 暗罩 · 余烬发光标题 · 沙黄点睛 · 飞散火星
   ============================================================================ */

#preloader .pre-rose{display:none!important}
 /* 光标：本站启用「锈蚀十字镐」（第 7 识别维度）→ 隐藏系统箭头 */
@media (hover:hover) and (pointer:fine){
  body,a,button,.zf-btn,.nav-cta,.zf-cdbar-cta,.nav-toggle{cursor:none}
}
@media (hover:none),(pointer:coarse){
  .cursor-anchor,#cursorFx{display:none!important}
  *{cursor:auto}
  a,button,.zf-btn,.nav-cta,.zf-cdbar-cta,.nav-toggle{cursor:pointer}
}

/* 背景：焦黑 + 余烬/沙黄辉光 */
body{
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(224,99,47,.14), transparent 60%),
    radial-gradient(960px 520px at 6% 4%, rgba(217,169,97,.14), transparent 60%),
    linear-gradient(180deg,#120e0b 0%,#14100d 55%,#120e0b 100%) !important;
}

/* 导航：暗玻璃 + 金线 */
.nav{background:rgba(20,16,13,.86);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);box-shadow:0 6px 30px rgba(0,0,0,.5)}
.nav-logo-text{font-family:var(--font-black);font-weight:900;letter-spacing:2px;color:var(--text)}
.nav-links a{font-weight:700;letter-spacing:1px;color:var(--text-dim)}
.nav-links a:hover{color:var(--blood-lt)}
.nav-cta{background:var(--holo);background-size:180% 180%;color:#20150c;font-weight:900;font-family:var(--font-black);
  border:none;border-radius:8px;padding:10px 24px;box-shadow:0 6px 22px rgba(224,99,47,.4);animation:holoShift 6s ease infinite}
.nav-cta:hover{filter:brightness(1.07);transform:translateY(-1px)}
@keyframes holoShift{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}

/* HERO */
.zf-hero{position:relative;overflow:hidden;padding:0}
.zf-hero-bg{position:absolute;inset:0;z-index:0;background-size:cover;background-position:center top;opacity:.6}
.zf-hero-bg::after{content:"";position:absolute;inset:0;
  background:linear-gradient(90deg, rgba(20,16,13,.94) 0%, rgba(20,16,13,.6) 46%, rgba(20,16,13,.35) 100%),
             linear-gradient(0deg, #14100d 2%, rgba(20,16,13,.2) 46%, rgba(20,16,13,.55) 100%)}
.zf-crenel{display:block;position:absolute;top:0;left:0;height:3px;width:100%;z-index:3;background:var(--holo);opacity:.85}
.zf-hero-inner{max-width:1220px;margin:0 auto;padding:108px 5vw 44px;width:100%;
  display:grid;grid-template-columns:1.28fr .86fr;gap:40px;align-items:center;position:relative;z-index:2}
.zf-hero-copy{text-align:left}
.zf-kicker{display:inline-block;font-family:var(--font-cn);font-weight:800;letter-spacing:3px;
  color:var(--blood-lt);font-size:13px;padding:6px 16px;border-radius:6px;
  background:rgba(224,99,47,.08);border:1px solid var(--line);margin-bottom:20px}
.zf-latin{font-family:var(--font-latin);font-weight:800;letter-spacing:.32em;font-size:clamp(13px,1.8vw,19px);
  color:var(--gold-lt);margin-bottom:8px;text-indent:.32em}
.zf-title{font-family:var(--font-black);font-weight:900;line-height:1.04;letter-spacing:.02em;
  font-size:clamp(50px,7.5vw,108px);margin:4px 0 16px;text-align:left;
  background:var(--holo);background-size:200% 200%;-webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 4px 24px rgba(224,99,47,.4));animation:holoShift 7s ease infinite}
.zf-sub{font-family:var(--font-cn);font-weight:700;font-size:clamp(16px,2.5vw,24px);color:var(--text);margin-bottom:10px;text-shadow:0 2px 10px rgba(0,0,0,.5)}
.zf-sub em{font-style:normal;color:var(--blood-lt)}
.zf-tagline{color:var(--text-dim);font-size:clamp(14px,2vw,17px);margin-bottom:22px;text-shadow:0 2px 8px rgba(0,0,0,.5)}
.zf-tags{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:26px}
.zf-tags span{font-family:var(--font-cn);font-weight:700;font-size:13px;color:var(--gold-lt);
  padding:7px 15px;border-radius:6px;background:rgba(33,26,20,.7);border:1px solid var(--line)}
.zf-cta{display:flex;flex-wrap:wrap;gap:14px}
.zf-btn{display:inline-flex;align-items:center;gap:8px;font-family:var(--font-black);font-weight:900;font-size:17px;
  letter-spacing:1px;padding:14px 34px;text-decoration:none;transition:transform .18s,box-shadow .18s,filter .18s;border-radius:8px}
.zf-btn-red{background:var(--holo);background-size:200% 200%;color:#20150c;border:none;box-shadow:0 8px 26px rgba(224,99,47,.42);animation:holoShift 6s ease infinite}
.zf-btn-red:hover{transform:translateY(-2px);filter:brightness(1.07);box-shadow:0 12px 34px rgba(224,99,47,.55)}
.zf-btn-ghost{background:rgba(33,26,20,.6);color:var(--gold-lt);border:1.5px solid var(--gold)}
.zf-btn-ghost:hover{transform:translateY(-2px);background:rgba(217,169,97,.14);border-color:var(--gold-lt)}
.zf-hero-crest{display:flex;justify-content:center;align-items:center}
.zf-crest-svg{width:clamp(230px,30vw,380px);height:auto;filter:drop-shadow(0 0 34px rgba(224,99,47,.32)) drop-shadow(0 0 50px rgba(217,169,97,.25))}
.zf-crest-svg .ring-spin{transform-origin:200px 200px;animation:zfSpin 100s linear infinite}
@keyframes zfSpin{to{transform:rotate(360deg)}}

/* 倒计时条 */
.zf-cdbar{max-width:1220px;margin:8px auto 44px;padding:16px 5vw;
  display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;
  background:var(--panel);border-radius:14px;border:1px solid var(--line);border-top:2px solid var(--gold);box-shadow:0 12px 34px rgba(0,0,0,.45);position:relative}
.zf-cdbar-label{font-family:var(--font-black);font-weight:900;color:var(--text);font-size:clamp(15px,2vw,20px);letter-spacing:1px;display:flex;align-items:center;gap:10px}
.zf-drum{font-size:20px}
.zf-cdbar-clock{display:flex;gap:10px;align-items:center}
.zf-cdu{background:var(--panel2);border:1px solid var(--line);min-width:64px;text-align:center;padding:8px 6px;border-radius:10px}
.zf-cdu b{display:block;font-family:var(--font-latin);font-weight:900;font-size:30px;line-height:1;color:var(--blood-lt)}
.zf-cdu i{font-style:normal;font-size:11px;color:var(--text-dim);letter-spacing:1px}
.zf-cd-open{font-weight:900;font-size:16px;color:var(--blood-lt)}
.zf-cdbar-cta{font-family:var(--font-black);font-weight:900;font-size:16px;letter-spacing:1px;color:#20150c;padding:12px 26px;text-decoration:none;
  background:var(--holo);background-size:200% 200%;border:none;border-radius:8px;box-shadow:0 6px 22px rgba(224,99,47,.4);animation:holoShift 6s ease infinite}
.zf-cdbar-cta:hover{filter:brightness(1.07)}

/* 板块标题 */
.sec-head{text-align:center!important;position:relative;padding-left:0}
.sec-head::before{display:none!important}
.sec-eyebrow{font-family:var(--font-latin)!important;font-weight:800!important;letter-spacing:.3em!important;color:var(--gold-lt)!important;text-transform:uppercase}
.sec-title{font-family:var(--font-black)!important;font-weight:900!important;letter-spacing:2px!important;
  background:var(--holo);-webkit-background-clip:text;background-clip:text;color:transparent!important;filter:drop-shadow(0 2px 16px rgba(224,99,47,.3))}
.sec-title::after{content:"";display:block;width:72px;height:3px;margin:14px auto 0;border-radius:3px;background:var(--holo)}
.sec-divider{background:linear-gradient(90deg,var(--gold),var(--blood),transparent)!important;opacity:.6}
.sec-desc{text-align:center!important;color:var(--text-dim)}

/* 卡片 */
.reward-card,.cls-card,.feature-card,.news-card,.guide-card,.pack,.dl-card,.stat-item,.recharge-cta{
  border-radius:14px!important;border:1px solid var(--line)!important;background:var(--panel)!important;clip-path:none!important;box-shadow:0 12px 30px rgba(0,0,0,.4)!important}
.reward-card:hover,.cls-card:hover,.feature-card:hover,.news-card:hover,.guide-card:hover,.pack:hover{
  border-color:var(--gold)!important;box-shadow:0 16px 40px rgba(224,99,47,.22)!important;transform:translateY(-4px)}

/* 职业卡 */
.cls-front{background:linear-gradient(160deg,var(--panel2),var(--panel))!important}
.cls-name{font-family:var(--font-black)!important;font-weight:900!important;color:var(--text)!important;letter-spacing:2px!important}
.cls-sub{color:var(--gold-lt)!important}
.cls-icon{filter:drop-shadow(0 0 14px rgba(224,99,47,.5))!important}

/* 飞散火星（复用 ember，余烬/沙黄发光） */
.ember-layer{display:block!important;z-index:1}
.ember{border-radius:50%;filter:blur(.2px);mix-blend-mode:screen!important;opacity:.8;background:#ff8f52;box-shadow:0 0 10px 2px rgba(224,99,47,.7)}
.ember.blood{background:#f0c98a!important;box-shadow:0 0 10px 2px rgba(217,169,97,.7)!important}
.ember.pale{background:#fff2cf!important;box-shadow:0 0 12px 3px rgba(224,99,47,.6)!important}

/* 响应式 */
@media (max-width:860px){
  .zf-hero{min-height:auto}
  /* padding-top 必须 ≥ 固定导航高度（手机端约 81px），否则徽标顶部被导航条压住 */
  .zf-hero-inner{grid-template-columns:1fr;text-align:center;gap:18px;padding-top:100px}
  .zf-hero-copy{text-align:center}
  .zf-title,.zf-sub{text-align:center}
  .zf-tags,.zf-cta{justify-content:center}
  .zf-hero-crest{order:-1}.zf-crest-svg{width:200px}
  .zf-cdbar{justify-content:center}
}

/* 预载 */
#preloader{background:radial-gradient(circle at 50% 45%,#1b1511,#14100d 70%)!important}
.pre-text{font-family:var(--font-black);font-weight:900;letter-spacing:.5em;background:var(--holo);-webkit-background-clip:text;background-clip:text;color:transparent}
.zf-pre-seal{width:104px;height:104px;margin:0 auto 18px;display:grid;place-items:center;
  font-family:var(--font-black);font-weight:900;font-size:30px;color:#20150c;line-height:1.1;
  background:var(--holo);background-size:200% 200%;border:none;border-radius:3px;
  clip-path:polygon(50% 0,100% 27%,100% 73%,50% 100%,0 73%,0 27%);
  box-shadow:0 10px 30px rgba(224,99,47,.42);animation:holoShift 4s ease infinite,zfPulse 1.6s ease-in-out infinite}
@keyframes zfPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}

/* 根底色 */
html{background:#14100d}

/* =============================================================
   2026-08-02 · 暗夜史诗 收尾修正
   （--gold 在本站已重映射为「沙黄」，只作点缀；
     主 CTA / 徽标一律走 --blood 余烬熔橙，避免沙黄抢主色）
   ============================================================= */

/* 下载区：整块亮蓝 band → 暗夜湖底 */
.download-sec { background: linear-gradient(180deg, var(--bg), #15100c 55%, rgba(166,124,62,.16) 120%) !important; }

/* 主按钮 / 角标：沙黄 → 余烬熔橙 */
.btn-primary, .dl-item-btn, .pack-btn, .guide-tab.active, .side-row-copy.copied {
  background: linear-gradient(135deg, var(--blood-lt), var(--blood)) !important;
  color: #20150c !important; border-color: var(--blood-lt) !important;
}
.btn-primary { box-shadow: var(--glow-blood) !important; }
.dl-item-tag, .pack-badge {
  background: linear-gradient(135deg, var(--blood-lt), var(--blood)) !important; color: #20150c !important;
}
.dl-item-btn:hover, .pack-btn:hover, .btn-primary:hover { box-shadow: 0 0 24px rgba(224,99,47,.62) !important; }
.dl-item-featured { box-shadow: 0 0 24px rgba(224,99,47,.3) !important; border-color: var(--blood) !important; }

/* 客服悬浮球：金→蓝渐变中段发青绿 → 暗金 */
.chat-fab {
  background: linear-gradient(135deg, #2c2219, #1d1712) !important;
  border-color: var(--blood) !important; color: var(--blood-lt) !important;
  box-shadow: 0 0 22px rgba(224,99,47,.35), 0 8px 24px rgba(0,0,0,.5) !important;
}
.chat-fab-icon { background: rgba(224,99,47,.16) !important; }
.chat-fab-dot   { background: var(--blood-lt) !important; box-shadow: 0 0 8px var(--blood) !important; }
.chat-fab-bubble {
  background: linear-gradient(160deg, var(--panel2), #1d1712) !important;
  border-color: var(--blood) !important; color: var(--blood-lt) !important;
  box-shadow: 0 0 18px rgba(224,99,47,.3) !important;
}
.chat-panel-head { background: linear-gradient(135deg, #2c2219, #1d1712) !important; }
.chat-panel-body { background: var(--bg2) !important; }

/* 客服球压住页脚版权 → 给页脚留出让位 */
.site-footer, footer.footer, footer { padding-bottom: 92px; }
@media (max-width: 560px) { .site-footer, footer.footer, footer { padding-bottom: 76px; } }

/* 职业卡 5 张：3+2 尾行居中，不留右侧空格 */
.classes-grid { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 26px; }
.classes-grid .cls-wrap { flex: 0 1 calc((100% - 52px) / 3); max-width: calc((100% - 52px) / 3); }
@media (max-width: 980px) {
  .classes-grid .cls-wrap { flex-basis: calc((100% - 26px) / 2); max-width: calc((100% - 26px) / 2); }
}
@media (max-width: 620px) {
  .classes-grid .cls-wrap { flex-basis: 100%; max-width: 100%; }
}

/* 版本特色：金质 SVG 徽记（替代彩色 emoji） */
.feature-icon img, .feature-icon svg {
  display: block; width: 54px; height: 54px;
  filter: drop-shadow(0 0 12px rgba(224,99,47,.45));
}
.feature-icon { display: inline-block; line-height: 0; }

/* 页脚「联系我们」未配置时的兜底 */
.contact-fallback { color: var(--text-dim); font-size: .92rem; line-height: 1.8; margin-bottom: 12px; }
.contact-fallback b { color: var(--blood-lt); }
.footer-contact-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 8px; font-weight: 700; font-size: .92rem;
  color: #20150c; background: linear-gradient(135deg, var(--blood-lt), var(--blood));
  box-shadow: 0 6px 18px rgba(224,99,47,.28); transition: box-shadow .2s, transform .2s;
}
.footer-contact-btn:hover { transform: translateY(-2px); box-shadow: 0 0 22px rgba(224,99,47,.55); }

/* 公告类型角标：底色为实色时用深墨字，避免浅字压浅底 */
.news-type.activity, .news-type.update, .news-type.notice, .news-type.maintenance {
  color: #20150c; font-weight: 700;
}
.news-type.notice { background: var(--purple-lt); }

/* 流萤粒子不得撑出横向滚动（手机端 scrollWidth 溢出） */
.ember-layer { overflow: hidden !important; }

/* 手机端：拉丁眉标(Black Ops One + .3em 字距)会撑破容器 → 缩字距并允许换行 */
@media (max-width: 560px) {
  .sec-eyebrow {
    display: block; letter-spacing: .18em !important;
    font-size: .72rem; word-break: break-word; overflow-wrap: anywhere; max-width: 100%;
  }
}

/* 职业卡背面：原为整块浅渐变，浅底压浅字几乎读不出 → 废土暗面板 + 沙黄描边 */
.cls-back {
  background: linear-gradient(160deg, rgba(224,99,47,.16), var(--panel2) 45%, var(--bg)) !important;
  border: 1px solid var(--blood) !important;
  box-shadow: inset 0 0 40px rgba(224,99,47,.10) !important;
}
.cls-back .cls-name { color: var(--blood-lt) !important; }
.cls-back .cls-desc { color: var(--text-dim) !important; }
.cls-back .cls-tag  { color: var(--gold-lt) !important; border-color: rgba(217,169,97,.55) !important; background: rgba(217,169,97,.08); }

/* =============================================================
   Hero 大图模式（config.hero_image 有值时 index.php 给 .zf-hero 加 .has-bg）
   —— 大图本身就是视觉主体：隐藏六角铁牌徽标（同位置会被完全压住、图白出），
      并把大图提亮 + 右侧暗罩减弱，否则 .6 不透明度下主体几乎看不见。
      没配大图时保持原样（铁牌照常显示、重暗罩）。
   ============================================================= */
.zf-hero.has-bg .zf-hero-crest{display:none}
.zf-hero.has-bg .zf-hero-bg{opacity:.9}
.zf-hero.has-bg .zf-hero-bg::after{
  background:linear-gradient(90deg, rgba(20,16,13,.96) 0%, rgba(20,16,13,.72) 42%, rgba(20,16,13,.12) 100%),
             linear-gradient(0deg, #14100d 2%, rgba(20,16,13,.15) 46%, rgba(20,16,13,.5) 100%)}
/* 大图模式下文案独占整行（原本右半留给铁牌） */
.zf-hero.has-bg .zf-hero-inner{grid-template-columns:1fr}
.zf-hero.has-bg .zf-hero-copy{max-width:640px}

@media (max-width:860px){
  /* 手机端 cover 裁切很凶：主体在源图右侧，锚到右边才不会把人裁掉 */
  .zf-hero.has-bg .zf-hero-bg{background-position:78% top;opacity:.72}
  /* 竖屏文字压在图上，左侧暗罩改成整体压暗保可读 */
  .zf-hero.has-bg .zf-hero-bg::after{
    background:linear-gradient(180deg, rgba(20,16,13,.82) 0%, rgba(20,16,13,.62) 40%, rgba(20,16,13,.88) 100%)}
  .zf-hero.has-bg .zf-hero-copy{max-width:none}
}
