/* =====================================================
   博万体育 Site Kit — 共享样式
   路径 /assets/site.css
   覆盖：reset、CSS变量、中文排版、共享头部、共享页脚、
         通用按钮、面包屑、内容容器、网格及基础信息组件。
   ===================================================== */

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

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

body {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-text);
  background:
    radial-gradient(ellipse 80% 55% at 85% -10%, rgba(57, 255, 20, 0.07), transparent 60%),
    radial-gradient(ellipse 60% 40% at 0% 110%, rgba(255, 106, 0, 0.06), transparent 60%),
    linear-gradient(160deg, #0A1E3F 0%, #0C2A52 58%, #0A1E3F 100%);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --c-bg: #0A1E3F;
  --c-card: #0C2A52;
  --c-text: #E6E8EB;
  --c-muted: #A0A8B8;
  --c-accent: #39FF14;
  --c-accent-2: #FF6A00;
  --c-gold: #FFD700;
  --c-divider: #1E3A5F;
  --c-float: rgba(10, 30, 63, 0.85);
  --c-success: #00C853;
  --f-head: 'Noto Sans SC', 'PingFang SC', sans-serif;
  --f-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --f-num: 'Roboto Mono', 'Consolas', monospace;
  --container: 1280px;
  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --radius-sm: 0.5rem;
  --skew: -10deg;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
}

a {
  color: var(--c-accent);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

a:hover {
  color: #8fff70;
}

ul,
ol {
  list-style: none;
}

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

::selection {
  background: rgba(57, 255, 20, 0.35);
  color: var(--c-text);
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--f-head);
  font-weight: 900;
  line-height: 1.2;
  color: var(--c-text);
}

main[id] {
  scroll-margin-top: 1.5rem;
}

/* ---------- 内容容器 ---------- */

.container {
  width: min(100% - 3rem, var(--container));
  margin-inline: auto;
}

.container--wide {
  width: min(100% - 2rem, 1480px);
}

.container--narrow {
  width: min(100% - 3rem, 920px);
}

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

/* ---------- 跳转链接与滚动进度 ---------- */

.skip-link {
  position: absolute;
  top: -200%;
  left: 1rem;
  z-index: 110;
  padding: 0.75rem 1.5rem;
  background: var(--c-accent);
  color: #0A1E3F;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(57, 255, 20, 0.35);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

[data-scroll-progress] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1000;
  pointer-events: none;
}

[data-scroll-fill] {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--c-accent), var(--c-accent-2));
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.6);
}

/* ---------- 共享头部 ---------- */

.site-header {
  position: relative;
  z-index: 60;
  background: rgba(10, 30, 63, 0.92);
  border-bottom: 1px solid var(--c-divider);
}

.site-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--c-accent) 0%, rgba(57, 255, 20, 0.15) 30%, transparent 65%, var(--c-accent-2) 100%);
  opacity: 0.55;
  pointer-events: none;
}

.header-topbar {
  background: rgba(12, 42, 82, 0.55);
  border-bottom: 1px solid rgba(30, 58, 95, 0.7);
}

.header-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.75rem;
}

.header-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--c-muted);
}

.header-tagline::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 8px var(--c-accent);
  animation: tagline-pulse 2.6s ease-in-out infinite;
}

@keyframes tagline-pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 8px var(--c-accent);
  }
  50% {
    opacity: 0.55;
    box-shadow: 0 0 2px var(--c-accent);
  }
}

.header-quick-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quick-action {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.875rem;
  border-radius: 999px;
  border: 1px solid var(--c-divider);
  background: rgba(12, 42, 82, 0.6);
  color: var(--c-text);
  font-size: 0.8125rem;
  line-height: 1.4;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.quick-action:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
  background: rgba(57, 255, 20, 0.08);
}

.quick-action--cta {
  background: var(--c-accent-2);
  border-color: var(--c-accent-2);
  color: #0A1E3F;
  font-weight: 700;
}

.quick-action--cta:hover {
  background: #ff7c1a;
  border-color: #ff7c1a;
  color: #0A1E3F;
  box-shadow: 0 0 16px rgba(255, 106, 0, 0.35);
}

.header-main {
  position: relative;
  background: linear-gradient(180deg, rgba(12, 42, 82, 0.3), transparent 70%);
}

.header-main::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -2%;
  width: 22rem;
  height: 72%;
  transform: translateY(-50%) skewX(var(--skew));
  background: linear-gradient(90deg, rgba(57, 255, 20, 0.10), transparent 80%);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.header-main-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 5.5rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  transform: skewX(var(--skew));
  background: linear-gradient(135deg, var(--c-accent) 0%, #00e676 100%);
  color: #0A1E3F;
  font-family: var(--f-head);
  font-weight: 900;
  font-size: 1.375rem;
  line-height: 1;
  box-shadow:
    0 0 0 1px rgba(57, 255, 20, 0.35),
    0 0 24px rgba(57, 255, 20, 0.18);
}

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

.brand-text strong {
  font-family: var(--f-head);
  font-size: 1.375rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--c-text);
  transition: color 0.2s ease;
}

.brand-text small {
  display: block;
  font-family: var(--f-num);
  font-size: 0.625rem;
  letter-spacing: 0.24em;
  color: var(--c-muted);
  text-transform: uppercase;
  margin-top: 0.15rem;
}

.site-brand:hover .brand-text strong {
  color: var(--c-accent);
}

/* ---------- 导航 ---------- */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.625rem;
  background: rgba(12, 42, 82, 0.6);
  border: 1px solid var(--c-divider);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-toggle:hover {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 1px rgba(57, 255, 20, 0.25);
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--c-text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: flex;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.05rem;
  border-radius: 999px;
  color: var(--c-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.35rem;
  height: 2px;
  border-radius: 2px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-list a:hover {
  color: var(--c-text);
  background: rgba(57, 255, 20, 0.06);
}

.nav-list a:hover::after {
  transform: scaleX(1);
}

.nav-list a[aria-current="page"] {
  color: var(--c-accent);
}

.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.6);
}

/* ---------- 共享页脚 ---------- */

.site-footer {
  position: relative;
  margin-top: var(--space-6);
  background: linear-gradient(180deg, #08162F 0%, #060F22 100%);
  border-top: 1px solid rgba(30, 58, 95, 0.8);
}

.site-footer::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--c-accent) 0%, rgba(57, 255, 20, 0.1) 30%, transparent 60%, var(--c-accent-2) 100%);
  opacity: 0.85;
}

.footer-inner {
  padding: var(--space-5) 0 var(--space-3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.8fr;
  gap: var(--space-5);
}

.footer-brand .site-brand {
  margin-bottom: var(--space-2);
}

.site-brand--footer .brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.15rem;
  box-shadow: 0 0 0 1px rgba(57, 255, 20, 0.3), 0 0 16px rgba(57, 255, 20, 0.14);
}

.site-brand--footer .brand-text strong {
  font-size: 1.25rem;
}

.footer-about {
  color: var(--c-muted);
  max-width: 42ch;
  margin-bottom: var(--space-2);
}

.footer-trust {
  color: var(--c-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  border-left: 3px solid var(--c-accent);
  padding-left: 0.75rem;
  margin-top: var(--space-3);
  max-width: 46ch;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-3);
  color: var(--c-text);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-heading::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--c-accent-2);
  transform: skewX(-10deg);
}

.contact-item {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 0.5rem;
  color: var(--c-muted);
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
}

.contact-label {
  font-family: var(--f-num);
  font-size: 0.8125rem;
  color: var(--c-accent);
}

.footer-nav-list {
  display: grid;
  gap: 0.5rem;
}

.footer-nav-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--c-muted);
  font-size: 0.9375rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-nav-list a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-divider);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.footer-nav-list a:hover {
  color: var(--c-accent);
  transform: translateX(3px);
}

.footer-nav-list a:hover::before {
  background: var(--c-accent);
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.6);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(30, 58, 95, 0.7);
}

.copyright {
  color: var(--c-muted);
  font-size: 0.875rem;
}

.footer-icp {
  font-family: var(--f-num);
  font-size: 0.8125rem;
  color: var(--c-muted);
  letter-spacing: 0.04em;
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 900;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-divider);
  background: rgba(10, 30, 63, 0.92);
  color: var(--c-accent);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, opacity 0.3s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.back-to-top[aria-hidden="true"] {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.back-to-top:hover {
  border-color: var(--c-accent);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4), 0 0 16px rgba(57, 255, 20, 0.3);
}

.back-to-top:active {
  transform: translateY(0);
}

/* ---------- 标题与章节 ---------- */

.section-heading,
.site-heading {
  font-size: 3.5rem;
  font-style: italic;
  transform: skewX(var(--skew));
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.section-sub {
  max-width: 62ch;
  margin-bottom: var(--space-4);
  color: var(--c-muted);
  font-size: 1.0625rem;
}

.hero {
  position: relative;
  padding: var(--space-6) 0 var(--space-5);
}

.hero--split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-5);
  align-items: center;
}

/* ---------- 网格 ---------- */

.grid {
  display: grid;
  gap: var(--space-4);
}

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

.grid--thirds {
  grid-template-columns: repeat(3, 1fr);
}

.grid--asym {
  grid-template-columns: 5fr 3fr;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  font-family: var(--f-body);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--c-accent);
  color: #0A1E3F;
}

.btn--primary:hover {
  background: #6aff50;
  color: #0A1E3F;
  box-shadow: 0 4px 24px rgba(57, 255, 20, 0.3);
}

.btn--secondary {
  background: transparent;
  border-color: var(--c-accent-2);
  color: var(--c-accent-2);
}

.btn--secondary:hover {
  background: rgba(255, 106, 0, 0.12);
  color: #ff8b33;
  border-color: #ff8b33;
}

.btn--ghost {
  background: transparent;
  border-color: var(--c-divider);
  color: var(--c-text);
}

.btn--ghost:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
  box-shadow: inset 0 0 0 1px rgba(57, 255, 20, 0.3);
}

/* ---------- 标签与数据元素 ---------- */

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.875rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(12, 42, 82, 0.9);
  border: 1px solid var(--c-divider);
  color: var(--c-muted);
}

.tag--accent {
  border-color: rgba(57, 255, 20, 0.5);
  color: var(--c-accent);
}

.tag--orange {
  border-color: rgba(255, 106, 0, 0.5);
  color: var(--c-accent-2);
}

.tag--gold {
  border-color: rgba(255, 215, 0, 0.4);
  color: var(--c-gold);
}

.stat-plate {
  position: relative;
  background: rgba(10, 30, 63, 0.85);
  border: 1px solid rgba(57, 255, 20, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.stat-value {
  display: block;
  font-family: var(--f-num);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--c-accent);
  line-height: 1.1;
}

.stat-label {
  display: block;
  margin-top: 0.5rem;
  color: var(--c-muted);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

.stat-value--orange {
  color: var(--c-accent-2);
}

.stat-value--gold {
  color: var(--c-gold);
}

.data-streak {
  display: block;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, var(--c-accent) 0, var(--c-accent) 8px, transparent 8px, transparent 16px);
  opacity: 0.7;
}

.data-streak--orange {
  background: repeating-linear-gradient(90deg, var(--c-accent-2) 0, var(--c-accent-2) 8px, transparent 8px, transparent 16px);
}

/* ---------- 资料卡与档案卡 ---------- */

.info-card {
  position: relative;
  background: rgba(12, 42, 82, 0.75);
  border: 1px solid var(--c-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(57, 255, 20, 0.3);
  border-color: rgba(57, 255, 20, 0.4);
}

.info-card--img {
  padding: 0;
  overflow: hidden;
}

.info-card--img > .media {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.info-body {
  padding: var(--space-4);
}

.folder-card {
  position: relative;
  margin-top: 2.25rem;
  padding: var(--space-4);
  background: rgba(12, 42, 82, 0.8);
  border: 1px solid var(--c-divider);
  border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.folder-card::before {
  content: "";
  position: absolute;
  top: -2.25rem;
  left: -1px;
  width: 7rem;
  height: 2.25rem;
  border: 1px solid var(--c-divider);
  border-bottom: none;
  background: var(--c-card);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.folder-card::after {
  content: "";
  position: absolute;
  top: -2.6rem;
  left: 1rem;
  width: 2.75rem;
  height: 4px;
  background: var(--c-accent);
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

.folder-card:hover {
  transform: translateY(-4px);
  border-color: rgba(57, 255, 20, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

/* ---------- 媒体占位容器 ---------- */

.media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--c-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.media--hero {
  aspect-ratio: 21 / 9;
}

.media--portrait {
  aspect-ratio: 3 / 4;
}

.media--square {
  aspect-ratio: 1 / 1;
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-linear-gradient(115deg, transparent 0, transparent 18px, rgba(57, 255, 20, 0.07) 18px, rgba(57, 255, 20, 0.07) 20px);
  pointer-events: none;
}

.media--lights::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 1;
  background: repeating-conic-gradient(
    from 115deg at 50% 100%,
    rgba(255, 106, 0, 0.14) 0deg,
    transparent 7deg,
    rgba(57, 255, 20, 0.10) 16deg,
    transparent 26deg
  );
  mix-blend-mode: screen;
  pointer-events: none;
}

.media img,
.media svg,
.media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 面包屑 ---------- */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: var(--space-3) 0;
  font-size: 0.875rem;
  color: var(--c-muted);
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  font-family: var(--f-num);
  color: var(--c-divider);
}

.breadcrumbs a {
  color: var(--c-muted);
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--c-accent);
}

.breadcrumbs [aria-current="page"] {
  color: var(--c-text);
}

/* ---------- 斜切分区 ---------- */

.skew-zone {
  position: relative;
  isolation: isolate;
  padding: var(--space-5) 0;
}

.skew-zone::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -4%;
  right: 42%;
  z-index: -1;
  background: rgba(12, 42, 82, 0.6);
  border: 1px solid rgba(30, 58, 95, 0.7);
  border-radius: var(--radius-lg);
  transform: skewX(var(--skew));
}

/* ---------- 滚动显现 ---------- */

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

html.js [data-reveal][data-revealed] {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 响应式 ---------- */

@media (max-width: 1024px) {
  .container,
  .container--wide,
  .container--narrow {
    width: min(100% - 2rem, 100%);
  }

  .section-heading,
  .site-heading {
    font-size: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
  }

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

  .grid--asym {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .header-topbar-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.5rem 0;
  }

  .header-tagline {
    width: 100%;
    justify-content: center;
    font-size: 0.75rem;
  }

  .quick-action {
    font-size: 0.75rem;
    padding: 0.2rem 0.625rem;
  }

  .header-main-inner {
    flex-wrap: wrap;
    min-height: auto;
    padding: 0.75rem 0;
  }

  .site-brand {
    order: 1;
  }

  .nav-toggle {
    display: inline-flex;
    order: 2;
    margin-left: auto;
  }

  html.js .site-nav {
    order: 3;
    flex-basis: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.3s ease, margin 0.3s ease;
  }

  html.js .site-nav[data-open] {
    max-height: 480px;
    opacity: 1;
    margin-top: 0.75rem;
    border-top: 1px solid var(--c-divider);
    padding-top: 0.5rem;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav-list a {
    padding: 0.75rem 0.75rem;
    border-radius: var(--radius-sm);
    border-left: 2px solid transparent;
  }

  .nav-list a::after {
    display: none;
  }

  .nav-list a:hover {
    background: rgba(57, 255, 20, 0.06);
  }

  .nav-list a[aria-current="page"] {
    border-left-color: var(--c-accent);
    background: rgba(57, 255, 20, 0.08);
  }

  .section-heading,
  .site-heading {
    font-size: 2.25rem;
  }

  .hero,
  .hero--split {
    padding: var(--space-5) 0;
    grid-template-columns: 1fr;
  }

  .grid--split,
  .grid--thirds {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .stat-value {
    font-size: 2rem;
  }

  .back-to-top {
    width: 2.75rem;
    height: 2.75rem;
    right: 1rem;
    bottom: 1rem;
  }
}

/* ---------- 减弱动效 ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }

  .header-tagline::before {
    animation: none;
  }

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
