/* ==========================================================================
   天博体育官网 · 共享站点样式 /assets/site.css
   结构：reset → 变量 → 基础排版 → 容器与工具 → 头部浮岛 → 页脚平层
        → 通用组件（按钮/面包屑/卡片/网格/图像容器/手风琴）→ 响应式 → 无障碍
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, li, figure, figcaption, blockquote, dl, dd {
  margin: 0;
}

ul, ol { padding: 0; }
ul[class], ol[class], .nav-list, .footer-list, .footer-contact-list, .crumbs ol { list-style: none; }

img, svg, picture, video { max-width: 100%; display: block; }

button, input, select, textarea { font: inherit; color: inherit; }

a { color: inherit; text-decoration: none; }

button { border: 0; background: none; }

table { border-collapse: collapse; }

/* ---------- 变量 ---------- */
:root {
  --navy-abyss: #050A12;
  --navy-base: #0B1B33;
  --navy-deep: #10243F;
  --check-red: #E23A3A;
  --check-red-dark: #A81F2E;
  --electric-cyan: #2FE0D0;
  --warm-gold: #F5B942;
  --snow: #F7F9FC;
  --fog: #9FB0C7;
  --mint: #E8F4F3;

  --shell-width: 1220px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-xl: 34px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --pill: 999px;

  --font-display: "Arial Narrow", "Haettenschweiler", Impact, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-numeric: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --font-body: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-edition: Georgia, "Songti SC", "SimSun", "Times New Roman", serif;

  --line-soft: rgba(159, 176, 199, 0.18);
  --line-strong: rgba(159, 176, 199, 0.32);
  --shadow-capsule: 0 18px 44px -24px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(247, 249, 252, 0.05);
  --shadow-card: 0 22px 48px -30px rgba(0, 0, 0, 0.85);
}

/* ---------- 基础排版 ---------- */
body {
  background-color: var(--navy-base);
  color: var(--snow);
  font-family: var(--font-body);
  font-size: clamp(15px, 0.55vw + 13.6px, 17px);
  line-height: 1.75;
  letter-spacing: 0.012em;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 10% -8%, rgba(47, 224, 208, 0.10), transparent 64%),
    radial-gradient(780px 460px at 94% 4%, rgba(226, 58, 58, 0.15), transparent 62%);
}

#main-content,
main {
  position: relative;
  z-index: 1;
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.01em;
  font-stretch: 88%;
}

strong { font-weight: 800; color: var(--snow); }

::selection { background: var(--check-red); color: #fff; }

/* ---------- 容器与工具 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  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;
}

.display-xl {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 82%;
  font-size: clamp(44px, 9vw, 118px);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.display-lg {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 86%;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.display-md {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(21px, 2.4vw, 30px);
  line-height: 1.14;
}

.lede {
  max-width: 62ch;
  font-size: clamp(15px, 0.7vw + 13px, 18px);
  line-height: 1.8;
  color: var(--fog);
}

.mono { font-family: var(--font-numeric); font-variant-numeric: tabular-nums; }

.num {
  font-family: var(--font-numeric);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--warm-gold);
  letter-spacing: -0.01em;
}

.edition { font-family: var(--font-edition); letter-spacing: 0.02em; }

.text-fog { color: var(--fog); }
.text-cyan { color: var(--electric-cyan); }
.text-gold { color: var(--warm-gold); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-numeric);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--electric-cyan);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--check-red);
}

.section { padding-block: clamp(46px, 7vw, 96px); }
.section-tight { padding-block: clamp(28px, 4vw, 56px); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(22px, 3vw, 40px);
}

.page-head { padding-block: clamp(32px, 5vw, 72px) clamp(20px, 3vw, 38px); }

.slash-divider {
  height: 1px;
  border: 0;
  margin: clamp(28px, 4vw, 56px) 0;
  background: linear-gradient(90deg, transparent, rgba(47, 224, 208, 0.42), transparent);
}

.checker-field { position: relative; }

.checker-field::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(45deg, rgba(226, 58, 58, 0.16) 25%, transparent 25% 75%, rgba(226, 58, 58, 0.16) 75%),
    linear-gradient(45deg, rgba(226, 58, 58, 0.16) 25%, transparent 25% 75%, rgba(226, 58, 58, 0.16) 75%);
  background-size: 18px 18px;
  background-position: 0 0, 9px 9px;
  -webkit-mask-image: linear-gradient(120deg, #000, transparent 68%);
  mask-image: linear-gradient(120deg, #000, transparent 68%);
}

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translate(-50%, -180%);
  z-index: 140;
  padding: 12px 24px;
  border-radius: var(--pill);
  background: var(--electric-cyan);
  color: var(--navy-abyss);
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 16px 30px -16px rgba(0, 0, 0, 0.9);
  transition: transform 0.22s ease;
}

.skip-link:focus { transform: translate(-50%, 0); }

/* ---------- 头部：悬浮胶囊浮岛 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px var(--gutter) 12px;
  background: linear-gradient(180deg, rgba(5, 10, 18, 0.94) 0%, rgba(5, 10, 18, 0.62) 58%, rgba(5, 10, 18, 0) 100%);
  transition: padding 0.3s ease;
}

.site-header[data-scrolled] { padding-top: 8px; padding-bottom: 8px; }

.header-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 20px);
  width: 100%;
  max-width: var(--shell-width);
  margin-inline: auto;
  padding: 11px 14px 11px 16px;
  border-radius: var(--pill);
  background: linear-gradient(180deg, rgba(16, 36, 63, 0.96), rgba(11, 27, 51, 0.95));
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-capsule);
  transition: padding 0.3s ease, border-color 0.3s ease;
}

.header-shell::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 54px;
  border-radius: var(--pill) 0 0 var(--pill);
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(45deg, rgba(226, 58, 58, 0.75) 25%, transparent 25% 75%, rgba(226, 58, 58, 0.75) 75%),
    linear-gradient(45deg, rgba(226, 58, 58, 0.75) 25%, transparent 25% 75%, rgba(226, 58, 58, 0.75) 75%);
  background-size: 12px 12px;
  background-position: 0 0, 6px 6px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent);
  mask-image: linear-gradient(90deg, #000, transparent);
}

.site-header[data-scrolled] .header-shell {
  padding-top: 8px;
  padding-bottom: 8px;
  border-color: rgba(47, 224, 208, 0.30);
}

.brand-island {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 4px;
  border-radius: var(--radius-md);
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 2px;
  width: 34px;
  height: 34px;
  padding: 3px;
  flex: 0 0 auto;
  border-radius: 11px;
  background: rgba(247, 249, 252, 0.07);
  border: 1px solid var(--line-strong);
}

.brand-mark i { display: block; border-radius: 3px; background: var(--check-red); }
.brand-mark i:nth-child(2),
.brand-mark i:nth-child(3) { background: var(--snow); }
.brand-mark i:nth-child(4) { background: var(--electric-cyan); }

.brand-mark-lg { width: 42px; height: 42px; border-radius: 13px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.16; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.01em;
  color: var(--snow);
}

.brand-sub {
  font-family: var(--font-numeric);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--fog);
}

.brand-slogan {
  padding-left: 13px;
  border-left: 1px solid var(--line-strong);
  font-family: var(--font-edition);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--electric-cyan);
  white-space: nowrap;
}

/* 导航浮岛 */
.nav-island {
  position: relative;
  display: flex;
  align-items: center;
  margin-inline: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list > li { list-style: none; }

.nav-link {
  position: relative;
  display: block;
  padding: 9px 14px;
  border-radius: var(--pill);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--fog);
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
  color: var(--snow);
  background: rgba(47, 224, 208, 0.10);
  transform: translateY(-1px);
}

.nav-link[aria-current="page"] {
  color: var(--snow);
  background: linear-gradient(180deg, rgba(226, 58, 58, 0.34), rgba(168, 31, 46, 0.26));
  box-shadow: inset 0 0 0 1px rgba(226, 58, 58, 0.48);
}

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 14px;
  height: 3px;
  border-radius: 2px;
  background: var(--warm-gold);
  transform: translateX(-50%);
}

.nav-glint {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -3px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(47, 224, 208, 0.5), transparent);
}

/* 头部右侧：实时提示 + CTA */
.header-utility {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
}

.header-ticker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: var(--pill);
  background: rgba(5, 10, 18, 0.58);
  border: 1px solid var(--line-soft);
  font-family: var(--font-numeric);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: var(--fog);
  white-space: nowrap;
}

.ticker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--check-red);
  animation: ticker-pulse 2.4s ease-out infinite;
}

@keyframes ticker-pulse {
  0% { box-shadow: 0 0 0 0 rgba(226, 58, 58, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(226, 58, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(226, 58, 58, 0); }
}

/* 移动端开关 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border-radius: var(--pill);
  background: rgba(226, 58, 58, 0.18);
  border: 1px solid rgba(226, 58, 58, 0.44);
  color: var(--snow);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  flex: 0 0 auto;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nav-toggle[aria-expanded="true"] {
  background: rgba(47, 224, 208, 0.20);
  border-color: rgba(47, 224, 208, 0.55);
}

.nav-toggle-bars { display: grid; gap: 4px; width: 16px; }

.nav-toggle-bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:last-child { transform: translateY(-3px) rotate(-45deg); }

.nav-toggle-label { font-family: var(--font-numeric); letter-spacing: 0.08em; }

/* 阅读进度光轨 */
.scroll-progress {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 0;
  height: 3px;
  border-radius: 3px;
  overflow: hidden;
  background: rgba(247, 249, 252, 0.09);
  pointer-events: none;
}

.scroll-progress-bar {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--electric-cyan), var(--warm-gold));
}

/* ---------- 页脚：墨黑平层 ---------- */
.site-footer {
  position: relative;
  z-index: 2;
  margin-top: clamp(56px, 9vw, 118px);
  padding: clamp(44px, 6vw, 78px) 0 26px;
  background: linear-gradient(180deg, var(--navy-abyss), #03070E);
  border-top: 1px solid var(--line-soft);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(460px, 70%);
  height: 8px;
  opacity: 0.6;
  pointer-events: none;
  background-image:
    linear-gradient(45deg, rgba(226, 58, 58, 0.95) 25%, transparent 25% 75%, rgba(226, 58, 58, 0.95) 75%),
    linear-gradient(45deg, rgba(226, 58, 58, 0.95) 25%, transparent 25% 75%, rgba(226, 58, 58, 0.95) 75%);
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
  -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent);
  mask-image: linear-gradient(90deg, #000 55%, transparent);
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) minmax(150px, 0.75fr) minmax(260px, 1.15fr);
  gap: clamp(26px, 4vw, 60px);
  padding-top: clamp(6px, 2vw, 18px);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 4px;
  border-radius: var(--radius-md);
}

.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.01em;
  color: var(--snow);
}

.footer-slogan {
  margin-top: 18px;
  font-family: var(--font-edition);
  font-size: clamp(19px, 2.3vw, 26px);
  letter-spacing: 0.08em;
  color: var(--snow);
}

.footer-slogan::after {
  content: "";
  display: block;
  width: 58px;
  height: 4px;
  margin-top: 12px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--check-red), var(--warm-gold));
}

.footer-area {
  margin-top: 16px;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.8;
  color: var(--fog);
}

.footer-note {
  margin-top: 10px;
  max-width: 42ch;
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(159, 176, 199, 0.72);
}

.footer-heading {
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--electric-cyan);
}

.footer-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-link {
  display: inline-block;
  font-size: 14.5px;
  color: var(--fog);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-link:hover { color: var(--snow); transform: translateX(4px); }

.footer-contact-list {
  display: grid;
  gap: 14px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.footer-contact-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

.contact-label {
  flex: 0 0 auto;
  font-family: var(--font-numeric);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(159, 176, 199, 0.8);
}

.contact-value {
  font-family: var(--font-numeric);
  font-size: 13.5px;
  letter-spacing: 0.02em;
  color: var(--snow);
  word-break: break-word;
}

.copy-btn {
  flex: 0 0 auto;
  padding: 5px 13px;
  border-radius: var(--pill);
  background: rgba(47, 224, 208, 0.12);
  border: 1px solid rgba(47, 224, 208, 0.36);
  color: var(--electric-cyan);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.copy-btn:hover { background: rgba(47, 224, 208, 0.22); }

.copy-btn[data-copied] {
  background: var(--warm-gold);
  border-color: var(--warm-gold);
  color: var(--navy-abyss);
}

.footer-list-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: clamp(30px, 4vw, 54px);
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.footer-copyright,
.footer-icp {
  font-family: var(--font-numeric);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: rgba(159, 176, 199, 0.85);
}

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-ignite {
  background: linear-gradient(135deg, var(--check-red), var(--check-red-dark));
  color: #fff;
  box-shadow: 0 14px 28px -16px rgba(226, 58, 58, 0.95);
}

.btn-ignite:hover { background: linear-gradient(135deg, #F04A4A, var(--check-red)); }

.btn-flash {
  background: var(--warm-gold);
  color: var(--navy-abyss);
  box-shadow: 0 14px 28px -18px rgba(245, 185, 66, 0.9);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(47, 224, 208, 0.46);
  color: var(--electric-cyan);
}

.btn-ghost:hover { background: rgba(47, 224, 208, 0.12); }

.btn-quiet {
  background: rgba(247, 249, 252, 0.08);
  border-color: var(--line-soft);
  color: var(--snow);
}

.header-cta {
  flex: 0 0 auto;
  padding: 9px 19px;
  font-size: 13px;
}

/* ---------- 面包屑 ---------- */
.crumbs {
  font-family: var(--font-numeric);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--fog);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.crumbs li { list-style: none; }

.crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(159, 176, 199, 0.5);
}

.crumbs a { color: var(--fog); transition: color 0.2s ease; }
.crumbs a:hover { color: var(--electric-cyan); }

/* ---------- 卡片 / 标签 / 数据 ---------- */
.card {
  position: relative;
  padding: clamp(20px, 2.4vw, 30px);
  border-radius: var(--radius-lg);
  background: rgba(16, 36, 63, 0.76);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: var(--pill);
  background: rgba(226, 58, 58, 0.16);
  border: 1px solid rgba(226, 58, 58, 0.38);
  color: #FFC9C9;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.tag-cyan {
  background: rgba(47, 224, 208, 0.14);
  border-color: rgba(47, 224, 208, 0.36);
  color: var(--electric-cyan);
}

.tag-gold {
  background: rgba(245, 185, 66, 0.16);
  border-color: rgba(245, 185, 66, 0.40);
  color: var(--warm-gold);
}

.stat { display: flex; flex-direction: column; gap: 6px; }

.stat-value {
  font-family: var(--font-numeric);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--warm-gold);
}

.stat-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fog);
}

/* ---------- Bento 网格 ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
}

.bento-card {
  position: relative;
  grid-column: span 12;
  padding: clamp(20px, 2.4vw, 32px);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(16, 36, 63, 0.92), rgba(11, 27, 51, 0.88));
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.bento-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(47, 224, 208, 0.16), transparent 70%);
}

@media (min-width: 760px) {
  .bento-4 { grid-column: span 6; }
  .bento-6 { grid-column: span 6; }
  .bento-8 { grid-column: span 12; }
}

@media (min-width: 1024px) {
  .bento-3 { grid-column: span 3; }
  .bento-4 { grid-column: span 4; }
  .bento-6 { grid-column: span 6; }
  .bento-8 { grid-column: span 8; }
  .bento-12 { grid-column: span 12; }
}

/* ---------- 图像容器（供页面阶段放置图片） ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  background: linear-gradient(135deg, rgba(16, 36, 63, 0.94), rgba(5, 10, 18, 0.94));
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(159, 176, 199, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 176, 199, 0.10) 1px, transparent 1px);
  background-size: 32px 32px;
}

.media-frame img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-noise::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(115deg, rgba(247, 249, 252, 0.06) 0 1px, transparent 1px 4px);
}

.media-16x9 { aspect-ratio: 16 / 9; }
.media-4x3 { aspect-ratio: 4 / 3; }
.media-3x2 { aspect-ratio: 3 / 2; }
.media-1x1 { aspect-ratio: 1 / 1; }
.media-21x9 { aspect-ratio: 21 / 9; }

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
}

/* ---------- 手风琴（问答 / 索引） ---------- */
.accordion {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  background: rgba(11, 27, 51, 0.6);
}

.accordion-item + .accordion-item { border-top: 1px solid var(--line-soft); }

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 20px clamp(18px, 2.2vw, 28px);
  background: transparent;
  color: var(--snow);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.accordion-trigger:hover { background: rgba(47, 224, 208, 0.08); }

.accordion-trigger::after {
  content: "+";
  font-family: var(--font-numeric);
  font-size: 20px;
  line-height: 1;
  color: var(--electric-cyan);
  transition: transform 0.25s ease;
}

.accordion-trigger[aria-expanded="true"]::after { transform: rotate(45deg); }

.accordion-panel {
  padding: 0 clamp(18px, 2.2vw, 28px) 22px;
  color: var(--fog);
  line-height: 1.85;
}

.accordion-panel[hidden] { display: none; }

/* ---------- 滚动显现 ---------- */
html[data-reveal-ready] [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

html[data-reveal-ready] [data-reveal][data-revealed] {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1330px) {
  .header-ticker { display: none; }
}

@media (max-width: 1120px) {
  .brand-slogan { display: none; }
}

@media (max-width: 980px) {
  .footer-shell { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-lead { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .site-header { padding-bottom: 10px; }

  .nav-toggle { display: inline-flex; }

  .nav-island {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: block;
    margin: 0;
    padding: 12px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(16, 36, 63, 0.99), rgba(5, 10, 18, 0.99));
    border: 1px solid var(--line-strong);
    box-shadow: 0 28px 54px -26px rgba(0, 0, 0, 0.95);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.26s ease, transform 0.26s ease, visibility 0.26s linear;
  }

  .site-header[data-open] .nav-island {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }

  .nav-link {
    padding: 13px 18px;
    border-radius: 16px;
    font-size: 16px;
  }

  .nav-link[aria-current="page"]::after {
    left: 18px;
    top: 50%;
    bottom: auto;
    width: 4px;
    height: 20px;
    transform: translateY(-50%);
  }

  .nav-glint { display: none; }

  .header-utility { margin-left: auto; }
}

@media (max-width: 620px) {
  .footer-shell { grid-template-columns: minmax(0, 1fr); }
  .footer-lead { grid-column: auto; }
  .header-cta { display: none; }
  .brand-name { font-size: 15px; }
  .brand-sub { font-size: 10px; letter-spacing: 0.1em; }
  .scroll-progress { left: 18px; right: 18px; }
}

/* ---------- 无障碍 ---------- */
:focus-visible {
  outline: 3px solid var(--electric-cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

a:focus-visible,
button:focus-visible { outline-offset: 4px; }

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

  .btn:hover,
  .nav-link:hover,
  .footer-link:hover { transform: none; }

  html[data-reveal-ready] [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
