/* ============================================================
   尊龙游戏娱乐 · 共享外壳样式 /assets/site.css
   暗金东方未来感：玄黑底 + 鎏金锚点 + 赤红暗涌 + 冷银正文
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; }
a { color: inherit; }
table { border-collapse: collapse; }

:root {
  /* 色彩 */
  --ink: #07080B;
  --ink-deep: #04050A;
  --panel: #0E1117;
  --panel-2: #12161E;
  --gold: #D6A84F;
  --gold-hi: #F4D58A;
  --gold-dim: #9A7226;
  --red: #B33A3A;
  --red-deep: #6F2328;
  --silver: #C7CDD6;
  --mist: #7E8794;
  --sand: #EFE3C2;
  --jade: #4E8B85;

  --line: rgba(214, 168, 79, 0.16);
  --line-soft: rgba(199, 205, 214, 0.10);
  --line-strong: rgba(214, 168, 79, 0.42);

  /* 尺度 */
  --rail-w: 88px;
  --content-max: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --measure: 38em;
  --r-panel: 32px;
  --r-card: 24px;
  --r-pill: 999px;

  /* 字体 */
  --font-head: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;

  /* 动效 */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 480ms;
}

/* ---------- 正文基础排版 ---------- */
body {
  min-height: 100vh;
  padding-inline-start: var(--rail-w);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.02vw, 17px);
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.012em;
  color: var(--silver);
  background-color: var(--ink);
  background-image:
    radial-gradient(120% 78% at 106% -12%, rgba(214, 168, 79, 0.11), transparent 56%),
    radial-gradient(92% 68% at -12% 108%, rgba(111, 35, 40, 0.18), transparent 62%),
    radial-gradient(58% 42% at 44% 42%, rgba(18, 22, 30, 0.9), transparent 70%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--sand);
}
h1 { font-size: clamp(34px, 5.4vw, 64px); line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; }
h3 { font-size: clamp(20px, 2.1vw, 26px); line-height: 1.28; }
h4 { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.4; }
p { line-height: 1.9; }
strong { color: var(--gold-hi); font-weight: 700; }
small { font-size: 12px; }

::selection { background: rgba(214, 168, 79, 0.32); color: #fff; }

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

/* ---------- 工具类 ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

#main-content { display: block; }
#main-content:focus { outline: none; }

.flow > * + * { margin-block-start: 1.15em; }

.prose { max-width: min(100%, var(--measure)); }
.prose > * + * { margin-block-start: 1.05em; }
.prose h2, .prose h3 { margin-block-start: 1.7em; color: var(--sand); }
.prose ul, .prose ol { padding-inline-start: 1.35em; list-style: revert; }
.prose li + li { margin-block-start: 0.45em; }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 0.26em; }
.prose a:hover { color: var(--gold-hi); }

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--gold-hi), var(--gold) 60%, var(--gold-dim));
  color: #161006;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-decoration: none;
  box-shadow: 0 12px 34px -14px rgba(214, 168, 79, 0.9);
  transform: translateY(-180%);
  transition: transform 0.26s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: linear-gradient(150deg, rgba(214, 168, 79, 0.16), rgba(214, 168, 79, 0.04));
  color: var(--sand);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s var(--ease), transform 0.2s var(--ease), background-color 0.3s var(--ease);
}
.btn:hover {
  color: #fff;
  border-color: rgba(244, 213, 138, 0.75);
  box-shadow: 0 0 0 1px rgba(244, 213, 138, 0.35), 0 16px 40px -18px rgba(214, 168, 79, 0.85);
}
.btn:active { transform: translateY(1px) scale(0.985); }

.btn--solid {
  background: linear-gradient(135deg, var(--gold-hi), var(--gold) 55%, var(--gold-dim));
  border-color: transparent;
  color: #161006;
  font-weight: 900;
  box-shadow: 0 14px 34px -18px rgba(214, 168, 79, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn--solid:hover { color: #100B02; box-shadow: 0 0 0 1px rgba(244, 213, 138, 0.6), 0 20px 46px -18px rgba(214, 168, 79, 1); }

.btn--ghost {
  background: transparent;
  border-color: var(--line-soft);
  color: var(--silver);
  font-weight: 600;
}
.btn--ghost:hover { color: var(--sand); border-color: var(--line-strong); }

.btn--sm { padding: 10px 20px; font-size: 13px; }

/* ---------- 面包屑 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
}
.crumbs a { text-decoration: none; color: inherit; transition: color 0.25s var(--ease); }
.crumbs a:hover { color: var(--gold-hi); }
.crumbs [aria-current="page"] { color: var(--sand); }
.crumbs__sep { color: var(--mist); opacity: 0.55; }

/* ---------- 面板 / 标签 / 章节编号 ---------- */
.panel {
  position: relative;
  padding: clamp(24px, 4vw, 56px);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-panel);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(214, 168, 79, 0.13), transparent 58%),
    linear-gradient(160deg, var(--panel-2) 0%, #0B0E14 58%, var(--panel) 100%);
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute;
  inset-inline: 12%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 213, 138, 0.7), transparent);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.4;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-pill);
  background: rgba(199, 205, 214, 0.06);
  color: var(--mist);
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1.4;
  white-space: nowrap;
}
.tag[data-tone="gold"] { color: var(--gold-hi); background: rgba(214, 168, 79, 0.12); border-color: rgba(214, 168, 79, 0.36); }
.tag[data-tone="red"] { color: #E9A9A9; background: rgba(179, 58, 58, 0.14); border-color: rgba(179, 58, 58, 0.42); }
.tag[data-tone="jade"] { color: #9FD3CD; background: rgba(78, 139, 133, 0.14); border-color: rgba(78, 139, 133, 0.42); }

.section-index {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(48px, 9vw, 120px);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(214, 168, 79, 0.34);
  user-select: none;
}

/* ---------- 图片容器基础规则 ---------- */
.figure {
  --figure-ratio: 16 / 9;
  position: relative;
  margin: 0;
  aspect-ratio: var(--figure-ratio);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-card);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 82% 0%, rgba(214, 168, 79, 0.22), transparent 58%),
    radial-gradient(96% 84% at 0% 100%, rgba(111, 35, 40, 0.36), transparent 62%),
    linear-gradient(160deg, #141922 0%, #0A0D12 100%);
}
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--wide { --figure-ratio: 21 / 9; }
.figure--square { --figure-ratio: 1 / 1; }
.figure--tall { --figure-ratio: 3 / 4; }
.figure--portrait { --figure-ratio: 4 / 5; }
.figure__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 18px 20px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
  background: linear-gradient(0deg, rgba(4, 5, 10, 0.9), transparent);
}

/* ---------- 网格 ---------- */
.grid { display: grid; gap: clamp(18px, 2.6vw, 32px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

/* ---------- 显现动效 ---------- */
html[data-js="true"] [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
html[data-js="true"] [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   页头 · 左侧轨道导航
   ============================================================ */
.site-header {
  position: fixed;
  inset-block: 0;
  inset-inline-start: 0;
  width: var(--rail-w);
  z-index: 60;
}

.rail {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 22px 8px 20px;
  border-inline-end: 1px solid var(--line);
  background:
    linear-gradient(180deg, #11151D 0%, #0B0E14 44%, #07080B 100%);
}
.rail::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 190px;
  pointer-events: none;
  background: radial-gradient(80% 100% at 50% 0%, rgba(214, 168, 79, 0.22), transparent 72%);
}

/* 品牌 */
.rail__brand {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 4px 0 14px;
  text-decoration: none;
  color: var(--sand);
}
.rail__seal {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0;
  color: #1A1206;
  background: linear-gradient(145deg, var(--gold-hi) 0%, var(--gold) 56%, var(--gold-dim) 100%);
  box-shadow: 0 10px 26px -12px rgba(214, 168, 79, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.rail__brand:hover .rail__seal {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -12px rgba(244, 213, 138, 1), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.rail__wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  line-height: 1.2;
}
.rail__name {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--sand);
  white-space: nowrap;
}
.rail__en {
  font-size: 8px;
  letter-spacing: 0.3em;
  color: var(--mist);
  text-transform: uppercase;
}

/* 移动端开关（桌面隐藏） */
.rail__toggle {
  display: none;
  align-items: center;
  gap: 9px;
  margin-inline-start: auto;
  padding: 10px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: rgba(214, 168, 79, 0.07);
  color: var(--sand);
  font-size: 11px;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.rail__toggle:hover { background: rgba(214, 168, 79, 0.14); border-color: rgba(244, 213, 138, 0.7); }
.rail__toggle-bars { display: inline-flex; flex-direction: column; gap: 4px; width: 16px; }
.rail__toggle-bars span {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.32s var(--ease), opacity 0.32s var(--ease);
}
.site-header[data-open="true"] .rail__toggle-bars span:first-child { transform: translateY(2.75px) rotate(45deg); }
.site-header[data-open="true"] .rail__toggle-bars span:last-child { transform: translateY(-2.75px) rotate(-45deg); }
.rail__toggle-label { line-height: 1; }

/* 导航 */
.rail__nav {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  padding-inline: 8px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(214, 168, 79, 0.3) transparent;
}
.rail__list { display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding-block: 8px; }
.rail__item { display: flex; }

.rail__link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: 100%;
  padding: 12px 4px;
  border-radius: 20px;
  color: var(--mist);
  text-decoration: none;
  line-height: 1;
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.rail__link:hover {
  color: var(--sand);
  background: rgba(244, 213, 138, 0.07);
  box-shadow: inset 0 0 0 1px rgba(214, 168, 79, 0.22);
}
.rail__idx {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  font-variant-numeric: tabular-nums;
  opacity: 0.7;
}
.rail__label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.1;
  color: inherit;
}
.rail__link[aria-current="page"] {
  color: var(--gold-hi);
  background: rgba(214, 168, 79, 0.10);
  box-shadow: inset 0 0 0 1px rgba(214, 168, 79, 0.34);
}
.rail__link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 50%;
  width: 2px;
  height: 26px;
  margin-top: -13px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  box-shadow: 0 0 12px rgba(214, 168, 79, 0.85);
}
.rail__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--gold-hi);
  box-shadow: 0 0 10px 2px rgba(244, 213, 138, 0.6);
  animation: rail-pulse 2.8s ease-in-out infinite;
}
@keyframes rail-pulse {
  0%, 100% { transform: scale(0.78); opacity: 0.55; }
  50% { transform: scale(1.15); opacity: 1; }
}

/* 轨道 CTA */
.rail__cta {
  display: block;
  margin-block-start: 14px;
  padding: 18px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.2;
  color: var(--sand);
  text-decoration: none;
  background: linear-gradient(165deg, rgba(214, 168, 79, 0.2), rgba(179, 58, 58, 0.1) 70%, transparent);
  transition: color 0.3s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s var(--ease);
}
.rail__cta:hover {
  color: #fff;
  border-color: rgba(244, 213, 138, 0.8);
  box-shadow: 0 0 0 1px rgba(244, 213, 138, 0.35), 0 0 34px -10px rgba(214, 168, 79, 0.9);
}

/* 滚动进度 */
.rail__progress {
  position: absolute;
  top: 0;
  bottom: 0;
  right: -1px;
  width: 2px;
  z-index: 3;
  background: rgba(214, 168, 79, 0.10);
  pointer-events: none;
}
.rail__progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, var(--red) 130%);
  transform: scaleY(var(--progress, 0));
  transform-origin: top;
  transition: transform 0.12s linear;
  box-shadow: 0 0 14px rgba(214, 168, 79, 0.7);
}

/* 遮罩（仅移动端启用） */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: rgba(4, 5, 7, 0.74);
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}

/* 返回顶部 */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 55;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: rgba(14, 17, 23, 0.92);
  color: var(--sand);
  font-size: 11px;
  letter-spacing: 0.2em;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.35s var(--ease), color 0.3s var(--ease);
}
.to-top[data-visible="true"] { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: #fff; box-shadow: 0 0 0 1px rgba(244, 213, 138, 0.4), 0 16px 36px -18px rgba(214, 168, 79, 0.9); }
.to-top__arrow { font-size: 13px; line-height: 1; color: var(--gold-hi); }
.to-top__text { display: inline; }

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  position: relative;
  margin-block-start: clamp(72px, 10vw, 140px);
  padding-block: clamp(48px, 7vw, 88px) clamp(26px, 4vw, 42px);
  border-top: 1px solid rgba(214, 168, 79, 0.22);
  border-radius: 40px 40px 0 0;
  overflow: hidden;
  background:
    radial-gradient(84% 120% at 10% 0%, rgba(214, 168, 79, 0.15), transparent 62%),
    radial-gradient(72% 100% at 94% 6%, rgba(111, 35, 40, 0.30), transparent 60%),
    linear-gradient(180deg, #0B0E14 0%, #07080B 58%, var(--ink-deep) 100%);
}
.footer__glow {
  position: absolute;
  inset-inline: 8%;
  top: -1px;
  height: 1px;
  background: radial-gradient(60% 100% at 50% 50%, rgba(244, 213, 138, 0.85), transparent 70%);
  pointer-events: none;
}
.footer__mark {
  position: absolute;
  right: -6px;
  bottom: -18px;
  font-family: var(--font-head);
  font-size: clamp(60px, 15vw, 190px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: 0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(214, 168, 79, 0.09);
  pointer-events: none;
  user-select: none;
}
.footer__inner { position: relative; z-index: 2; }

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr) minmax(0, 1.3fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.footer__brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer__seal {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-block-end: 16px;
  border-radius: 15px;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  color: #1A1206;
  background: linear-gradient(145deg, var(--gold-hi), var(--gold) 56%, var(--gold-dim));
  box-shadow: 0 10px 26px -14px rgba(214, 168, 79, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.footer__name {
  font-family: var(--font-head);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--sand);
  line-height: 1.3;
}
.footer__line { margin-block-start: 8px; font-size: 13px; color: var(--mist); line-height: 1.8; }
.footer__domain {
  margin-block-start: 14px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(214, 168, 79, 0.85);
}

.footer__label {
  margin-block-end: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.4;
}
.footer__list { display: flex; flex-direction: column; gap: 10px; }
.footer__link {
  position: relative;
  display: inline-block;
  font-size: 14px;
  color: var(--silver);
  text-decoration: none;
  line-height: 1.7;
  transition: color 0.25s var(--ease), padding-inline-start 0.25s var(--ease);
}
.footer__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s var(--ease);
}
.footer__link:hover { color: var(--gold-hi); padding-inline-start: 14px; }
.footer__link:hover::before { width: 10px; }

.footer__contact-list { display: flex; flex-direction: column; gap: 12px; }
.footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding-block-end: 12px;
  border-bottom: 1px solid rgba(199, 205, 214, 0.08);
}
.footer__row:last-child { border-bottom: 0; padding-block-end: 0; }
.footer__k {
  flex: 0 0 auto;
  min-width: 34px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--mist);
}
.footer__v {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13.5px;
  color: var(--sand);
  line-height: 1.7;
  word-break: break-word;
}

.copy {
  flex: 0 0 auto;
  padding: 4px 11px;
  border: 1px solid rgba(214, 168, 79, 0.35);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.16em;
  line-height: 1.6;
  cursor: pointer;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.copy:hover { color: var(--gold-hi); background: rgba(214, 168, 79, 0.14); border-color: rgba(244, 213, 138, 0.65); }
.copy[data-copied="true"] { color: #9FD3CD; border-color: rgba(78, 139, 133, 0.65); background: rgba(78, 139, 133, 0.14); }
.copy[data-copied="false"] { color: #E9A9A9; border-color: rgba(179, 58, 58, 0.6); background: rgba(179, 58, 58, 0.14); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  margin-block-start: clamp(32px, 5vw, 56px);
  padding-block-start: 22px;
  border-top: 1px solid rgba(199, 205, 214, 0.10);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mist);
  line-height: 1.8;
}
.footer__note { max-width: 48ch; }
.footer__icp { letter-spacing: 0.12em; color: rgba(199, 205, 214, 0.78); }
.footer__cr { letter-spacing: 0.08em; color: var(--mist); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1199px) {
  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__contact { grid-column: 1 / -1; }
}

@media (max-width: 1023px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .col-4, .col-5, .col-6, .col-7, .col-8 { grid-column: span 12; }
}

@media (max-width: 899px) {
  :root { --rail-w: 0px; }

  body { padding-inline-start: 0; padding-block-start: 64px; }

  .site-header { inset: 0 0 auto 0; width: 100%; height: auto; }

  .rail {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    height: 64px;
    padding: 0 clamp(16px, 4vw, 24px);
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(17, 21, 29, 0.98), rgba(9, 11, 16, 0.98));
  }
  .rail::before { display: none; }

  .rail__brand { flex-direction: row; gap: 10px; padding: 0; }
  .rail__seal { width: 34px; height: 34px; border-radius: 11px; font-size: 16px; }
  .rail__wordmark { align-items: flex-start; gap: 1px; }
  .rail__name { font-size: 14px; letter-spacing: 0.06em; }
  .rail__en { font-size: 8px; letter-spacing: 0.28em; }

  .rail__toggle { display: inline-flex; }

  .rail__nav {
    position: fixed;
    top: 64px;
    left: 0;
    bottom: 0;
    width: min(340px, 86vw);
    padding: 22px 18px 108px;
    border-inline-end: 1px solid var(--line);
    background: linear-gradient(180deg, #10141C 0%, #08090D 100%);
    box-shadow: 26px 0 60px -30px rgba(0, 0, 0, 0.95);
    overflow-y: auto;
    z-index: 2;
    visibility: hidden;
    transform: translateX(-102%);
    transition: transform 0.44s var(--ease), visibility 0.44s var(--ease);
  }
  .site-header[data-open="true"] .rail__nav { visibility: visible; transform: none; }

  .rail__list { gap: 6px; padding-block: 0; }
  .rail__link {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
  }
  .rail__idx { font-size: 11px; letter-spacing: 0.2em; }
  .rail__label {
    writing-mode: horizontal-tb;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
  }
  .rail__link[aria-current="page"]::before { left: 5px; top: 50%; height: 22px; margin-top: -11px; }
  .rail__link[aria-current="page"]::after { display: none; }

  .rail__cta {
    position: fixed;
    left: 18px;
    bottom: 26px;
    width: calc(min(340px, 86vw) - 36px);
    margin: 0;
    padding: 15px 12px;
    writing-mode: horizontal-tb;
    text-align: center;
    font-size: 13px;
    letter-spacing: 0.16em;
    z-index: 3;
    visibility: hidden;
    transform: translateX(-140%);
    transition: transform 0.44s var(--ease), visibility 0.44s var(--ease), box-shadow 0.35s var(--ease);
  }
  .site-header[data-open="true"] .rail__cta { visibility: visible; transform: none; }

  .nav-scrim { pointer-events: auto; }
  .site-header[data-open="true"] .nav-scrim { opacity: 1; visibility: visible; }

  .rail__progress {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    height: 2px;
  }
  .rail__progress-bar { transform: scaleX(var(--progress, 0)); transform-origin: left; }

  .to-top { right: 16px; bottom: 16px; padding: 11px 15px; }
  .to-top__text { display: none; }
  .to-top { border-radius: 50%; width: 46px; height: 46px; justify-content: center; }

  .footer__top { grid-template-columns: 1fr; gap: 34px; }
  .footer__contact { grid-column: auto; }
  .site-footer { border-radius: 28px 28px 0 0; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer__note { max-width: none; }
}

@media (max-width: 679px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .grid--12 { grid-template-columns: 1fr; }
  .col-4, .col-5, .col-6, .col-7, .col-8, .col-12 { grid-column: auto; }
  .btn { padding: 13px 22px; font-size: 14px; }
  .panel { border-radius: 24px; }
  .footer__row { gap: 6px 10px; }
}

@media (max-height: 780px) and (min-width: 900px) {
  .rail { padding-block: 14px 12px; }
  .rail__brand { padding-block-end: 8px; gap: 6px; }
  .rail__seal { width: 36px; height: 36px; font-size: 16px; }
  .rail__en { display: none; }
  .rail__list { gap: 4px; }
  .rail__link { padding: 9px 4px; gap: 5px; }
  .rail__label { font-size: 11px; letter-spacing: 0.14em; }
  .rail__cta { padding: 13px 8px; font-size: 11px; margin-block-start: 10px; }
}

/* 减少动态偏好 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html[data-js="true"] [data-reveal] { opacity: 1; transform: none; }
  .rail__link[aria-current="page"]::after { animation: none; }
  .to-top { transition: opacity 0.001ms linear, visibility 0.001ms linear; }
}
