/* =============================================================
   征服DNF · P14 帝王赤金 · style.css
   赤红 #c1121f + 帝金 #d4af37 + 玄黑 / 暗赤
   毛笔征战字 · 战旗龙纹 · 金属冷光 · 帝印盖落
   —— 变量名沿用旧结构(--purple/--blood 等)以复用全站引用，
      但取值已全部重映射为赤金体系；维护时以此注释为准。
   ============================================================= */

:root {
  --bg:          #0c0705;   /* 玄黑带暖 */
  --bg2:         #160a08;   /* 深赤黑 */
  --panel:       #1b0d0a;   /* 面板底 */
  --panel2:      #2a1210;   /* 面板高 */
  --purple:      #4a0f14;   /* [原紫→暗赤] 暗赤基调 */
  --purple-lt:   #6d1620;   /* [原紫亮→赤棕] */
  --blood:       #c1121f;   /* 赤红 主色 */
  --blood-lt:    #e63946;   /* 亮赤 */
  --gold:        #d4af37;   /* 帝金 */
  --gold-lt:     #f5d878;   /* 亮金 */
  --gold-dim:    #a8842a;   /* 暗金 */
  --silver:      #cdb98a;   /* 香槟银(暖) */
  --text:        #f3ead9;   /* 暖白 */
  --text-dim:    #c3ab89;   /* 暖灰金 */
  --text-mute:   #8a7359;   /* 暗暖灰 */
  --line:        rgba(212,175,55,.24);
  --line-soft:   rgba(212,175,55,.12);

  --font-black:  'Ma Shan Zheng', 'Noto Serif SC', serif;   /* 毛笔征战感，替代哥特 blackletter */
  --font-latin:  'Cinzel', 'Noto Serif SC', serif;          /* 罗马帝国大写，替代 Cormorant */
  --font-cn:     'Noto Serif SC', 'Songti SC', serif;

  --shadow:      0 18px 50px rgba(0,0,0,.6);
  --glow-gold:   0 0 24px rgba(212,175,55,.5);
  --glow-blood:  0 0 26px rgba(193,18,31,.55);
  --radius:      14px;
  --maxw:        1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-cn);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
  background-image:
    radial-gradient(circle at 18% 8%, rgba(139,21,56,.14), transparent 42%),
    radial-gradient(circle at 82% 12%, rgba(90,42,74,.18), transparent 46%),
    radial-gradient(circle at 50% 100%, rgba(45,27,61,.35), transparent 60%);
  background-attachment: fixed;
}

/* 细纹圣堂石壁纹理叠加 */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,.16) 3px, rgba(0,0,0,.16) 4px);
  opacity: .30; mix-blend-mode: multiply;
}

@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); } }

/* =============================================================
   自定义光标 · 哥特十字（非圆主形状 · P11 唯一识别）
   ============================================================= */
.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: -13px; top: -13px;
  width: 26px; height: 26px;
  border-radius: 2px;             /* 非圆：明确非 50% */
  transition: transform .18s ease, filter .18s ease;
  filter: drop-shadow(0 0 6px rgba(201,169,107,.85));
}
/* 十字竖臂 + 横臂，构成哥特十字 */
.cursor-shape::before, .cursor-shape::after {
  content: ""; position: absolute;
  background: linear-gradient(var(--gold-lt), var(--gold));
  border-radius: 1px;
}
.cursor-shape::before { left: 11px; top: 0;  width: 4px; height: 26px; }   /* 竖 */
.cursor-shape::after  { left: 4px; top: 8px; width: 18px; height: 4px; }   /* 横 */
.cursor-inner {
  position: absolute; left: 9px; top: 9px;
  width: 8px; height: 8px;
  background: var(--blood-lt);
  transform: rotate(45deg);       /* 菱形核心，非圆 */
  border-radius: 1px;
  box-shadow: 0 0 8px var(--blood);
}
.cursor-anchor.active .cursor-shape { transform: scale(1.5) rotate(45deg); filter: drop-shadow(0 0 10px rgba(176,40,76,.9)); }
.cursor-anchor.click  .cursor-shape { transform: scale(.8); }
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(139,21,56,.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(45,27,61,.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(139,21,56,.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(45,27,61,.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(45,27,61,.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(139,21,56,.4);
  filter: drop-shadow(0 2px 1px rgba(0,0,0,.6));
  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(45,27,61,.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(45,27,61,.5);
  border: 1px solid var(--gold);
}
.btn-ghost:hover { background: rgba(139,21,56,.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(45,27,61,.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(139,21,56,.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, var(--purple), var(--bg2));
  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; }
.stat-item + .stat-item::before {
  content: ""; position: absolute; left: -10px; top: 15%; bottom: 15%; width: 1px;
  background: var(--line-soft);
}
.stat-num {
  font-family: var(--font-latin); font-weight: 700; font-size: clamp(2rem, 5vw, 3rem);
  color: var(--gold-lt); line-height: 1;
  text-shadow: 0 0 18px rgba(201,169,107,.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(139,21,56,.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(--gold); padding: 3px 10px;
  border: 1px solid var(--line); border-radius: 20px; background: rgba(45,27,61,.6);
}
.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(--panel2), var(--purple)); }
.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 0 12px rgba(201,169,107,.5)); }
.cls-name { font-family: var(--font-cn); font-weight: 900; font-size: 1.5rem; color: var(--gold-lt); }
.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(139,21,56,.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(139,21,56,.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(45,27,61,.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(139,21,56,.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;
  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;
}
.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;
  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(139,21,56,.22), rgba(45,27,61,.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; }
.footer-beian { display: flex; gap: 16px; }
.footer-beian a { color: var(--text-mute); font-size: .85rem; }
.footer-beian a:hover { color: var(--gold); }

/* =============================================================
   客服侧栏（标准位置）
   ============================================================= */
.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,.5); 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,.5); }
.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,.6);
  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; }
}

/* ============================================================================
   征服DNF · P14 帝王赤金 · 版式重构（追加末尾，优先级最高，覆盖 P11 版式）
   非对称战旗 · 左对齐大标题 · 帝印 · 横向战鼓倒计时 · 硬朗切角 · 序号印章
   ============================================================================ */

/* —— 停用 P11 遗留装饰（玫瑰预载/烛烬/哥特光标） —— */
#preloader .pre-rose{display:none!important}
#preloader{background:#0c0705}
.pre-text{font-family:var(--font-black);color:var(--gold-lt);letter-spacing:.5em}
.ember-layer{display:none!important}
.cursor-anchor,#cursorFx{display:none!important}
* {cursor:auto}
a,button,.zf-btn{cursor:pointer}

/* —— 背景：斜向战旗纹理，替代居中径向辉光 —— */
body{
  background:
    radial-gradient(1200px 600px at 78% -8%, rgba(193,18,31,.16), transparent 60%),
    linear-gradient(180deg,#0c0705 0%,#160a08 55%,#0c0705 100%),
    repeating-linear-gradient(135deg, transparent 0 42px, rgba(212,175,55,.03) 42px 44px) !important;
}

/* —— 导航：实心战旗横条，左金右赤 —— */
.nav{background:linear-gradient(90deg,rgba(20,8,7,.96),rgba(30,10,9,.96));
  border-bottom:2px solid var(--gold);box-shadow:0 2px 0 var(--blood),0 10px 30px rgba(0,0,0,.5)}
.nav-logo-text{font-family:var(--font-cn);font-weight:900;letter-spacing:2px;color:var(--gold-lt)}
.nav-links a{font-weight:700;letter-spacing:1px}
.nav-links a:hover{color:var(--gold-lt)}
.nav-cta{background:linear-gradient(180deg,var(--blood-lt),var(--blood));color:#fff;font-weight:900;
  border:1px solid var(--gold);border-radius:0;clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px);
  box-shadow:0 0 18px rgba(193,18,31,.5)}

/* —— HERO —— */
.zf-hero{position:relative;overflow:hidden;padding:0 0 0;
  background:linear-gradient(180deg,rgba(58,12,16,.35),transparent 40%)}
.zf-crenel{display:block;height:14px;width:100%;
  background:repeating-linear-gradient(90deg,var(--gold) 0 26px,transparent 26px 52px);
  opacity:.5;mask:linear-gradient(180deg,#000,#000);}
.zf-hero-inner{max-width:1220px;margin:0 auto;padding:48px 5vw 40px;
  display:grid;grid-template-columns:1.28fr .9fr;gap:36px;align-items:center}
.zf-hero-copy{text-align:left}
.zf-kicker{display:inline-block;font-family:var(--font-latin);font-weight:700;letter-spacing:3px;
  color:var(--gold);font-size:13px;padding:6px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:18px}
.zf-latin{font-family:var(--font-latin);font-weight:900;letter-spacing:.42em;font-size:clamp(15px,2vw,20px);
  color:var(--blood-lt);margin-bottom:6px;text-indent:.42em}
.zf-title{font-family:var(--font-black);font-weight:900;line-height:.92;letter-spacing:.04em;
  font-size:clamp(58px,9.5vw,132px);margin:2px 0 14px;
  background:linear-gradient(160deg,var(--gold-lt),var(--gold) 55%,#8a6a1e);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 4px 20px rgba(212,175,55,.35));text-align:left}
.zf-sub{font-family:var(--font-cn);font-weight:700;font-size:clamp(16px,2.6vw,24px);color:var(--text);margin-bottom:10px}
.zf-sub em{color:var(--blood-lt);font-style:normal}
.zf-tagline{color:var(--text-dim);font-size:clamp(13px,2vw,16px);margin-bottom:20px}
.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;background:rgba(193,18,31,.14);border:1px solid var(--line);
  clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px)}
.zf-cta{display:flex;flex-wrap:wrap;gap:14px}
.zf-btn{display:inline-flex;align-items:center;gap:8px;font-family:var(--font-cn);font-weight:900;font-size:16px;
  letter-spacing:1px;padding:15px 30px;text-decoration:none;transition:transform .18s,box-shadow .18s;
  clip-path:polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px)}
.zf-btn-red{background:linear-gradient(180deg,var(--blood-lt),var(--blood));color:#fff;border:1px solid var(--gold-lt);
  box-shadow:0 0 26px rgba(193,18,31,.5),inset 0 0 0 1px rgba(255,255,255,.08)}
.zf-btn-red:hover{transform:translateY(-2px);box-shadow:0 8px 34px rgba(193,18,31,.7)}
.zf-btn-ghost{background:rgba(212,175,55,.06);color:var(--gold-lt);border:1px solid var(--gold)}
.zf-btn-ghost:hover{transform:translateY(-2px);background:rgba(212,175,55,.14)}
.zf-hero-crest{display:flex;justify-content:center;align-items:center}
.zf-crest-svg{width:clamp(240px,30vw,380px);height:auto;
  filter:drop-shadow(0 0 40px rgba(212,175,55,.35)) drop-shadow(0 0 60px rgba(193,18,31,.25))}
.zf-crest-svg circle:nth-child(2){transform-origin:200px 200px;animation:zfSpin 60s linear infinite}
@keyframes zfSpin{to{transform:rotate(360deg)}}

/* —— 横向战鼓倒计时条 —— */
.zf-cdbar{max-width:1220px;margin:6px auto 40px;padding:16px 5vw;
  display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;
  background:linear-gradient(90deg,rgba(58,12,16,.7),rgba(12,7,5,.7));
  border-top:2px solid var(--gold);border-bottom:2px solid var(--gold);position:relative}
.zf-cdbar-label{font-family:var(--font-cn);font-weight:900;color:var(--gold-lt);font-size:clamp(15px,2vw,19px);
  letter-spacing:2px;display:flex;align-items:center;gap:10px}
.zf-drum{color:var(--blood-lt);font-size:22px}
.zf-cdbar-clock{display:flex;gap:10px;align-items:center}
.zf-cdu{background:rgba(10,5,4,.8);border:1px solid var(--gold);min-width:66px;text-align:center;padding:8px 6px;
  clip-path:polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px)}
.zf-cdu b{display:block;font-family:var(--font-latin);font-weight:900;font-size:30px;color:var(--gold-lt);line-height:1}
.zf-cdu i{font-style:normal;font-size:11px;color:var(--text-dim);letter-spacing:1px}
.zf-cd-open{color:var(--gold-lt);font-weight:900;font-size:16px}
.zf-cdbar-cta{font-family:var(--font-cn);font-weight:900;font-size:15px;color:#fff;padding:12px 24px;text-decoration:none;
  background:linear-gradient(180deg,var(--blood-lt),var(--blood));border:1px solid var(--gold-lt);
  clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px);box-shadow:0 0 18px rgba(193,18,31,.5)}
.zf-cdbar-cta:hover{filter:brightness(1.12)}

/* —— 板块标题：序号印章风，覆盖 P11 居中细描 —— */
.sec-head{text-align:left!important;position:relative;padding-left:20px}
.sec-head::before{content:"";position:absolute;left:0;top:2px;bottom:2px;width:5px;
  background:linear-gradient(180deg,var(--blood-lt),var(--blood));box-shadow:0 0 12px rgba(193,18,31,.6)}
.sec-eyebrow{font-family:var(--font-latin)!important;font-weight:900!important;letter-spacing:.3em!important;
  color:var(--blood-lt)!important;text-transform:uppercase}
.sec-title{font-family:var(--font-cn)!important;font-weight:900!important;letter-spacing:3px!important;
  color:var(--gold-lt)!important;text-shadow:0 2px 14px rgba(212,175,55,.25)}
.sec-title::after{content:"";display:block;width:64px;height:3px;margin-top:12px;
  background:linear-gradient(90deg,var(--gold),transparent)}
.sec-divider{background:linear-gradient(90deg,var(--blood),var(--gold),transparent)!important;opacity:.6}
.sec-desc{text-align:left!important}

/* —— 卡片硬朗切角（覆盖 P11 圆角柔面板） —— */
.reward-card,.cls-card,.feature-card,.news-card,.guide-card,.pack,.dl-card,.stat-item,.recharge-cta{
  border-radius:0!important;border:1px solid var(--line)!important;
  clip-path:polygon(14px 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%,0 14px)}
.reward-card:hover,.cls-card:hover,.feature-card:hover,.news-card:hover,.guide-card:hover,.pack:hover{
  border-color:var(--gold)!important}

/* —— 响应式 —— */
@media (max-width:860px){
  .zf-hero-inner{grid-template-columns:1fr;text-align:center;gap:18px;padding-top:32px}
  .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}
  .sec-head{text-align:center!important;padding-left:0}
  .sec-head::before{display:none}
  .sec-title::after{margin-left:auto;margin-right:auto}
}

/* —— 预载印章（替代玫瑰预载） —— */
.zf-pre-seal{width:96px;height:96px;margin:0 auto 18px;display:grid;place-items:center;
  font-family:var(--font-black);font-size:56px;color:var(--gold-lt);
  background:radial-gradient(circle,#3a0c10,#160a08);border:3px solid var(--gold);border-radius:14px;
  box-shadow:0 0 30px rgba(212,175,55,.4);animation:zfPulse 1.3s ease-in-out infinite}
@keyframes zfPulse{0%,100%{transform:scale(1);box-shadow:0 0 24px rgba(212,175,55,.35)}50%{transform:scale(1.06);box-shadow:0 0 40px rgba(193,18,31,.55)}}

/* —— 根底色兜底：防滚动/短内容露白 —— */
html{background:#0c0705}
