/* 星辰官网 · 公共样式 */
:root {
  --night: #060a16;
  --night-2: #0a1124;
  --panel: #0e1730;
  --panel-2: #13203f;
  --gold: #e6c47c;
  --gold-2: #c99a45;
  --gold-soft: rgba(230, 196, 124, 0.14);
  --ice: #8fcaff;
  --ice-soft: rgba(143, 202, 255, 0.12);
  --paper: #efe7d5;
  --muted: #9ba9c4;
  --line: rgba(230, 196, 124, 0.22);
  --line-ice: rgba(143, 202, 255, 0.16);
  --red: #b9473b;
  --q-green: #7fdc7f;
  --q-blue: #6fb9ff;
  --q-purple: #c690ff;
  --q-orange: #ffb35c;
  --font-display: "STKaiti", "KaiTi", "楷体", "Kaiti SC", "BiauKai", serif;
  --font-body: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", system-ui, sans-serif;
  --header-h: 72px;
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
html.has-dialog { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font: 15px/1.75 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.25; }
p { margin: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 2px; }

.container { width: min(1240px, 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 8px 14px; background: var(--gold); color: var(--night); }
.skip-link:focus { top: 12px; }

.ico { width: 18px; height: 18px; flex: none; }

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 2px;
  font-size: 15px; letter-spacing: 0.08em; white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 0 32px; font-size: 17px; }
.btn-gold {
  color: #241707;
  background: linear-gradient(180deg, #fbe7b2 0%, #e4bd6c 48%, #c38f3a 100%);
  box-shadow: 0 0 0 1px rgba(255, 233, 180, 0.5) inset, 0 8px 28px rgba(201, 154, 69, 0.28);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 240, 200, 0.8) inset, 0 12px 34px rgba(230, 196, 124, 0.45); }
.btn-ghost { color: var(--gold); border-color: var(--line); background: rgba(10, 17, 36, 0.55); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--gold); background: var(--gold-soft); }
.btn-ice { color: var(--night); background: linear-gradient(180deg, #d4ecff, #86c3fa); }
.btn small { display: block; font-size: 11px; letter-spacing: 0.04em; opacity: 0.72; line-height: 1.2; }
.btn .btn-copy { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }

.icon-btn {
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--gold);
}
.icon-btn:hover { background: var(--gold-soft); }

.link-btn { border: 0; background: none; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; padding: 6px 0; }
.link-btn:hover { color: var(--paper); }

.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); letter-spacing: 0.06em; }
.text-link .ico { transition: transform 0.2s; }
.text-link:hover .ico { transform: translateX(4px); }

/* ---------- 页头 ---------- */

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.site-header.is-solid {
  background: rgba(6, 10, 22, 0.88);
  backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; width: min(1440px, 100% - 40px); }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 76px; height: auto; filter: drop-shadow(0 0 10px rgba(143, 202, 255, 0.35)); }
.brand-sub { font-size: 12px; letter-spacing: 0.24em; color: var(--muted); writing-mode: horizontal-tb; }

.main-nav { display: flex; align-items: stretch; gap: 4px; margin-left: auto; height: 100%; }
.main-nav a {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 14px; font-size: 15px; letter-spacing: 0.08em; color: rgba(239, 231, 213, 0.86);
  transition: color 0.2s;
}
.main-nav a .nav-no { font: 11px/1 var(--font-display); color: var(--gold-2); opacity: 0.7; margin-bottom: 3px; }
.main-nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 14px; width: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); transform: translateX(-50%); transition: width 0.25s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--gold); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { width: 70%; }

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.header-reserve {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px;
  border: 1px solid var(--line-ice); border-radius: 18px; background: rgba(143, 202, 255, 0.08);
  font-size: 13px; color: var(--ice); white-space: nowrap;
}
.header-reserve strong { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.header-reserve:hover { border-color: var(--ice); }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 0 0 rgba(143, 202, 255, 0.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(143, 202, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(143, 202, 255, 0); } }

.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 2px; background: transparent; color: var(--gold); place-items: center; }

@media (max-width: 1260px) {
  .brand-sub { display: none; }
  .main-nav a { padding: 0 10px; font-size: 14px; }
}
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .menu-toggle { display: grid; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 560px) {
  :root { --header-h: 62px; }
  .header-reserve { display: none; }
  .header-actions .btn span { display: none; }
  .header-actions .btn { padding: 0 12px; }
  .brand img { width: 64px; }
}

/* 移动端菜单 */
.mobile-menu {
  width: min(420px, 100%); height: 100dvh; max-height: none; margin: 0 0 0 auto; padding: 22px 24px;
  border: 0; border-left: 1px solid var(--line); background: linear-gradient(180deg, #0c1530, #070b18);
  color: var(--paper);
}
.mobile-menu::backdrop { background: rgba(3, 6, 14, 0.7); backdrop-filter: blur(4px); }
.mobile-menu[open] { display: flex; flex-direction: column; animation: slideIn 0.28s ease-out; }
@keyframes slideIn { from { transform: translateX(30px); opacity: 0; } }
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid rgba(230, 196, 124, 0.12); font-size: 17px; letter-spacing: 0.1em; }
.mobile-menu nav a .ico { margin-left: auto; color: var(--gold-2); }
.mobile-menu .nav-no { font-family: var(--font-display); color: var(--gold); width: 22px; }
.mobile-menu-actions { display: grid; gap: 10px; margin-top: 24px; }
.mobile-menu-note { margin-top: auto; padding-top: 20px; font-size: 13px; color: var(--muted); }

/* ---------- 弹窗 ---------- */

.site-dialog {
  width: min(520px, calc(100% - 32px)); padding: 34px 32px 28px; border: 1px solid var(--line); border-radius: 4px;
  background: radial-gradient(120% 80% at 50% 0%, rgba(143, 202, 255, 0.1), transparent 60%), linear-gradient(180deg, #111b37, #0a1124);
  color: var(--paper); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.site-dialog[open] { animation: pop 0.25s ease-out; }
@keyframes pop { from { transform: translateY(12px) scale(0.98); opacity: 0; } }
.site-dialog::backdrop { background: rgba(3, 6, 14, 0.72); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; top: 14px; right: 14px; }
.dialog-eyebrow { font-size: 12px; letter-spacing: 0.24em; color: var(--gold-2); }
.site-dialog h2 { margin: 8px 0 20px; font: 30px/1.3 var(--font-display); color: var(--gold); letter-spacing: 0.08em; }
.dialog-note { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* 辅助推荐弹窗内部 */
.dialog-lead { margin: -10px 0 18px; color: var(--muted); font-size: 14px; }
.dialog-block { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(230, 196, 124, 0.12); }
.dialog-block h3 { font: 17px var(--font-display); color: var(--gold); letter-spacing: 0.1em; }
.dialog-block p { margin-top: 6px; font-size: 13px; color: var(--muted); }
.dialog-block .text-link { margin-top: 10px; font-size: 14px; }
.tool-password { display: flex; align-items: center; gap: 14px; margin: 18px 0 14px; padding: 14px 18px; border: 1px solid var(--line); background: rgba(14, 23, 48, 0.55); }
.tool-password > span { font-size: 13px; color: var(--muted); }
.tool-password > strong { font: 22px/1 "Segoe UI", var(--font-body); color: var(--gold); letter-spacing: 0.14em; font-variant-numeric: tabular-nums; }
.tool-password .copy-btn { margin-left: auto; }
.btn-block { display: flex; width: 100%; }

/* 充值说明弹窗 */
.recharge-rate { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 4px 0 18px; padding: 18px 0; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(230, 196, 124, 0.08), rgba(9, 15, 32, 0.5)); }
.recharge-rate span { font: 20px var(--font-display); color: var(--muted); letter-spacing: 0.1em; }
.recharge-rate i { font-style: normal; color: var(--gold-2); }
.recharge-rate strong { font: 600 32px/1 "Segoe UI", var(--font-body); color: var(--gold); letter-spacing: 0.02em; }
.recharge-rows { list-style: none; margin: 0; padding: 0; }
.recharge-rows li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(230, 196, 124, 0.12); }
.recharge-rows li:last-child { border-bottom: 0; }
.recharge-rows span { font-size: 14px; color: var(--muted); }
.recharge-rows strong { font-size: 15px; font-weight: 500; color: var(--paper); }
.recharge-go { margin-top: 18px; }

.route-card {
  display: flex; align-items: center; gap: 16px; width: 100%; margin-bottom: 10px; padding: 16px 18px;
  border: 1px solid var(--line); background: rgba(230, 196, 124, 0.05); text-align: left; transition: border-color 0.2s, background 0.2s;
}
.route-card:hover { border-color: var(--gold); background: var(--gold-soft); }
.route-card.is-pending { opacity: 0.65; }
.route-card .ico { margin-left: auto; color: var(--gold); }
.route-no { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--gold-2); border-radius: 50%; font: 18px var(--font-display); color: var(--gold); }
.route-copy { display: flex; flex-direction: column; }
.route-copy strong { font-weight: 500; letter-spacing: 0.08em; }
.route-copy small { color: var(--muted); font-size: 13px; }

.contact-list { display: grid; gap: 2px; }
.contact-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(230, 196, 124, 0.12); }
.contact-meta { display: flex; flex-direction: column; }
.contact-meta small { color: var(--muted); font-size: 12px; }
.contact-value { font-size: 17px; font-weight: 600; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.contact-value.is-pending { font-weight: 400; font-size: 14px; color: var(--muted); }
.copy-btn { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border: 1px solid var(--line); background: transparent; color: var(--gold); font-size: 13px; }
.copy-btn:hover { background: var(--gold-soft); }
.copy-btn .ico { width: 14px; height: 14px; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 200; padding: 12px 20px; max-width: calc(100% - 32px);
  border: 1px solid var(--line); background: rgba(10, 17, 36, 0.95); color: var(--paper); font-size: 14px;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: 0.25s;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ---------- 鼠标拖尾（canvas，盖住内容但位于页头之下）---------- */

.cursor-fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 40; pointer-events: none; }
@media (hover: none), (pointer: coarse) { .cursor-fx { display: none; } }

/* ---------- 迷你背景音乐播放器 ---------- */

.bgm-toggle {
  position: fixed; left: 24px; top: calc(var(--header-h) + 56px); z-index: 150;
  display: inline-flex; align-items: center; gap: 9px;
  height: 42px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 21px;
  background: rgba(10, 17, 36, 0.86); color: var(--gold);
  backdrop-filter: blur(6px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: border-color 0.2s, background 0.2s;
}
.bgm-toggle:hover { border-color: var(--gold); background: var(--gold-soft); }
.bgm-glyph { display: grid; place-items: center; width: 18px; height: 18px; }
.bgm-toggle .ico { width: 18px; height: 18px; grid-area: 1 / 1; }
.bgm-toggle .bgm-pause { display: none; }
.bgm-toggle.is-on .bgm-play { display: none; }
.bgm-toggle.is-on .bgm-pause { display: block; }
.bgm-title { font-size: 13px; letter-spacing: 0.08em; white-space: nowrap; }

.bgm-bars { display: none; align-items: flex-end; gap: 2px; height: 14px; }
.bgm-toggle.is-on .bgm-bars { display: inline-flex; }
.bgm-bars i { width: 2px; height: 14px; background: var(--gold); transform-origin: bottom; animation: bgm-bar 0.9s ease-in-out infinite; }
.bgm-bars i:nth-child(2) { animation-delay: 0.15s; }
.bgm-bars i:nth-child(3) { animation-delay: 0.3s; }
@keyframes bgm-bar { 0%, 100% { transform: scaleY(0.3); } 50% { transform: scaleY(1); } }

@media (max-width: 680px) {
  .bgm-toggle { left: 12px; top: calc(var(--header-h) + 10px); height: 38px; padding: 0 12px; gap: 7px; }
  .bgm-title { display: none; }
}

/* ---------- 通用版块 ---------- */

.section { position: relative; padding: clamp(72px, 9vw, 128px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: 0.3em; color: var(--gold-2); }
.seal {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--red);
  background: rgba(185, 71, 59, 0.16); color: #f2b4a8; font: 15px/1 var(--font-display); letter-spacing: 0;
}
.section-title { margin-top: 14px; font: clamp(32px, 4.6vw, 54px)/1.2 var(--font-display); letter-spacing: 0.08em; color: var(--paper); }
.section-title em { font-style: normal; color: var(--gold); }
.section-lead { margin-top: 16px; color: var(--muted); font-size: 16px; }
.section-head.is-center .section-lead { margin-inline: auto; max-width: 620px; }

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-art img, .hero-logo, .hero-mist, .gallery-stage img, .reserve-recent li { animation: none; }
}

.gold-rule { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); border: 0; margin: 0; }

/* ---------- 首页 · 首屏 ---------- */

.hero { position: relative; min-height: clamp(720px, 100svh, 1080px); display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -3; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; animation: heroZoom 30s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } }
.hero-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(6, 10, 22, 0.74) 0%, rgba(6, 10, 22, 0.32) 46%, rgba(6, 10, 22, 0) 70%),
    linear-gradient(180deg, rgba(6, 10, 22, 0.5) 0%, transparent 20%, transparent 74%, var(--night) 100%);
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-mist { position: absolute; left: -10%; right: -10%; bottom: 8%; height: 30%; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 60% at 30% 60%, rgba(143, 202, 255, 0.16), transparent 70%), radial-gradient(40% 50% at 75% 50%, rgba(160, 140, 255, 0.12), transparent 70%);
  filter: blur(18px); animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translateX(6%); } }

.hero .container { width: min(1560px, 100% - 48px); }
.hero-inner { flex: 1; display: grid; grid-template-columns: minmax(0, 0.66fr) minmax(0, 1.34fr); gap: 32px; align-items: center; padding: calc(var(--header-h) + 48px) 0 40px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: 0.4em; color: var(--ice); }
.hero-eyebrow::before, .hero-eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: 0.6; }
.hero-logo { width: clamp(260px, 32vw, 460px); margin: 14px 0 0 -14px; filter: drop-shadow(0 6px 30px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 24px rgba(255, 220, 150, 0.18)); animation: logoIn 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes logoIn { from { opacity: 0; transform: translateY(18px); filter: blur(8px); } }
.realm-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 4px; }
.realm-line > * { white-space: nowrap; }
.realm-seal { padding: 4px 8px; border: 1px solid var(--red); background: rgba(185, 71, 59, 0.2); color: #f6c2b6; font: 14px/1 var(--font-display); letter-spacing: 0.2em; }
.realm-name { font: 26px/1 var(--font-display); letter-spacing: 0.3em; color: var(--paper); }
.realm-line .divider { flex: 0 0 48px; height: 1px; background: var(--line); }
.realm-line small { color: var(--muted); letter-spacing: 0.2em; }
.hero-tagline { display: inline-flex; align-items: center; gap: 14px; margin: 6px 0 0; font: 20px/1.2 var(--font-display); letter-spacing: 0.12em; color: var(--paper); }
.hero-tagline::before, .hero-tagline::after { content: ""; flex: none; width: 34px; height: 1px; background: currentColor; opacity: 0.45; }

.countdown { display: flex; align-items: flex-end; gap: 10px; margin-top: 30px; }
.countdown-label { margin-right: 8px; font-size: 13px; letter-spacing: 0.2em; color: var(--muted); writing-mode: vertical-rl; }
.hero-copy .countdown { margin-top: 34px; }
.hero-copy .countdown-label { font-size: 18px; letter-spacing: 0.14em; color: var(--paper); font-weight: 600; margin-right: 6px; }
.cd-cell { display: flex; flex-direction: column; align-items: center; min-width: 66px; padding: 10px 6px 6px; border: 1px solid var(--line); background: rgba(10, 17, 36, 0.5); backdrop-filter: blur(6px); }
.cd-cell b { font: 600 32px/1 "Segoe UI", var(--font-body); color: var(--gold); font-variant-numeric: tabular-nums; }
.cd-cell span { margin-top: 4px; font-size: 12px; color: var(--muted); }
.countdown.is-done .cd-cell { display: none; }
.cd-done { font: 24px var(--font-display); color: var(--gold); letter-spacing: 0.2em; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-promises { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin-top: 30px; }
.hero-promises div { display: flex; flex-direction: column; padding: 0 22px; border-left: 1px solid var(--line); }
.hero-promises div:first-child { padding-left: 0; border-left: 0; }
.hero-promises strong { font: 20px/1.3 var(--font-display); color: var(--paper); letter-spacing: 0.12em; }
.hero-promises span { font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }

.hero-side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.hero-side-col { display: grid; gap: 16px; align-content: start; }
.hero-side-col-notes { grid-template-rows: 1fr 1fr; align-content: stretch; }
.hero-note { display: flex; flex-direction: column; padding: 18px 20px; }
.hero-note h2 { font: 19px var(--font-display); color: var(--gold); letter-spacing: 0.12em; }
.hero-note .note-list { list-style: none; margin: 8px 0 0; padding: 0; }
.hero-note .note-list li { display: flex; gap: 8px; padding: 10px 0; border-top: 1px solid rgba(230, 196, 124, 0.12); font-size: 13.5px; line-height: 1.65; color: var(--muted); }
.hero-note .note-list li:first-child { border-top: 0; }
.hero-note .note-no { flex: none; color: var(--gold); font-size: 13px; }
.hero-note .note-list b { color: var(--paper); font-weight: 500; }
.glass {
  position: relative; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(16, 26, 52, 0.72), rgba(8, 13, 28, 0.72));
  backdrop-filter: blur(10px); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.glass::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(230, 196, 124, 0.08); pointer-events: none; }
.hero-reserve { display: block; padding: 22px 24px; transition: border-color 0.2s, transform 0.2s; }
.hero-reserve:hover { border-color: var(--gold); transform: translateY(-2px); }
.hero-reserve-top { display: flex; align-items: center; justify-content: space-between; font-size: 13px; letter-spacing: 0.2em; color: var(--ice); }
.hero-reserve-num { margin-top: 8px; font: 600 44px/1 "Segoe UI", var(--font-body); color: #fff; font-variant-numeric: tabular-nums; }
.hero-reserve-num small { margin-left: 6px; font-size: 15px; font-weight: 400; color: var(--muted); }
.hero-reserve-skills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.hero-reserve-skills img { width: 40px; height: 40px; border: 1px solid rgba(230, 196, 124, 0.45); box-shadow: 0 0 10px rgba(143, 202, 255, 0.2); }
.hero-reserve-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--gold); font-size: 14px; letter-spacing: 0.1em; }

.hero-news { padding: 18px 22px 10px; }
.hero-contacts { padding: 18px 22px 16px; }
/* 二区开区卡片 */
.hero-zone2 { padding: 18px 22px 20px; }
.hero-zone2 h2 { display: flex; justify-content: space-between; align-items: baseline; font: 20px var(--font-display); color: var(--gold); letter-spacing: 0.12em; }
.hero-zone2 h2 a { font: 13px var(--font-body); color: var(--muted); letter-spacing: 0.06em; }
.hero-zone2-name { margin: 6px 0 12px; font: 22px var(--font-display); color: var(--paper); letter-spacing: 0.1em; }
.hero-zone2 .countdown { margin-bottom: 14px; }
.hero-zone2 .cd-cell { min-width: 50px; padding: 6px 4px 4px; }
.hero-zone2 .cd-cell b { font-size: 22px; }
.hero-zone2 .btn-block { margin-top: 2px; }
.hero-contacts h2 { display: flex; justify-content: space-between; align-items: baseline; font: 20px var(--font-display); color: var(--gold); letter-spacing: 0.12em; }
.hero-contacts h2 a { font: 13px var(--font-body); color: var(--muted); letter-spacing: 0.06em; }
.hero-contacts .contact-list { margin-top: 6px; }
.hero-contacts .contact-row { padding: 10px 0; }
.hero-contacts .contact-row:last-child { border-bottom: 0; }
.hero-contacts .contact-value { font-size: 16px; }
.hero-news h2 { display: flex; justify-content: space-between; align-items: baseline; font: 20px var(--font-display); color: var(--gold); letter-spacing: 0.12em; }
.hero-news h2 a { font: 13px var(--font-body); color: var(--muted); letter-spacing: 0.06em; }
.hero-news ul { list-style: none; margin: 10px 0 0; padding: 0; }
.hero-news li a { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid rgba(230, 196, 124, 0.1); font-size: 14px; }
.hero-news li a:hover .news-title { color: var(--gold); }
.news-tag { padding: 0 6px; border: 1px solid var(--line-ice); color: var(--ice); font-size: 12px; line-height: 20px; }
.news-title { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; transition: color 0.2s; }
.news-date { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }

.hero-bottom { position: relative; border-top: 1px solid rgba(230, 196, 124, 0.12); background: linear-gradient(180deg, rgba(6, 10, 22, 0), rgba(6, 10, 22, 0.75)); }
.hero-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.hero-quick { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; color: var(--muted); }
.hero-quick a, .hero-quick button { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: inherit; font-size: inherit; }
.hero-quick a:hover, .hero-quick button:hover { color: var(--gold); }
.hero-quick .ico { color: var(--gold-2); }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-size: 13px; letter-spacing: 0.2em; }
.scroll-cue .ico { transform: rotate(90deg); animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: rotate(90deg) translateX(5px); } }

/* ---------- 首屏底部 · 辅助推荐 ---------- */

.hero-tools { display: flex; flex-wrap: wrap; gap: 10px 44px; padding: 14px 0; border-bottom: 1px solid rgba(230, 196, 124, 0.1); }
.assistant-entry { display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; color: var(--muted); font-size: 14px; transition: color 0.2s; }
.assistant-entry:hover { color: var(--gold); }
.assistant-entry > .ico:first-child { color: var(--gold-2); }
.assistant-entry-label { font-size: 12px; letter-spacing: 0.24em; color: var(--gold-2); }
.assistant-entry strong { font: 19px var(--font-display); color: var(--gold); letter-spacing: 0.1em; }
.assistant-entry-action { font-size: 12px; color: var(--muted); }
.assistant-entry-arrow { color: var(--gold); transition: transform 0.2s; }
.assistant-entry:hover .assistant-entry-arrow { transform: translateX(4px); }
@media (max-width: 680px) { .hero-tools { gap: 8px 24px; } .assistant-entry-action { display: none; } }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; padding-top: calc(var(--header-h) + 32px); }
  .hero-shade { background: linear-gradient(180deg, rgba(6, 10, 22, 0.5) 0%, rgba(6, 10, 22, 0.35) 40%, rgba(6, 10, 22, 0.85) 75%, var(--night) 100%); }
  .hero-side { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .hero-side { grid-template-columns: 1fr; }
  .hero-promises { grid-template-columns: 1fr 1fr 1fr; }
  .hero-promises div { padding: 0 10px; }
  .hero-promises strong { font-size: 17px; }
  .cd-cell { min-width: 56px; }
  .cd-cell b { font-size: 26px; }
  .countdown-label { display: none; }
  .realm-line .divider { display: none; }
  .realm-line small { flex-basis: 100%; }
  .hero-promises { grid-template-columns: 1fr; gap: 6px; }
  .hero-promises div, .hero-promises div:first-child { flex-direction: row; align-items: baseline; gap: 12px; padding: 0; border-left: 0; }
  .hero-logo { width: min(240px, 64vw); }
  .hero-bottom-inner { flex-direction: column; align-items: flex-start; padding: 16px 0; }
  .hero-art img { object-position: 50% 100%; }
}

/* ---------- 首页 · 新门派预约 ---------- */

.reserve { overflow: hidden; background: var(--night); isolation: isolate; }
.reserve-bg { position: absolute; inset: 0; z-index: -2; background: url("../assets/art/nebula.jpg") center top / cover no-repeat; opacity: 0.35; mask-image: linear-gradient(180deg, transparent, #000 18%, #000 60%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 60%, transparent); }
.reserve canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.reserve-range { position: absolute; left: 0; right: 0; bottom: 0; height: 260px; z-index: -1; background: url("../assets/art/teal-range.jpg") center bottom / cover no-repeat; opacity: 0.55; mask-image: linear-gradient(180deg, transparent, #000 70%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 70%); }
.reserve-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; }
.reserve-deadline { text-align: right; font-size: 13px; color: var(--muted); letter-spacing: 0.08em; }
.reserve-deadline .countdown { justify-content: flex-end; margin-top: 10px; }
.reserve-open { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.reserve-open strong { font: 26px var(--font-display); letter-spacing: 0.1em; color: var(--gold); }
.reserve-open small { font-size: 12px; letter-spacing: 0.14em; color: var(--muted); }
.reserve-deadline .cd-cell { min-width: 54px; padding: 8px 4px 4px; }
.reserve-deadline .cd-cell b { font-size: 24px; }

.reserve-board { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; margin-top: 18px; padding: 30px 34px; border: 1px solid var(--line); background: linear-gradient(110deg, rgba(20, 32, 63, 0.82), rgba(9, 15, 32, 0.7)); }
.reserve-total-label { display: flex; align-items: center; gap: 8px; font-size: 14px; letter-spacing: 0.2em; color: var(--ice); }
.reserve-total-num { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; }
.reserve-total-num strong { font: 600 clamp(46px, 6vw, 68px)/1 "Segoe UI", var(--font-body); color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 0 30px rgba(143, 202, 255, 0.45); }
.reserve-total-num span { color: var(--muted); }
.reserve-total-sub { margin-top: 10px; font-size: 13px; color: var(--gold); }

.milestones { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; list-style: none; margin: 0; padding: 0; }
.ms-track { position: absolute; left: 0; right: 0; top: 17px; height: 4px; background: rgba(143, 202, 255, 0.14); border-radius: 2px; }
.ms-track i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 2px; background: linear-gradient(90deg, var(--ice), var(--gold)); box-shadow: 0 0 14px rgba(230, 196, 124, 0.6); transition: width 1.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.ms { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 4px; }
.ms-node { position: relative; z-index: 1; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(143, 202, 255, 0.3); border-radius: 50%; background: #0c1430; color: rgba(143, 202, 255, 0.5); transition: 0.4s; }
.ms-node .ico { width: 18px; height: 18px; }
.ms.is-reached .ms-node { border-color: var(--gold); background: radial-gradient(circle, #3a2a10, #120c04); color: var(--gold); box-shadow: 0 0 18px rgba(230, 196, 124, 0.55); }
.ms.is-reached .ms-node .ico { fill: currentColor; }
.ms-count { margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--paper); font-variant-numeric: tabular-nums; }
.ms-reward { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 8px; font-size: 12px; color: var(--muted); line-height: 1.4; }
.ms-reward img { width: 40px; height: 40px; border: 1px solid rgba(230, 196, 124, 0.35); filter: grayscale(0.6) brightness(0.75); transition: 0.4s; }
.ms.is-reached .ms-reward { color: var(--gold); }
.ms.is-reached .ms-reward img { filter: none; box-shadow: 0 0 12px rgba(230, 196, 124, 0.45); }

/* 新门派介绍：昆仑寒川的日落雪峰作底，左侧门派资料，右侧武学预览 */
.sect-feature { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr); min-height: 470px; margin-bottom: 18px; border: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.sect-feature-art { position: absolute; inset: 0; z-index: -1; background: url("../assets/art/kunlun-1600.jpg") 50% 40% / cover no-repeat; }
.sect-feature-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 10, 22, 0.84) 0%, rgba(6, 10, 22, 0.42) 36%, rgba(6, 10, 22, 0) 58%), linear-gradient(180deg, transparent 60%, rgba(6, 10, 22, 0.8)); }
.sect-feature-copy { display: flex; flex-direction: column; justify-content: center; padding: 40px 46px; }
.sect-feature-school { font-size: 13px; letter-spacing: 0.32em; color: var(--ice); }
.sect-feature-copy h3 { margin: 6px 0 0 -10px; line-height: 0; }
.sect-feature-copy h3 img { width: clamp(190px, 21vw, 290px); height: auto; filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.55)); }
.sect-feature-motto { margin-top: 6px; font: 22px/1.4 var(--font-display); letter-spacing: 0.16em; color: #fff3d6; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6); }
.sect-feature-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 18px 0 0; padding: 0; }
.sect-feature-tags li { padding: 2px 12px; border: 1px solid rgba(255, 236, 196, 0.38); background: rgba(6, 10, 22, 0.5); color: #fff; font-size: 13px; letter-spacing: 0.08em; }
.sect-feature-desc { max-width: 32em; margin-top: 16px; color: rgba(239, 231, 213, 0.9); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }
.sect-feature-skills { padding: 28px 28px 24px; border-left: 1px solid rgba(230, 196, 124, 0.18); background: linear-gradient(180deg, rgba(6, 10, 22, 0.38), rgba(6, 10, 22, 0.82)); backdrop-filter: blur(4px); }
.sect-feature-skills > p { font: 20px var(--font-display); letter-spacing: 0.14em; color: var(--gold); }
.sect-feature-skills ul { display: grid; gap: 12px; list-style: none; margin: 16px 0 0; padding: 0; }
.skill { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; }
.skill img { width: 52px; height: 52px; border: 1px solid rgba(230, 196, 124, 0.55); box-shadow: 0 0 12px rgba(143, 202, 255, 0.25); }
.skill strong { display: block; font: 17px/1.3 var(--font-display); letter-spacing: 0.1em; color: var(--paper); font-weight: 400; }
.skill small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.5; color: var(--muted); }

.reserve-bottom { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 18px; margin-top: 18px; }
.reserve-form, .reserve-done, .reserve-recent { padding: 26px 28px; border: 1px solid var(--line); background: rgba(9, 15, 32, 0.82); }
.reserve-form h3, .reserve-done h3, .reserve-recent h3 { font: 24px var(--font-display); letter-spacing: 0.1em; color: var(--paper); }
.reserve-form h3 span { color: var(--gold); }
.field { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; font-size: 13px; color: var(--muted); letter-spacing: 0.1em; }
.field input {
  height: 50px; padding: 0 16px; border: 1px solid rgba(230, 196, 124, 0.3); background: rgba(3, 6, 14, 0.6);
  font-size: 18px; letter-spacing: 0.08em; color: #fff; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230, 196, 124, 0.15); }
.field input::placeholder { color: rgba(155, 169, 196, 0.6); font-size: 14px; letter-spacing: 0.04em; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.agree { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 20px; font-size: 13px; color: var(--muted); line-height: 1.6; cursor: pointer; }
.agree input { margin-top: 4px; accent-color: var(--gold); width: 16px; height: 16px; flex: none; }
.reserve-form .btn { width: 100%; }
.form-msg { min-height: 24px; margin-top: 12px; font-size: 14px; color: var(--muted); }
.form-msg.is-error { color: #ff9e8c; }

.reserve-done { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.done-seal { display: grid; place-items: center; width: 74px; height: 74px; margin-bottom: 14px; border: 2px solid var(--red); border-radius: 50%; color: #f4b9ad; font: 20px/1 var(--font-display); letter-spacing: 0.1em; transform: rotate(-12deg); background: rgba(185, 71, 59, 0.15); }
.done-text { margin-top: 12px; color: var(--muted); }
.done-text b { color: var(--gold); font-weight: 500; }
.done-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; margin-top: 20px; }

.reserve-recent ul { list-style: none; margin: 14px 0 0; padding: 0; max-height: 300px; overflow: hidden; mask-image: linear-gradient(180deg, #000 75%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent); }
.reserve-recent li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed rgba(230, 196, 124, 0.12); font-size: 14px; animation: fadeUp 0.5s both; }
.reserve-recent li:nth-child(2) { animation-delay: 0.05s; }
.reserve-recent li:nth-child(3) { animation-delay: 0.1s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }
.rc-qq { color: var(--paper); font-variant-numeric: tabular-nums; }
.rc-sect { color: var(--muted); }
.rc-sect b { margin-left: 4px; color: var(--gold); font-weight: 500; }
.reserve-recent time { color: var(--muted); font-size: 12px; }
.rc-empty { color: var(--muted); grid-template-columns: 1fr !important; }
.reserve-mode { margin-top: 12px; font-size: 12px; color: var(--ice); opacity: 0.8; }

@media (max-width: 980px) {
  .reserve-head { grid-template-columns: 1fr; }
  .reserve-deadline { text-align: left; }
  .reserve-deadline .countdown { justify-content: flex-start; }
  .reserve-open { align-items: flex-start; }
  .reserve-board { grid-template-columns: 1fr; gap: 28px; }
  .reserve-bottom { grid-template-columns: 1fr; }
  .sect-feature { grid-template-columns: 1fr; }
  .sect-feature-art { background-image: url("../assets/art/kunlun-mobile.jpg"); background-position: 50% 0; background-size: 100% auto; background-color: #0b1226; }
  .sect-feature-art::after { background: linear-gradient(180deg, rgba(11, 18, 38, 0.15) 0, rgba(11, 18, 38, 0.55) 45vw, #0b1226 85vw); }
  .sect-feature-copy { padding: 150px 28px 10px; }
  .sect-feature-skills { border-left: 0; background: none; backdrop-filter: none; }
  .sect-feature-skills ul { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .reserve-board { padding: 24px 18px; }
  .milestones { grid-auto-flow: row; grid-auto-columns: auto; gap: 14px; }
  .ms-track { left: 18px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; }
  .ms-track i { inset: 0 0 auto 0; width: 100% !important; height: var(--fill, 0); transition: height 1.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .ms { flex-direction: row; text-align: left; gap: 12px; }
  .ms-count { margin: 0; min-width: 64px; }
  .ms-reward { flex-direction: row; margin: 0; }
  .ms-reward img { width: 32px; height: 32px; }
  .sect-feature-copy { padding: 110px 18px 6px; }
  .sect-feature-skills { padding: 20px 18px; }
  .sect-feature-skills ul { grid-template-columns: 1fr; }
  .reserve-form, .reserve-done, .reserve-recent { padding: 22px 18px; }
}

/* ---------- 首页 · 江湖实录 ---------- */

.gallery { background: linear-gradient(180deg, var(--night), var(--night-2) 50%, var(--night)); }
.gallery-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.gallery-counter { display: flex; align-items: baseline; gap: 8px; margin-top: 30px; font-variant-numeric: tabular-nums; }
.gallery-counter strong { font: 600 46px/1 "Segoe UI", var(--font-body); color: var(--gold); }
.gallery-counter span { color: var(--muted); }
.gallery-arrows { display: flex; gap: 10px; margin-top: 18px; }
.gallery-arrows .icon-btn { width: 46px; height: 46px; border-radius: 2px; }
.gallery-arrows .prev .ico { transform: rotate(180deg); }
.gallery-stage { position: relative; display: block; width: 100%; aspect-ratio: 2 / 1; overflow: hidden; padding: 0; border: 1px solid var(--line); background: #000; }
.gallery-stage img { width: 100%; height: 100%; object-fit: cover; animation: galleryIn 0.6s ease; }
@keyframes galleryIn { from { opacity: 0.2; transform: scale(1.02); } }
.gallery-stage::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -120px 80px -60px rgba(6, 10, 22, 0.85); pointer-events: none; }
.gallery-caption { position: absolute; left: 24px; bottom: 18px; z-index: 1; text-align: left; }
.gallery-caption h3 { font: 26px var(--font-display); letter-spacing: 0.12em; color: var(--paper); }
.gallery-caption p { font-size: 13px; color: var(--muted); }
.gallery-zoom { position: absolute; right: 18px; bottom: 18px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); background: rgba(6, 10, 22, 0.6); color: var(--gold); font-size: 13px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 12px; }
.gallery-thumbs button { position: relative; padding: 0; border: 1px solid transparent; background: none; opacity: 0.55; transition: 0.2s; aspect-ratio: 2 / 1; overflow: hidden; }
.gallery-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs button:hover { opacity: 0.85; }
.gallery-thumbs button[aria-pressed="true"] { opacity: 1; border-color: var(--gold); }
.lightbox { width: min(1400px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--line); background: #03060d; }
.lightbox::backdrop { background: rgba(2, 4, 10, 0.88); }
.lightbox img { width: 100%; height: auto; max-height: calc(100dvh - 90px); object-fit: contain; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; }
.lightbox-bar h2 { font: 20px var(--font-display); color: var(--gold); letter-spacing: 0.1em; }
@media (max-width: 900px) {
  .gallery-layout { grid-template-columns: 1fr; gap: 20px; }
  .gallery-counter { margin-top: 18px; }
}
@media (max-width: 560px) { .gallery-caption h3 { font-size: 20px; } .gallery-zoom span { display: none; } .gallery-thumbs { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 首页 · 特色 ---------- */

.essence { overflow: hidden; }
.essence-bg { position: absolute; inset: 0; z-index: -1; background: url("../assets/gallery/wudang.jpg") 15% 85% / 150% auto no-repeat; opacity: 0.16; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.essence { isolation: isolate; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { position: relative; padding: 30px 26px 28px; border: 1px solid rgba(230, 196, 124, 0.16); background: linear-gradient(180deg, rgba(19, 32, 63, 0.6), rgba(8, 13, 28, 0.6)); overflow: hidden; transition: border-color 0.3s, transform 0.3s; }
.feature:hover { border-color: rgba(230, 196, 124, 0.5); transform: translateY(-4px); }
.feature-char { position: absolute; right: -6px; top: -18px; font: 120px/1 var(--font-display); color: rgba(230, 196, 124, 0.08); pointer-events: none; }
.feature h3 { font: 26px var(--font-display); letter-spacing: 0.12em; color: var(--gold); }
.feature h3 small { display: block; margin-top: 2px; font: 12px var(--font-body); color: var(--ice); letter-spacing: 0.2em; }
.feature p { margin-top: 14px; font-size: 14px; color: var(--muted); }
@media (max-width: 1000px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- 首页 · 门派长卷 ---------- */

.sect-scroll { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.sect-tile { position: relative; margin: 0; border: 1px solid rgba(230, 196, 124, 0.2); overflow: hidden; aspect-ratio: 170 / 270; transition: border-color 0.3s; }
.sect-tile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 0.6s; }
.sect-tile:hover { border-color: var(--gold); }
.sect-tile:hover img { transform: scale(1.06); }
.sect-tile figcaption { position: absolute; inset: auto 0 0; padding: 40px 12px 12px; background: linear-gradient(180deg, transparent, rgba(6, 10, 22, 0.95)); }
.sect-tile strong { display: block; font: 22px var(--font-display); color: var(--gold); letter-spacing: 0.14em; }
.sect-tile span { font-size: 12px; color: var(--muted); }
/* 新门派：昆仑（长卷第 13 格）高亮描边。与介绍页 .sect-item.is-new 用同一套金色语言。 */
.sect-tile.is-new { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(230, 196, 124, 0.32), 0 0 26px rgba(230, 196, 124, 0.18); }
.sect-tile.is-new span { color: var(--gold); }
@media (max-width: 900px) { .sect-scroll { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .sect-scroll { grid-template-columns: repeat(3, 1fr); gap: 8px; } .sect-tile strong { font-size: 18px; } .sect-tile figcaption { padding: 30px 8px 8px; } }

/* ---------- 首页 · 掉落速览 ---------- */

.drops-teaser { background: linear-gradient(180deg, var(--night), var(--night-2) 45%, var(--night)); }
.teaser-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.boss-card { display: flex; flex-direction: column; padding: 22px 22px 20px; border: 1px solid rgba(230, 196, 124, 0.18); background: rgba(14, 23, 48, 0.7); transition: border-color 0.25s, transform 0.25s; }
.boss-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.boss-card-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); letter-spacing: 0.1em; }
.boss-card h3 { margin-top: 10px; font: 26px var(--font-display); color: var(--paper); letter-spacing: 0.1em; }
.boss-card .boss-loc { font-size: 13px; color: var(--ice); }
.boss-icons { display: flex; gap: 6px; margin-top: 16px; }
.boss-icons img { width: 42px; height: 42px; border: 1px solid var(--q, rgba(230, 196, 124, 0.35)); }
.boss-card .text-link { margin-top: 16px; font-size: 13px; }
.cat-chip { padding: 0 8px; border: 1px solid var(--line); color: var(--gold); line-height: 20px; }
@media (max-width: 1000px) { .teaser-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .teaser-grid { grid-template-columns: 1fr; } }

/* ---------- 首页 · 联系我们 ---------- */

.contact { overflow: hidden; isolation: isolate; }
.contact-bg { position: absolute; inset: 0; z-index: -1; background: url("../assets/gallery/mantuo.jpg") center 60% / cover; opacity: 0.2; mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent); }
.contact-panel { display: block; }
.contact-panel > div { max-width: 46rem; }
.contact-safety { margin-top: 18px; padding-left: 14px; border-left: 2px solid var(--red); color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .contact-panel { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- 页脚 ---------- */

.site-footer { position: relative; margin-top: 40px; padding: 70px 0 34px; background: #04070f; border-top: 1px solid rgba(230, 196, 124, 0.1); }
.footer-ridge { position: absolute; left: 0; right: 0; bottom: 100%; height: 120px; background: url("../assets/art/ridge.png") center bottom / auto 100% repeat-x; filter: brightness(0.12) saturate(0.6); pointer-events: none; }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 24px 48px; }
.footer-brand img { width: 96px; }
.footer-brand p { margin-top: 6px; font: 15px var(--font-display); color: var(--muted); letter-spacing: 0.2em; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; align-content: flex-start; gap: 6px 26px; font-size: 14px; color: var(--muted); }
.footer-nav a:hover, .footer-nav button:hover { color: var(--gold); }
.footer-nav button { border: 0; padding: 0; background: none; color: inherit; font-size: inherit; }
.footer-legal { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid rgba(230, 196, 124, 0.08); font-size: 12px; color: rgba(155, 169, 196, 0.7); }
.footer-legal small { display: block; margin-top: 6px; font-size: 12px; }
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr; } .footer-nav { justify-content: flex-start; } }

/* ---------- 子页面通用 ---------- */

.page-hero { position: relative; padding: calc(var(--header-h) + 64px) 0 54px; overflow: hidden; isolation: isolate; border-bottom: 1px solid rgba(230, 196, 124, 0.12); }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; background: url("../assets/art/hero-1600.jpg") center 35% / cover; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 10, 22, 0.92), rgba(6, 10, 22, 0.55)), linear-gradient(180deg, transparent 50%, var(--night)); }
.page-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.breadcrumb { display: flex; gap: 10px; font-size: 13px; color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }
.page-title { margin-top: 18px; font: clamp(34px, 5vw, 58px)/1.15 var(--font-display); letter-spacing: 0.1em; }
.page-title em { font-style: normal; color: var(--gold); }
.page-sub { margin-top: 12px; color: var(--muted); letter-spacing: 0.1em; }

.prose-card { padding: 28px 30px; border: 1px solid rgba(230, 196, 124, 0.16); background: rgba(14, 23, 48, 0.55); }
.prose-card + .prose-card { margin-top: 18px; }
.prose-card h2 { font: 26px var(--font-display); color: var(--gold); letter-spacing: 0.1em; }
.prose-card p, .prose-card li { color: rgba(239, 231, 213, 0.86); }
.prose-card p + p { margin-top: 10px; }
