/* =========================================================
   /assets/site.css — 得乐88投注 共享外壳样式
   1. Reset & tokens
   2. 基础排版
   3. 通用组件（按钮 / 卡片 / 筛选 / 图片容器 / 面包屑 / 正文）
   4. 头部
   5. 页脚
   6. 响应式
   7. 动效与降级
   ========================================================= */

/* ---------- 1. Reset & tokens ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: #06080C;
  background-image:
    radial-gradient(900px 620px at 88% -8%, rgba(34, 224, 200, 0.10), transparent 62%),
    radial-gradient(760px 520px at -6% 4%, rgba(47, 111, 181, 0.14), transparent 58%),
    radial-gradient(680px 520px at 50% 108%, rgba(255, 107, 44, 0.07), transparent 60%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.75;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

:root {
  /* 色彩体系 */
  --ink: #06080C;
  --ink-2: #0D131C;
  --panel: #121C29;
  --paper: #F3EDE3;
  --cyan: #22E0C8;
  --orange: #FF6B2C;
  --porcelain: #2F6FB5;
  --line: #3C4A5A;
  --text: #D8DEE6;
  --amber: #F5C451;
  --muted: #8B98A8;

  /* 字体 */
  --font-display: Oswald, "Source Han Sans SC", "PingFang SC", system-ui, sans-serif;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", Songti SC, "SimSun", serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --font-sans: "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;

  /* 结构 */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shell-max: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --progress: 0;
}

/* ---------- 2. 基础排版 ---------- */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.55em;
  color: var(--paper);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.4vw, 92px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.04em;
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 500;
  letter-spacing: 0.02em;
}

h3 {
  font-size: 22px;
  font-weight: 700;
}

h4 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover { color: #6BFAE9; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }

img { max-width: 100%; height: auto; display: block; }

strong, b { font-weight: 700; color: var(--paper); }

hr {
  border: 0;
  height: 1px;
  background: rgba(60, 74, 90, 0.8);
  margin: 2em 0;
}

::selection {
  background: rgba(34, 224, 200, 0.28);
  color: #EAFBF8;
}

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

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: 0.02em;
}

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

.section {
  padding-block: clamp(48px, 7vw, 96px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  display: block;
  width: 26px;
  height: 1px;
  background: currentColor;
}

.section-title {
  margin: 0 0 14px;
  max-width: 22ch;
}

.section-lead {
  max-width: 58ch;
  color: var(--muted);
  font-size: 16px;
}

.paper {
  background: var(--paper);
  color: var(--ink-2);
}

.paper h1,
.paper h2,
.paper h3,
.paper h4 {
  color: var(--ink-2);
}

.paper a { color: #1F5A9B; }

/* ---------- 3. 通用组件 ---------- */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  transform: translateY(-180%);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  background: var(--cyan);
  color: #04120F;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  color: #04120F;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 200;
  transform: scaleX(var(--progress));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--porcelain) 58%, var(--orange));
  pointer-events: none;
  will-change: transform;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn--primary {
  background: var(--orange);
  color: #0A0603;
  box-shadow: 0 10px 26px rgba(255, 107, 44, 0.26);
}

.btn--primary:hover {
  background: #FF8347;
  color: #0A0603;
  box-shadow: 0 14px 34px rgba(255, 107, 44, 0.4);
  transform: translateY(-1px);
}

.btn--ghost {
  background: rgba(34, 224, 200, 0.07);
  border-color: rgba(34, 224, 200, 0.45);
  color: var(--cyan);
}

.btn--ghost:hover {
  background: rgba(34, 224, 200, 0.15);
  border-color: var(--cyan);
  color: #7CFCEC;
}

/* 卡片三级深度 */
.card {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid rgba(60, 74, 90, 0.78);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(18, 28, 41, 0.97), rgba(13, 19, 28, 0.97));
}

.card--glass {
  background: rgba(18, 28, 41, 0.52);
  border-color: rgba(34, 224, 200, 0.22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px) saturate(130%);
  -webkit-backdrop-filter: blur(8px) saturate(130%);
  transition: backdrop-filter 0.25s ease, border-color 0.25s ease;
}

.card--glass:hover {
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: rgba(34, 224, 200, 0.55);
}

.card--cut {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
}

/* 筛选 chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(60, 74, 90, 0.95);
  border-radius: 999px;
  background: rgba(18, 28, 41, 0.8);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.chip:hover {
  border-color: rgba(34, 224, 200, 0.6);
  color: var(--cyan);
}

.chip[aria-pressed="true"],
.chip.is-active {
  background: rgba(34, 224, 200, 0.14);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 224, 200, 0.10);
}

/* 图片容器基础规则（页面阶段放占位图） */
.media-frame {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(60, 74, 90, 0.7);
  border-radius: var(--radius-md);
  background:
    linear-gradient(150deg, rgba(18, 28, 41, 0.95), rgba(6, 8, 12, 0.95)),
    repeating-linear-gradient(135deg, rgba(47, 111, 181, 0.16) 0 1px, transparent 1px 18px);
}

.media-frame__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 52%, rgba(6, 8, 12, 0.72));
}

.media-frame--plain::after { display: none; }

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }

/* 面包屑 */
.breadcrumb {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

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

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: var(--line);
}

.breadcrumb__link {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.breadcrumb__link:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.breadcrumb__item[aria-current="page"] {
  color: var(--cyan);
}

/* 正文长文容器 */
.prose {
  max-width: 68ch;
  font-size: 16.5px;
  line-height: 1.85;
}

.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose ul,
.prose ol { padding-left: 1.3em; }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.paper .prose a { color: #1F5A9B; }

/* 栅格 */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}

/* ---------- 4. 头部 ---------- */
.site-header {
  position: relative;
  z-index: 60;
}

/* 上层品牌说明条 */
.header-top {
  overflow-x: auto;
  overflow-y: hidden;
  background: var(--ink-2);
  border-bottom: 1px solid rgba(60, 74, 90, 0.7);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.header-top::-webkit-scrollbar { display: none; }

.header-top__inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 36px);
  width: 100%;
  max-width: var(--shell-max);
  min-height: 46px;
  margin-inline: auto;
  padding: 6px var(--gutter);
  white-space: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--paper);
  text-decoration: none;
  flex-shrink: 0;
}

.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  background: var(--cyan);
  color: #04120F;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 4px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.25;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--paper);
  text-transform: uppercase;
}

.brand__tagline {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.header-top__note {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  margin: 0;
  padding-left: clamp(10px, 2vw, 22px);
  border-left: 1px solid rgba(60, 74, 90, 0.9);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cyan);
  flex-shrink: 0;
}

.quick-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
  flex-shrink: 0;
}

.quick-actions > li { display: flex; }

.quick-actions__item {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid rgba(34, 224, 200, 0.32);
  border-radius: 999px;
  background: rgba(34, 224, 200, 0.06);
  color: var(--text);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.quick-actions__item:hover {
  border-color: var(--cyan);
  background: rgba(34, 224, 200, 0.13);
  color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 224, 200, 0.10);
}

/* 下层吸附导航 */
.header-bar {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(6, 8, 12, 0.86);
  border-bottom: 1px solid rgba(60, 74, 90, 0.75);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.header-bar[data-stuck] {
  border-bottom-color: rgba(34, 224, 200, 0.42);
  background: rgba(6, 8, 12, 0.95);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.62);
}

.header-bar__inner {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  width: 100%;
  max-width: var(--shell-max);
  min-height: 66px;
  margin-inline: auto;
  padding: 8px var(--gutter);
}

.brand-chip {
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: var(--paper);
  text-decoration: none;
}

.brand-chip__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(34, 224, 200, 0.14);
  border: 1px solid rgba(34, 224, 200, 0.45);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
}

.brand-chip__label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--paper);
}

.site-nav {
  display: flex;
  align-items: center;
  margin-left: clamp(0px, 1vw, 14px);
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0px, 0.8vw, 8px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__item { display: flex; }

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.22s ease;
}

.site-nav__link:hover {
  color: var(--cyan);
  background: rgba(34, 224, 200, 0.07);
}

.site-nav__link:hover::after { transform: scaleX(1); }

.site-nav__link[aria-current="page"] {
  color: var(--cyan);
  background: rgba(34, 224, 200, 0.10);
}

.site-nav__link[aria-current="page"]::after { transform: scaleX(1); }

.header-cta {
  margin-left: auto;
  flex-shrink: 0;
}

/* 移动端汉堡 */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 44px;
  min-height: 44px;
  margin-left: auto;
  padding: 0 14px;
  border: 1px solid rgba(34, 224, 200, 0.4);
  border-radius: var(--radius-sm);
  background: rgba(34, 224, 200, 0.08);
  color: var(--cyan);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(34, 224, 200, 0.16);
  border-color: var(--cyan);
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 18px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.site-header[data-open] .nav-toggle__bars span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.site-header[data-open] .nav-toggle__bars span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.nav-toggle__label { line-height: 1; }

/* ---------- 5. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 110px);
  padding-block: clamp(44px, 6vw, 84px) clamp(22px, 3vw, 34px);
  background: var(--ink-2);
  border-top: 1px solid rgba(60, 74, 90, 0.75);
  overflow: hidden;
  color: var(--text);
}

.footer__texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.85;
  background-image:
    repeating-linear-gradient(45deg, rgba(47, 111, 181, 0.10) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(-45deg, rgba(47, 111, 181, 0.08) 0 1px, transparent 1px 24px),
    radial-gradient(circle at 18% 16%, rgba(47, 111, 181, 0.22), transparent 58%),
    radial-gradient(circle at 82% 78%, rgba(34, 224, 200, 0.10), transparent 55%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.35) 72%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.35) 72%, transparent 100%);
}

.footer__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr);
  gap: clamp(28px, 5vw, 76px);
  padding-bottom: clamp(26px, 4vw, 46px);
  border-bottom: 1px solid rgba(60, 74, 90, 0.65);
}

.footer__brandlink {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--paper);
  text-decoration: none;
}

.footer__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 5px;
  background: rgba(34, 224, 200, 0.16);
  border: 1px solid rgba(34, 224, 200, 0.5);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.footer__wordmark {
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--paper);
}

.footer__pitch {
  max-width: 30ch;
  margin: 16px 0 22px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.footer__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.footer__stats .num {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 32px);
}

.footer__col-title {
  position: relative;
  margin: 0 0 14px;
  padding-bottom: 10px;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--paper);
}

.footer__col-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 22px;
  height: 1px;
  background: var(--orange);
}

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

.footer__link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--text);
  font-size: 14.5px;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer__link:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 6px clamp(18px, 3vw, 42px);
  padding-block: clamp(20px, 3vw, 30px);
  border-bottom: 1px solid rgba(60, 74, 90, 0.65);
}

.footer__contact-line {
  margin: 0;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.footer__contact-line--wide { flex-basis: 100%; }

.footer__value {
  color: var(--text);
  margin-left: 6px;
  border-bottom: 1px solid rgba(34, 224, 200, 0.45);
  padding-bottom: 1px;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: clamp(16px, 2.4vw, 24px);
}

.footer__legal-line {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.footer__note {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--line);
}

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

@media (max-width: 880px) {
  .header-bar__inner { min-height: 62px; }

  .brand-chip { display: inline-flex; }

  .site-nav {
    position: absolute;
    inset: 100% 0 auto 0;
    display: none;
    margin: 0;
    padding: 10px var(--gutter) 20px;
    background: var(--ink-2);
    border-top: 1px solid rgba(60, 74, 90, 0.9);
    border-bottom: 1px solid rgba(34, 224, 200, 0.28);
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.7);
  }

  .site-header[data-open] .site-nav { display: block; }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .site-nav__link {
    width: 100%;
    min-height: 50px;
    padding-inline: 14px;
    font-size: 16.5px;
    border-radius: 10px;
  }

  .site-nav__link::after { left: 14px; right: auto; width: 26px; bottom: 10px; }

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

  .header-cta { display: none; }

  .footer__top { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }

  .header-top__inner { min-height: 44px; gap: 14px; }

  .brand__tagline { display: none; }

  .quick-actions { gap: 6px; }

  .quick-actions__item { padding: 0 12px; font-size: 12px; }

  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .grid-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .footer__cols { grid-template-columns: minmax(0, 1fr); }
  .grid-12 { grid-template-columns: minmax(0, 1fr); }
  .footer__stats { gap: 18px; }
  .footer__legal { flex-direction: column; align-items: flex-start; }
}

/* ---------- 7. 动效与降级 ---------- */
html[data-js="on"] [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
}

[data-reveal] {
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 0.8, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

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

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

  .scroll-progress { display: none; }
}
