/* =========================================================
   Mystic Vault — Nocturne · Vault Gold · Velvet Black
   =========================================================
   【可自定义区域】全局文字硬性对比规则（本次核心 · 最高优先级）
   ---------------------------------------------------------
   1. 分层色值（固定，全部 !important 强制覆盖）：
      - --ivory (主标题/年份/正文强调) = #FFE0B0 亮金奶油
      - --mute  (辅助小字统一)         = #F2CD94 高对比暖金
      - --gold-1 (主金 UI/按钮描边)    = #F2CD94
      - --gold-2 (高光/主标题渐变)     = #FFE0B0
      禁止色值低于 #D0A060 的浅灰/淡金——已一次性替换掉。
   2. 硬性阴影（不可省略）：
      - 辅助小字：text-shadow: 0 2px 4px #000, 0 0 6px rgba(0,0,0,1)
      - 主标题/年份：text-shadow: 0 1px 3px #000, 0 0 4px rgba(0,0,0,0.9)
   3. 覆盖范围（一次性 !important 覆盖，中英切换后样式一致）：
      副标题、时间线年份/描述、工艺卡片说明、倒计时副标题、
      弹窗表单占位/报错、活动规则小字、滚动弹幕、图片说明、底部辅助文案。
   ========================================================= */
:root {
  --ink-0: #050505;
  --ink-1: #0c0a08;
  --ink-2: #17130e;
  --ink-3: #1f1a12;
  --line: #2a2218;
  --line-2: #3a2f1e;
  --gold-1: #f2cd94; /* 主金 UI */
  --gold-2: #ffe0b0; /* 高光/主标题 */
  --gold-3: #c9a06a; /* 暗金阴影 */
  --ivory: #ffe0b0; /* 主标题/强调：亮金奶油 */
  --mute:  #f2cd94; /* 辅助小字统一：高对比暖金 */
  --danger: #e06050;
  /* 硬性黑色文字阴影，任何黑底文字都能被清晰分离 */
  --text-glow:      0 1px 3px #000, 0 0 4px rgba(0,0,0,0.95);
  --text-glow-soft: 0 1px 2px #000, 0 0 3px rgba(0,0,0,0.85);
  --ease: cubic-bezier(0.32, 0.72, 0.24, 1);
  --dur: 480ms;
  --font-serif-en: "Cormorant Garamond", "Noto Serif SC", Georgia, serif;
  --font-serif-cn: "Noto Serif SC", "Cormorant Garamond", serif;
  --font-sans: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

/* =========================================================
   Reset
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--ink-0);
  color: var(--ivory);
  /* 全局硬性文字投影：黑色双阴影，任何鎏金文字都能从黑底清晰分离 */
  text-shadow: 0 2px 4px #000, 0 0 6px rgba(0,0,0,1);
  font-family: var(--font-serif-en);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  font-weight: 400;
  letter-spacing: 0.04em;
  /* 全局浅文字统一高对比暖金 */
  text-shadow: 0 0 1px rgba(0,0,0,0.9), 0 0 2px rgba(0,0,0,0.7);
}
/* 小字/辅助/占位/规则/时间戳类文字统一加深高亮鎏金 + 强黑色投影 */
.mute,
.eyebrow,
.floater-hint,
.floater-text,
.floater-count,
.timeline-year,
.timeline-desc,
.rules-list li,
.rules-item,
.form-hint,
.form-error,
.form-label,
.form-note,
.craft-desc,
.craft-item .desc,
.craft-title,
.accessory-desc,
.footer-text,
.help-text,
.field-note,
.classic-desc,
.classic-tag,
.brand-tagline,
.section-desc,
.section-sub,
.section-tag,
.stage-hint,
.suspense-sub,
.lightbox-cap,
.success-text,
.danmaku-item,
.light-text,
.subtitle,
.desc-text,
.rules-text,
.bullet-text,
.form-placeholder,
.barrage-text {
  color: var(--mute) !important;
  font-weight: 500 !important;
  text-shadow: 0 2px 4px #000, 0 0 6px rgba(0,0,0,1) !important;
}
/* 主标题 / 强调数字：亮金 + 细阴影 */
.section-title,
.brand-logo,
.brand-name,
.timeline-title,
.craft-item-title,
.classic-name,
.prize-title,
.success-title,
.hero-eyebrow,
.highlight-text {
  color: var(--ivory) !important;
  text-shadow: 0 1px 2px #000, 0 0 3px rgba(0,0,0,0.85) !important;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
input,
textarea {
  font-family: inherit;
}

/* =========================================================
   Global noise & vignette
   ========================================================= */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.79  0 0 0 0 0.66  0 0 0 0 0.42  0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.35;
  mix-blend-mode: overlay;
  z-index: 2;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse at 50% 30%,
    transparent 0%,
    rgba(0, 0, 0, 0.55) 90%
  );
  z-index: 1;
}

/* =========================================================
   Typography
   ========================================================= */
.serif-en {
  font-family: var(--font-serif-en);
  letter-spacing: 0.04em;
  font-weight: 300;
}
.serif-cn {
  font-family: var(--font-serif-cn);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.gold-text {
  color: var(--gold-1);
}
.mute {
  color: var(--mute);
}

/* =========================================================
   Loading overlay
   ========================================================= */
/* =========================================================
   Loader — 2s full-screen luxury intro
   Layout: fixed full screen, center everything with flex
   Layers (z from bottom to top):
     1) .loader-bg     hero.jpg watch background image (cover)
     2) .loader-vignette dark radial overlay for depth
     3) #loaderParticles  gold particles converging to center
     4) .loader-inner  centered MYSTIC VAULT + progress
   ========================================================= */
.loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050505;
  transition: opacity 0.55s ease-out, visibility 0.55s ease-out;
}
.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-bg {
  position: absolute;
  inset: 0;
  background: url("/assets/hero.jpg") center/cover no-repeat, #0a0a0a;
  filter: brightness(0.55) saturate(0.85);
  z-index: 0;
}
.loader-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.92) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.5) 100%);
  z-index: 1;
}
.loader-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.loader-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 0 24px;
  width: 100%;
  max-width: 480px;
  text-align: center;
}
.loader-brand {
  font-family: var(--font-serif-en);
  font-size: clamp(22px, 5.6vw, 30px);
  letter-spacing: 0.55em;
  color: #FFE0B0;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,0.95), 0 0 14px rgba(242,205,148,0.45);
  font-weight: 400;
  margin-left: 0.55em; /* compensate letter-spacing so text is optically centered */
}
.loader-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}
.loader-progress-track {
  position: relative;
  width: min(78vw, 320px);
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(242, 205, 148, 0.28);
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.65) inset, 0 0 8px rgba(242,205,148,0.15);
}
.loader-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #7a5e32 0%, #e2bc80 45%, #f8dfa0 75%, #ffe0b0 100%);
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(242,205,148,0.85), 0 0 6px #f8dfa0;
  transition: width 0.08s linear;
}
.loader-progress-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,224,176,0.12) 50%, transparent 100%);
  pointer-events: none;
}
.loader-progress-num {
  font-family: var(--font-serif-en);
  font-size: clamp(14px, 3.4vw, 16px);
  letter-spacing: 0.28em;
  color: #F2CD94;
  text-shadow: 0 2px 4px #000, 0 0 6px rgba(0,0,0,1);
  min-height: 1em;
  font-weight: 400;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 5, 0.85),
    rgba(5, 5, 5, 0)
  );
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-logo {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: var(--gold-1);
  background: linear-gradient(145deg, var(--ink-2), var(--ink-1));
  overflow: hidden;
}
.brand-logo svg {
  width: 20px;
  height: 20px;
}
.brand-name {
  font-family: var(--font-serif-en);
  color: var(--gold-1);
  font-size: 15px;
  letter-spacing: 0.24em;
  font-weight: 300;
  text-shadow: 0 0 12px rgba(240, 214, 138, 0.5), 0 0 4px rgba(240, 214, 138, 0.3);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 3px;
  background: rgba(20, 15, 8, 0.7);
  overflow: hidden;
}
.lang-btn {
  padding: 6px 14px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--mute);
  border-radius: 999px;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
  font-family: var(--font-serif-en);
  font-weight: 300;
}
.lang-btn.active {
  background: linear-gradient(145deg, var(--gold-3), var(--gold-1));
  color: #1a1409;
}
.lang-btn.tapped {
  animation: tapPulse 0.35s var(--ease);
}
@keyframes tapPulse {
  0% { transform: scale(1); }
  40% { transform: scale(0.92); }
  100% { transform: scale(1); }
}

/* =========================================================
   Hero — Countdown (centered clock face)
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 96px 20px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  z-index: 3;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(122, 94, 50, 0.16) 0%, transparent 60%),
    url("/assets/hero.jpg") center/cover no-repeat;
  filter: brightness(0.42) saturate(0.85) contrast(1.05);
  z-index: -1;
  transform: scale(1.05);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 5, 0.55) 0%,
    rgba(5, 5, 5, 0.35) 40%,
    rgba(5, 5, 5, 0.9) 100%
  );
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold-1);
  font-family: var(--font-serif-en);
  font-size: 11px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 24px;
  font-weight: 300;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: "";
  width: 32px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-1), transparent);
}

/* Clock + Countdown — centered */
.countdown-stage {
  position: relative;
  width: min(88vw, 420px);
  aspect-ratio: 1 / 1;
  margin: 8px auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.clock {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.clock .dial-ring {
  stroke: var(--line-2);
  fill: none;
  stroke-width: 1;
}
.clock .dial-ring-inner {
  stroke: var(--line);
  fill: none;
  stroke-width: 1;
  stroke-dasharray: 2 6;
  opacity: 0.55;
}
.clock .tick-major {
  stroke: var(--gold-1);
  stroke-width: 1.5;
  opacity: 0.85;
}
.clock .tick-minor {
  stroke: var(--gold-3);
  stroke-width: 1;
  opacity: 0.6;
}
.clock .roman {
  font-family: var(--font-serif-en);
  fill: var(--gold-1);
  font-size: 12px;
  opacity: 0.85;
  letter-spacing: 0.06em;
  font-weight: 300;
}
.clock .center-cap {
  fill: var(--gold-2);
}
.clock .hand {
  fill: var(--gold-1);
  transform-origin: 50% 50%;
  transition: transform 900ms var(--ease);
}
.clock .hand.trail {
  fill: var(--gold-1);
  opacity: 0.25;
  filter: blur(1.5px);
  transform-origin: 50% 50%;
}

.countdown-number {
  position: relative;
  z-index: 5;
  font-family: var(--font-serif-en);
  font-weight: 300;
  font-size: clamp(120px, 32vw, 220px);
  line-height: 1;
  letter-spacing: 0.02em;
  background: linear-gradient(
    180deg,
    var(--gold-2) 0%,
    var(--gold-1) 45%,
    var(--gold-3) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity 380ms var(--ease), filter 380ms var(--ease), transform 380ms var(--ease);
  will-change: opacity, filter;
  text-shadow: 0 0 40px rgba(201, 169, 106, 0.15);
}
.countdown-number.swap {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(-6px);
}
.countdown-number.pulse {
  animation: numPulse 0.8s var(--ease) infinite;
}
@keyframes numPulse {
  0%, 100% { filter: brightness(1); opacity: 1; }
  50% { filter: brightness(1.5); opacity: 0.95; }
}

.countdown-label {
  font-family: var(--font-serif-en);
  color: var(--mute);
  font-size: 12px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  margin-top: 6px;
  font-weight: 300;
}

/* Suspense copy */
.suspense {
  margin-top: 26px;
  max-width: 640px;
  min-height: 80px;
}
.suspense-headline {
  font-family: var(--font-serif-cn);
  color: var(--ivory);
  font-size: clamp(20px, 5.4vw, 28px);
  line-height: 1.45;
  min-height: 2.9em;
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
  letter-spacing: 0.06em;
  font-weight: 300;
}
.suspense-headline[lang="en"] {
  font-family: var(--font-serif-en);
  letter-spacing: 0.04em;
  font-weight: 300;
}
.suspense-sub {
  margin-top: 12px;
  color: var(--mute);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--font-serif-en);
  font-weight: 300;
}
.suspense.swap .suspense-headline {
  opacity: 0;
  transform: translateY(6px);
}

.gold-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-1), transparent);
  margin: 28px auto;
}

/* =========================================================
   Sections
   ========================================================= */
.section {
  position: relative;
  padding: 76px 20px;
  max-width: 720px;
  margin: 0 auto;
  z-index: 3;
  text-align: center;
}
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-eyebrow {
  font-family: var(--font-serif-en);
  color: var(--gold-1);
  font-size: 11px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  margin-bottom: 14px;
  opacity: 0.85;
  font-weight: 300;
}
.section-title {
  font-family: var(--font-serif-cn);
  font-weight: 400;
  font-size: clamp(24px, 6vw, 34px);
  color: var(--ivory);
  letter-spacing: 0.08em;
  line-height: 1.35;
}
.section-title[lang="en"] {
  font-family: var(--font-serif-en);
  letter-spacing: 0.04em;
  font-weight: 300;
}
.section-desc {
  margin-top: 12px;
  color: var(--mute);
  font-size: 15px;
  font-weight: 500;
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
  text-shadow: 0 2px 4px #000, 0 0 6px rgba(0,0,0,1);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.parallax {
  will-change: transform;
  transition: transform 60ms linear;
}

/* --- Classic showcase --- */
.classic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .classic-grid { grid-template-columns: repeat(2, 1fr); }
}
.classic-card {
  position: relative;
  border: 1px solid var(--line-2);
  background: linear-gradient(145deg, var(--ink-2) 0%, var(--ink-1) 100%);
  border-radius: 10px;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.classic-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-3);
}
.classic-card .img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0a0805;
  cursor: zoom-in;
}
.classic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease), filter 900ms var(--ease);
  filter: brightness(0.9);
}
.classic-card:hover img {
  transform: scale(1.04);
  filter: brightness(1);
}
.classic-card .img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(5, 5, 5, 0.7) 100%);
  pointer-events: none;
}
.classic-body {
  padding: 18px 18px 22px;
  border-top: 1px solid var(--line);
  text-align: left;
}
.classic-tag {
  font-family: var(--font-serif-en);
  color: var(--gold-1);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 300;
}
.classic-title {
  font-family: var(--font-serif-en);
  color: var(--ivory);
  font-size: 20px;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  font-weight: 300;
}
.classic-sub {
  color: var(--mute);
  font-size: 13px;
  line-height: 1.7;
}

/* --- Timeline --- */
.timeline {
  position: relative;
  padding-left: 28px;
  text-align: left;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold-3) 15%, var(--gold-3) 85%, transparent);
}
.timeline-item {
  position: relative;
  padding: 0 0 28px 4px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--ink-0);
  border: 1px solid var(--gold-1);
}
.timeline-item::after {
  content: "";
  position: absolute;
  left: -21px;
  top: 10px;
  width: 2px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold-2);
}
.timeline-year {
  font-family: var(--font-serif-en);
  color: var(--gold-1);
  font-size: 22px;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  line-height: 1;
  font-weight: 300;
}
.timeline-title {
  color: var(--ivory);
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}
.timeline-desc {
  color: var(--mute);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  text-shadow: 0 2px 4px #000, 0 0 6px rgba(0,0,0,1);
}

/* --- Craft --- */
.craft-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  text-align: left;
}
.craft-item {
  display: flex;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(23, 19, 14, 0.7), rgba(12, 10, 8, 0.7));
  backdrop-filter: blur(4px);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.craft-item:hover {
  transform: translateY(-3px);
  border-color: var(--gold-3);
}
.craft-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--gold-3);
  display: grid;
  place-items: center;
  color: var(--gold-1);
}
.craft-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.2;
}
.craft-body h3 {
  font-family: var(--font-serif-cn);
  font-weight: 400;
  color: var(--ivory);
  font-size: 16px;
  margin-bottom: 4px;
  letter-spacing: 0.06em;
}
.craft-body h3[lang="en"] {
  font-family: var(--font-serif-en);
  font-weight: 300;
}
.craft-body p {
  color: var(--mute);
  font-size: 13px;
  line-height: 1.75;
}

.craft-hero {
  margin-top: 26px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  cursor: zoom-in;
  position: relative;
}
.craft-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  transition: filter 900ms var(--ease), transform 900ms var(--ease);
}
.craft-hero:hover img {
  filter: brightness(1);
  transform: scale(1.03);
}

/* --- Accessory --- */
.acc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .acc-grid { grid-template-columns: repeat(3, 1fr); }
}
.acc-card {
  border: 1px solid var(--line-2);
  border-radius: 10px;
  overflow: hidden;
  background: var(--ink-2);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.acc-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-3);
}
.acc-card .img-wrap {
  aspect-ratio: 5 / 4;
  overflow: hidden;
  cursor: zoom-in;
}
.acc-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.88);
  transition: transform 900ms var(--ease), filter 900ms var(--ease);
}
.acc-card:hover img {
  filter: brightness(1.02);
  transform: scale(1.04);
}
.acc-caption {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  text-align: left;
}
.acc-caption h4 {
  font-family: var(--font-serif-en);
  color: var(--gold-1);
  font-size: 14px;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
  font-weight: 300;
}
.acc-caption p {
  color: var(--mute);
  font-size: 12px;
  line-height: 1.6;
}

/* --- Rules --- */
.rules-block {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(23, 19, 14, 0.9), rgba(12, 10, 8, 0.9));
  padding: 24px 20px;
  text-align: left;
}
.rules-block ol {
  list-style: none;
  counter-reset: rule;
}
.rules-block li {
  counter-increment: rule;
  position: relative;
  padding: 12px 0 12px 40px;
  border-bottom: 1px dashed var(--line);
  color: var(--ivory);
  font-size: 14px;
  line-height: 1.7;
}
.rules-block li:last-child { border-bottom: 0; }
.rules-block li::before {
  content: counter(rule, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 14px;
  font-family: var(--font-serif-en);
  color: var(--gold-1);
  font-size: 14px;
  letter-spacing: 0.1em;
  font-weight: 300;
}

/* Footer */
.site-footer {
  padding: 40px 20px 60px;
  text-align: center;
  color: var(--mute);
  font-size: 12px;
  letter-spacing: 0.24em;
  border-top: 1px solid var(--line);
  margin-top: 60px;
  position: relative;
  z-index: 3;
}
.site-footer .fmark {
  font-family: var(--font-serif-en);
  color: var(--gold-1);
  letter-spacing: 0.4em;
  font-size: 13px;
  margin-bottom: 8px;
  font-weight: 300;
}

/* =========================================================
   Floating benefit strip (z-index: 110)
   ========================================================= */
.floater {
  position: fixed;
  right: 12px;
  bottom: 18px;
  z-index: 110;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 12px;
  border: 1px solid var(--gold-3);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(23, 19, 14, 0.9), rgba(12, 10, 8, 0.9));
  backdrop-filter: blur(8px);
  color: var(--ivory);
  animation: floatBob 4.6s var(--ease) infinite;
  max-width: min(280px, calc(100vw - 24px));
  font-size: 12px;
  letter-spacing: 0.04em;
  font-family: var(--font-serif-en);
  font-weight: 300;
}
.floater-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold-1);
  box-shadow: 0 0 8px var(--gold-2);
  flex: 0 0 8px;
  animation: dotPulse 1.4s var(--ease) infinite;
}
.floater-text {
  line-height: 1.35;
}
.floater-count {
  color: var(--gold-1);
  font-family: var(--font-serif-en);
  font-weight: 500;
  padding: 0 3px;
}
@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* =========================================================
   Danmaku — Scrolling award notifications (z-index: 50)
   =========================================================
   【可自定义区域】弹幕参数
   - --danmaku-speed: 弹幕滚动速度（秒）
   - --danmaku-opacity: 弹幕透明度
   - --danmaku-font-size: 弹幕字号
   ========================================================= */
.danmaku-layer {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  overflow: hidden;
}
.danmaku-item {
  position: absolute;
  white-space: nowrap;
  font-family: var(--font-serif-en);
  font-weight: 500;
  color: #e6bc78;
  opacity: 1;
  font-size: 14px;
  letter-spacing: 0.08em;
  will-change: transform;
  animation: danmakuScroll linear forwards;
  text-shadow: 0 2px 4px #000, 0 0 6px rgba(0,0,0,1);
}
.danmaku-item:nth-child(odd) {
  opacity: 0.95;
  font-size: 13px;
}
.danmaku-item:nth-child(3n) {
  opacity: 1;
  font-size: 14px;
  color: #f8d29c;
}
@keyframes danmakuScroll {
  0% {
    transform: translateX(100vw);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* =========================================================
   Modals (z-index: 200 — highest)
   ========================================================= */
.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(2, 2, 2, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.modal-mask.show {
  display: flex;
  opacity: 1;
}
.modal-card {
  width: 100%;
  max-width: 460px;
  max-height: 92svh;
  overflow-y: auto;
  background: linear-gradient(170deg, #1a140c 0%, #0a0805 100%);
  border: 1px solid var(--gold-3);
  border-radius: 10px;
  position: relative;
  transform: translateY(14px) scale(0.98);
  transition: transform var(--dur) var(--ease);
}
.modal-mask.show .modal-card {
  transform: translateY(0) scale(1);
}
.modal-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 10px;
  padding: 1px;
  background: linear-gradient(145deg, var(--gold-2), transparent 40%, transparent 60%, var(--gold-3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}

.modal-head {
  padding: 26px 24px 12px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.modal-eyebrow {
  font-family: var(--font-serif-en);
  color: var(--gold-1);
  font-size: 10px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 10px;
  font-weight: 300;
}
.modal-title {
  font-family: var(--font-serif-cn);
  font-weight: 400;
  color: var(--ivory);
  font-size: 22px;
  letter-spacing: 0.08em;
  line-height: 1.4;
}
.modal-title[lang="en"] {
  font-family: var(--font-serif-en);
  letter-spacing: 0.04em;
  font-weight: 300;
}
.modal-sub {
  margin-top: 8px;
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.08em;
}

.prize-badge {
  margin: 18px auto 6px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--gold-3);
  border-radius: 999px;
  background: rgba(122, 94, 50, 0.12);
  color: var(--gold-2);
  font-family: var(--font-serif-en);
  font-size: 13px;
  letter-spacing: 0.16em;
  font-weight: 300;
}
.prize-tier {
  color: var(--gold-1);
  font-weight: 400;
}
.prize-name {
  color: var(--ivory);
  font-weight: 400;
}

.modal-body {
  padding: 18px 24px 24px;
}
.form-row {
  margin-bottom: 14px;
  text-align: left;
}
.form-row label {
  display: block;
  font-size: 12px;
  color: var(--gold-1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-family: var(--font-serif-en);
  font-weight: 300;
}
.form-row .req {
  color: var(--danger);
  margin-left: 3px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  height: 56px;
  padding: 0 14px;
  background: rgba(5, 5, 5, 0.6);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  color: var(--ivory);
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
  outline: none;
  font-family: var(--font-sans);
  font-weight: 400;
}
.form-row textarea {
  height: auto;
  min-height: 96px;
  padding: 14px;
  resize: vertical;
  line-height: 1.55;
}
.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #e6bc78;
  opacity: 1;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 4px #000, 0 0 6px rgba(0,0,0,1);
}
/* 全局兜底占位符：任何 input/textarea 都走高对比 */
input::placeholder,
textarea::placeholder {
  color: #e6bc78 !important;
  opacity: 1 !important;
}
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--gold-1);
  background: rgba(20, 15, 8, 0.85);
}
.form-row.error input,
.form-row.error textarea {
  border-color: var(--danger);
}
.err-msg {
  display: none;
  margin-top: 6px;
  font-size: 12px;
  color: var(--danger);
  letter-spacing: 0.04em;
}
.form-row.error .err-msg {
  display: block;
}

.btn-primary {
  width: 100%;
  height: 56px;
  border-radius: 6px;
  background: linear-gradient(145deg, var(--gold-3) 0%, var(--gold-1) 55%, var(--gold-2) 100%);
  color: #14100a;
  font-family: var(--font-serif-en);
  font-size: 14px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  font-weight: 400;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), filter var(--dur) var(--ease);
  margin-top: 8px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}
.btn-primary:active {
  transform: translateY(0);
}

.modal-note {
  margin-top: 16px;
  text-align: center;
  font-size: 11px;
  color: var(--mute);
  letter-spacing: 0.1em;
  line-height: 1.7;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--mute);
  display: grid;
  place-items: center;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  z-index: 2;
}
.modal-close:hover {
  color: var(--gold-1);
  border-color: var(--gold-3);
}
.modal-close svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

/* Success modal */
.success-card {
  max-width: 380px;
  padding: 40px 28px 32px;
  text-align: center;
}
.check-ring {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
}
.check-ring circle {
  fill: none;
  stroke: var(--gold-1);
  stroke-width: 1.5;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: cRing 700ms var(--ease) forwards;
}
.check-ring path {
  fill: none;
  stroke: var(--gold-2);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: cCheck 500ms var(--ease) 480ms forwards;
}
@keyframes cRing { to { stroke-dashoffset: 0; } }
@keyframes cCheck { to { stroke-dashoffset: 0; } }

/* =========================================================
   Lightbox
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(2, 2, 2, 0.9);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  cursor: zoom-out;
}
.lightbox.show {
  display: flex;
  opacity: 1;
}
.lightbox img {
  max-width: 100%;
  max-height: 90svh;
  border: 1px solid var(--gold-3);
  border-radius: 6px;
  object-fit: contain;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (min-width: 640px) {
  .section { padding: 96px 40px; }
  .site-header { padding: 18px 32px; }
  .floater { right: 24px; bottom: 26px; }
  body { font-size: 16px; }
}
@media (max-width: 380px) {
  .brand-name { display: none; }
  .floater { font-size: 11px; padding: 8px 10px; }
}

/* =========================================================
   Utility
   ========================================================= */
.no-scroll {
  overflow: hidden;
}

/* =========================================================
   用户指定：全局浅文字统一高对比暖金
   ========================================================= */
.light-text,
.subtitle,
.desc-text,
.form-placeholder,
.rules-text,
.bullet-text {
  color: #D7A75A !important;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.9),
               0 0 2px rgba(0, 0, 0, 0.7);
}

.highlight-text {
  color: #F4C98A !important;
  text-shadow: 0 0 1px #000,
               0 0 3px rgba(215, 167, 90, 0.4);
}

.barrage-text {
  color: #E2BC80 !important;
  text-shadow: 0 0 2px #000,
               0 0 4px rgba(0, 0, 0, 0.8);
}

.suspense-reward-hint {
  color: #F2CD94 !important;
  font-size: 13px;
  letter-spacing: 0.06em;
  font-weight: 500;
  text-shadow: 0 2px 4px #000, 0 0 6px rgba(0,0,0,1) !important;
  margin-top: 8px;
}

/* ===== Scroll-down Arrow ===== */
.scroll-arrow {
  text-align: center;
  margin-top: 48px;
  cursor: pointer;
  animation: arrowBounce 2s ease-in-out infinite;
}
.scroll-arrow svg {
  width: 40px;
  height: 40px;
  display: inline-block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.95));
  stroke-width: 2.5;
}
.scroll-arrow .scroll-arrow-text {
  display: block;
  color: #F2CD94 !important;
  font-size: 13px;
  letter-spacing: 0.12em;
  font-weight: 500;
  text-shadow: 0 2px 4px #000, 0 0 6px rgba(0,0,0,1) !important;
  margin-top: 6px;
}
@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}