/* ============================================
   乐动赛场 · 全站共享样式
   /assets/site.css
   Brand: 乐动体育平台中国官网
   ============================================ */

/* ---------- 1. Reset & Design Tokens ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Color System */
  --green-primary: #0B3A2D;
  --green-secondary: #0E4C37;
  --green-deep: #081F18;
  --gold: #D4AF37;
  --gold-light: #F0C75E;
  --red-dark: #8B1E2D;
  --lime: #AEF359;
  --cream: #F5F7F2;
  --ink: #111A16;

  /* Text Colors */
  --text-body: rgba(245, 247, 242, 0.88);
  --text-muted: rgba(245, 247, 242, 0.55);
  --text-bright: #F5F7F2;
  --border-gold: rgba(212, 175, 55, 0.25);
  --border-gold-strong: rgba(212, 175, 55, 0.45);

  /* Fonts */
  --font-display: 'Bebas Neue', Impact, 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --font-body: Roboto, 'Noto Sans SC', 'Helvetica Neue', Arial, sans-serif;
  --font-data: 'Roboto Mono', 'Courier New', monospace;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 300ms;
  --dur-slow: 600ms;

  /* Layout */
  --container-w: 1200px;
  --header-top: 16px;
  --section-pad-y: 5rem;

  /* Shadows */
  --shadow-capsule: 0 8px 32px rgba(0, 0, 0, 0.28);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.18);
  --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.3);
}

/* ---------- 2. Base Elements ---------- */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--green-primary);
  background-image:
    linear-gradient(rgba(90, 160, 200, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 160, 200, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-bright);
  line-height: 1.15;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }

p {
  margin: 0;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

a:hover {
  color: var(--gold);
  text-decoration: underline;
}

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

/* ---------- 3. Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

#main-content {
  display: block;
  min-height: 60vh;
  padding-top: calc(var(--header-top) + 68px + var(--section-pad-y));
  scroll-margin-top: 96px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 4. Skip Link ---------- */
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 3000;
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--green-primary);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
  transition: top var(--dur) var(--ease);
}

.skip-link:hover {
  color: var(--green-primary);
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
  outline: 3px solid var(--cream);
  outline-offset: 2px;
}

/* ---------- 5. Header ---------- */
.site-header {
  position: fixed;
  top: var(--header-top);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: min(1240px, calc(100% - 24px));
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(135deg, rgba(11, 58, 45, 0.93), rgba(14, 76, 55, 0.88));
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  padding: 7px 7px 7px 12px;
  box-shadow: var(--shadow-capsule);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--green-primary);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
  flex-shrink: 0;
  line-height: 1;
}

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

.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.03em;
  color: var(--text-bright);
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.68rem;
  color: rgba(245, 247, 242, 0.5);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* ---------- 6. Primary Navigation ---------- */
.primary-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: 8px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  color: rgba(245, 247, 242, 0.78);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color var(--dur) var(--ease),
    background var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.nav-link:hover {
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.12);
  text-decoration: none;
}

.nav-link:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: -2px;
}

.nav-link[aria-current="page"] {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--green-primary);
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.35);
}

/* ---------- 7. Nav Toggle ---------- */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.nav-toggle:hover {
  border-color: var(--gold-light);
  background: rgba(212, 175, 55, 0.08);
}

.nav-toggle-line {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: var(--gold-light);
  border-radius: 2px;
  transition: background var(--dur) var(--ease);
}

.nav-toggle-line::before,
.nav-toggle-line::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-light);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), top var(--dur) var(--ease);
}

.nav-toggle-line::before {
  top: -6px;
}

.nav-toggle-line::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------- 8. Page Progress Bar ---------- */
.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(212, 175, 55, 0.08);
  z-index: 2000;
  pointer-events: none;
}

.page-progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
}

/* ---------- 9. Footer ---------- */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, var(--green-deep) 0%, #05120C 100%);
  margin-top: 4rem;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0,
    var(--gold) 70px,
    transparent 70px,
    transparent 110px
  );
  opacity: 0.55;
}

.site-footer::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr 0.8fr;
  gap: 3rem;
  padding: 3.5rem 0 2.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--green-primary);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
  margin-bottom: 14px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--text-bright);
  line-height: 1.15;
}

.footer-brand-official {
  font-size: 0.9rem;
  color: var(--gold-light);
  margin-top: 4px;
  font-weight: 500;
}

.footer-brand-tagline {
  font-size: 0.85rem;
  color: rgba(245, 247, 242, 0.45);
  margin-top: 8px;
}

.footer-column .footer-heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  padding-bottom: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.88rem;
  color: rgba(245, 247, 242, 0.7);
}

.footer-contact-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(245, 247, 242, 0.4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-link-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-link {
  display: inline-block;
  padding: 5px 0;
  font-size: 0.9rem;
  color: rgba(245, 247, 242, 0.7);
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}

.footer-link:hover {
  color: var(--gold-light);
  padding-left: 6px;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 20px;
  padding: 1.5rem 0 1.8rem;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  font-size: 0.82rem;
  color: rgba(245, 247, 242, 0.4);
}

.footer-bottom p {
  margin: 0;
}

/* ---------- 10. Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 900;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: rgba(11, 58, 45, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold-strong);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition:
    opacity var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    visibility var(--dur) var(--ease);
}

.back-to-top[data-visible] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--gold-light);
  box-shadow: 0 6px 28px rgba(212, 175, 55, 0.3);
}

.back-to-top-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.back-to-top-fill {
  stroke-dasharray: 138.23;
  stroke-dashoffset: 138.23;
  transition: stroke-dashoffset 0.1s linear;
}

.back-to-top-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  color: var(--gold-light);
  pointer-events: none;
}

/* ---------- 11. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    background var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

.btn:hover {
  text-decoration: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--green-primary);
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  box-shadow: 0 6px 28px rgba(212, 175, 55, 0.45);
  transform: translateY(-2px);
  color: var(--green-primary);
}

.btn-outline {
  border-color: var(--border-gold-strong);
  color: var(--gold-light);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-danger {
  background: var(--red-dark);
  color: #fff;
  font-weight: 500;
}

.btn-danger:hover {
  background: #a82638;
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- 12. Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  margin: 0;
  padding: 12px 0;
  font-size: 0.85rem;
  color: rgba(245, 247, 242, 0.5);
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li + li::before {
  content: '/';
  margin: 0 8px;
  color: rgba(245, 247, 242, 0.3);
}

.breadcrumb a {
  color: var(--gold-light);
}

.breadcrumb a:hover {
  color: var(--gold);
}

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

/* ---------- 13. Section & Page Heading ---------- */
.section {
  padding: var(--section-pad-y) 0;
}

.section--light {
  background: var(--cream);
  color: var(--ink);
}

.section--light .section-title {
  color: var(--ink);
}

.section--light .section-desc {
  color: rgba(17, 26, 22, 0.72);
}

.section--light .section-index {
  color: var(--gold);
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.section-index {
  font-family: var(--font-data);
  font-size: 0.85rem;
  color: var(--gold-light);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  letter-spacing: 0.02em;
}

.section-title::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-light);
  margin-left: 10px;
  vertical-align: middle;
}

.section-desc {
  max-width: 58ch;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Page Heading */
.page-heading {
  position: relative;
  padding-bottom: 2rem;
}

.page-heading::after {
  content: '';
  display: block;
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-top: 1rem;
}

.page-heading-index {
  font-family: var(--font-data);
  font-size: 0.82rem;
  color: var(--gold-light);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.page-heading-title {
  font-family: var(--font-display);
  font-size: 2.75rem;
  line-height: 1.05;
  margin-bottom: 8px;
}

.page-heading-desc {
  max-width: 60ch;
  color: var(--text-muted);
  font-size: 1rem;
}

/* ---------- 14. Cards ---------- */
.data-card {
  background: linear-gradient(145deg, rgba(14, 76, 55, 0.9), rgba(11, 58, 45, 0.97));
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 18px;
  padding: 26px 24px;
  position: relative;
  overflow: hidden;
  transition:
    transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.data-card::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08), transparent 70%);
  pointer-events: none;
}

.data-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.25);
}

.data-card-label {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: rgba(245, 247, 242, 0.5);
  text-transform: uppercase;
}

.data-card-value {
  font-family: var(--font-data);
  font-size: 2.2rem;
  color: var(--gold-light);
  line-height: 1.2;
  margin-top: 8px;
}

.data-card-meta {
  font-size: 0.85rem;
  color: rgba(245, 247, 242, 0.45);
  margin-top: 8px;
}

/* ---------- 15. Tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.6;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-light);
}

.tag--gold {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-light);
  border-color: rgba(212, 175, 55, 0.35);
}

.tag--live {
  background: rgba(174, 243, 89, 0.1);
  color: var(--lime);
  border-color: rgba(174, 243, 89, 0.3);
}

.tag--live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.tag--alert {
  background: var(--red-dark);
  color: #fff;
  border-color: transparent;
}

/* ---------- 16. Thumb Frame ---------- */
.thumb-frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(14, 76, 55, 0.7), rgba(11, 58, 45, 0.9));
  border: 1px solid rgba(212, 175, 55, 0.15);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(90, 160, 200, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 160, 200, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
}

.thumb-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.thumb-frame[data-badge]::before {
  content: attr(data-badge);
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(11, 58, 45, 0.88);
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.thumb-frame--square {
  aspect-ratio: 1 / 1;
}

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

/* ---------- 17. Reveal Animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 600ms var(--ease),
    transform 600ms var(--ease);
}

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

/* ---------- 18. Focus Visible ---------- */
:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 6px;
}

.nav-toggle:focus-visible,
.back-to-top:focus-visible,
.btn:focus-visible {
  outline-color: var(--gold-light);
  outline-offset: 2px;
}

/* ---------- 19. Keyframes ---------- */
@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.75);
  }
}

/* ---------- 20. Responsive ---------- */
@media (max-width: 992px) {
  :root {
    --section-pad-y: 4rem;
  }

  .header-inner {
    padding: 6px 6px 6px 10px;
  }

  .brand-tagline {
    display: none;
  }

  .brand-name {
    font-size: 1.3rem;
  }

  .nav-link {
    padding: 6px 10px;
    font-size: 0.85rem;
  }

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

@media (max-width: 768px) {
  :root {
    --section-pad-y: 3.5rem;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  #main-content {
    padding-top: calc(var(--header-top) + 60px + var(--section-pad-y));
  }

  /* Nav toggle visible */
  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 8px;
    right: 8px;
    display: block;
    background: rgba(9, 40, 30, 0.97);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity var(--dur) var(--ease),
      transform var(--dur) var(--ease),
      visibility var(--dur) var(--ease);
  }

  .primary-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

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

  .nav-item {
    width: 100%;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 12px 18px;
    font-size: 1rem;
    border-radius: 12px;
  }

  /* 头部结构调整 */
  .header-inner {
    border-radius: 20px;
    padding: 6px 8px 6px 10px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 1.2rem;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 0 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding-top: 1.25rem;
  }

  /* Back to top */
  .back-to-top {
    bottom: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
  }

  /* Section */
  .section-header {
    gap: 10px;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .page-heading-title {
    font-size: 2.25rem;
  }
}

/* ---------- 21. Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

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

  .back-to-top-fill {
    transition: none;
  }
}
