/* =========================================================
   bet365娱乐中国官方站 — 共享 Site CSS
   文件位置 /assets/site.css
   设计语言：球场夜色战报台 / 框架式导航 / 数据卡信息系统
   ========================================================= */

/* ---------- 1. 变量与 Reset ---------- */

:root {
  --color-field-night: #0B3B2E;
  --color-deep-forest: #06231B;
  --color-gold: #C9A86A;
  --color-bright-gold: #F2D592;
  --color-ivory: #F7F5F0;
  --color-mist-green: #A3C6B8;
  --color-alert-red: #D46A5B;
  --color-referee-yellow: #EBB75D;

  --font-heading: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --font-data: "SF Mono", "Roboto Mono", "JetBrains Mono", "Cascadia Mono", Consolas, monospace;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --font-label: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;

  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  --header-h: 72px;
  --nav-w: 68px;
  --content-max: 1200px;
  --radius: 10px;
  --radius-sm: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.28s var(--ease);

  --z-header: 1000;
  --z-nav: 900;
  --z-progress: 1300;
  --z-skip: 9999;
}

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

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

body {
  background:
    radial-gradient(ellipse 680px 420px at 18% -4%, rgba(201, 168, 106, 0.12) 0%, transparent 62%),
    radial-gradient(ellipse 900px 520px at 105% 12%, rgba(201, 168, 106, 0.05) 0%, transparent 55%),
    linear-gradient(180deg, rgba(6, 35, 27, 0.35) 0%, rgba(6, 35, 27, 0) 360px),
    var(--color-field-night);
  color: var(--color-ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

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

ul,
ol {
  list-style: none;
}

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

button {
  font-family: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
}

/* ---------- 2. 工具类与基础结构 ---------- */

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

.skip-link {
  position: fixed;
  top: -64px;
  left: var(--sp-4);
  z-index: var(--z-skip);
  padding: var(--sp-2) var(--sp-4);
  background: var(--color-deep-forest);
  color: var(--color-bright-gold);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-sm);
  transition: top 0.25s var(--ease);
}

.skip-link:focus {
  top: var(--sp-3);
}

.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: var(--sp-5);
  padding-right: var(--sp-5);
}

.main-content {
  position: relative;
  z-index: 1;
  min-height: 70vh;
}

@media (min-width: 1024px) {
  .main-content {
    margin-right: var(--nav-w);
  }
}

:focus-visible {
  outline: 2px solid var(--color-bright-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

::selection {
  background: rgba(201, 168, 106, 0.35);
  color: var(--color-ivory);
}

/* ---------- 3. 排版 ---------- */

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 700;
}

p {
  color: rgba(247, 245, 240, 0.84);
}

.section-block {
  padding-top: var(--sp-8);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid rgba(201, 168, 106, 0.12);
}

.section-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(3.6rem, 8vw, 6.8rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: rgba(201, 168, 106, 0.28);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-label);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.section-label::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--color-gold);
  border-radius: 2px;
}

.section-title {
  margin-top: var(--sp-3);
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.01em;
}

/* ---------- 4. 面包屑 ---------- */

.breadcrumb {
  padding: var(--sp-4) 0;
  font-size: 0.85rem;
  color: var(--color-mist-green);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  align-items: center;
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: rgba(163, 198, 184, 0.5);
}

.breadcrumb__link {
  color: var(--color-mist-green);
  transition: color var(--transition);
}

.breadcrumb__link:hover {
  color: var(--color-bright-gold);
}

.breadcrumb__item[aria-current] {
  color: var(--color-ivory);
  font-weight: 500;
}

/* ---------- 5. 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-5);
  font-family: var(--font-label);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.btn--primary {
  background: var(--color-gold);
  color: var(--color-deep-forest);
  font-weight: 700;
}

.btn--primary:hover {
  background: var(--color-bright-gold);
  transform: translateY(-1px);
}

.btn--ghost {
  border: 1px solid rgba(201, 168, 106, 0.55);
  color: var(--color-bright-gold);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--color-bright-gold);
  background: rgba(201, 168, 106, 0.08);
}

/* ---------- 6. 标签 ---------- */

.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 2px 12px;
  font-size: 0.8rem;
  font-family: var(--font-label);
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: 999px;
  line-height: 1.8;
}

.tag--gold {
  background: rgba(201, 168, 106, 0.15);
  color: var(--color-bright-gold);
  border: 1px solid rgba(201, 168, 106, 0.35);
}

.tag--red {
  background: rgba(212, 106, 91, 0.14);
  color: #e08578;
  border: 1px solid rgba(212, 106, 91, 0.35);
}

.tag--yellow {
  background: rgba(235, 183, 93, 0.14);
  color: #f0c677;
  border: 1px solid rgba(235, 183, 93, 0.35);
}

/* ---------- 7. 数据卡 ---------- */

.data-card {
  background: rgba(6, 35, 27, 0.72);
  border: 1px solid rgba(201, 168, 106, 0.18);
  border-radius: var(--radius);
  padding: var(--sp-5);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.data-card:hover {
  border-color: rgba(201, 168, 106, 0.42);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(201, 168, 106, 0.08);
}

.data-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}

.data-card__title {
  font-size: 0.9rem;
  color: var(--color-mist-green);
  letter-spacing: 0.04em;
  font-weight: 500;
}

.data-card__value {
  font-family: var(--font-data);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--color-ivory);
  line-height: 1;
  letter-spacing: -0.01em;
}

.data-card__value--gold {
  color: var(--color-bright-gold);
}

.data-card__value--accent {
  color: var(--color-referee-yellow);
}

.data-card__footer {
  margin-top: var(--sp-3);
  font-size: 0.8rem;
  color: rgba(163, 198, 184, 0.7);
  font-family: var(--font-data);
}

/* ---------- 8. 时间轴 ---------- */

.timeline {
  position: relative;
  margin: var(--sp-5) 0;
  padding-left: var(--sp-5);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-gold), rgba(201, 168, 106, 0.08));
  border-radius: 2px;
}

.timeline__item {
  position: relative;
  padding: 0 0 var(--sp-5) var(--sp-4);
}

.timeline__dot {
  position: absolute;
  left: -25px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-field-night);
  border: 2px solid var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 106, 0.15);
}

.timeline__time {
  font-family: var(--font-data);
  font-size: 0.85rem;
  color: var(--color-bright-gold);
  letter-spacing: 0.04em;
}

.timeline__content {
  margin-top: var(--sp-1);
  font-size: 0.95rem;
  color: rgba(247, 245, 240, 0.82);
}

/* ---------- 9. 玻璃面板 ---------- */

.glass-panel {
  background: rgba(11, 59, 46, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(201, 168, 106, 0.18);
  border-radius: var(--radius);
  padding: var(--sp-5);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

/* ---------- 10. 图片容器 ---------- */

.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse at 30% 15%, rgba(201, 168, 106, 0.14) 0%, transparent 55%),
    linear-gradient(180deg, rgba(11, 59, 46, 0.6), rgba(6, 35, 27, 0.95));
  border: 1px solid rgba(201, 168, 106, 0.12);
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-frame::after {
  content: "365 · SCORE";
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  color: rgba(247, 245, 240, 0.3);
  text-align: center;
  padding: var(--sp-3);
}

.image-frame[data-placeholder]::after {
  content: attr(data-placeholder);
}

.image-frame--16-9 {
  aspect-ratio: 16 / 9;
}

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

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

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

.image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 35, 27, 0) 55%, rgba(6, 35, 27, 0.65));
  z-index: 2;
  pointer-events: none;
}

.image-frame > *:not(img) {
  z-index: 3;
}

/* ---------- 11. 全局头部 ---------- */

.site-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  z-index: var(--z-progress);
  pointer-events: none;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--color-gold), var(--color-bright-gold));
  box-shadow: 0 0 12px rgba(242, 213, 146, 0.5);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  background: rgba(6, 35, 27, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(201, 168, 106, 0.28);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  height: 100%;
  max-width: calc(var(--content-max) + var(--nav-w));
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--color-ivory);
  transition: opacity var(--transition);
}

.site-header__brand:hover {
  opacity: 0.88;
}

.site-header__brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--color-gold);
  border-radius: var(--radius-sm);
  font-family: var(--font-data);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-bright-gold);
  letter-spacing: 0.05em;
  background: rgba(201, 168, 106, 0.08);
  box-shadow: 0 0 16px rgba(201, 168, 106, 0.12);
}

.site-header__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.site-header__brand-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--color-ivory);
}

.site-header__brand-sub {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--color-mist-green);
}

.site-header__status {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(201, 168, 106, 0.08);
  border: 1px solid rgba(201, 168, 106, 0.15);
}

.site-header__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 0 0 rgba(201, 168, 106, 0.6);
  animation: status-pulse 2s infinite;
}

.site-header__status-text {
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--color-mist-green);
}

@keyframes status-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(201, 168, 106, 0.55);
  }
  60% {
    box-shadow: 0 0 0 7px rgba(201, 168, 106, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(201, 168, 106, 0);
  }
}

.site-header__nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(201, 168, 106, 0.2);
  background: rgba(201, 168, 106, 0.06);
  transition: border-color var(--transition), background var(--transition);
}

.site-header__nav-toggle:hover {
  border-color: var(--color-gold);
}

.site-header__nav-toggle-bar {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--color-bright-gold);
  width: 100%;
  transition: transform 0.3s var(--ease);
}

/* ---------- 12. 侧边框架导航 ---------- */

.side-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: var(--nav-w);
  height: 100vh;
  z-index: var(--z-nav);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  padding: var(--header-h) 0 var(--sp-4) 0;
  background: rgba(6, 35, 27, 0.48);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-left: 1px solid rgba(201, 168, 106, 0.18);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.side-nav__top {
  display: none;
}

.side-nav__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  padding-top: var(--sp-4);
}

.side-nav__item {
  width: 100%;
}

.side-nav__link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) 0;
  color: var(--color-mist-green);
  font-family: var(--font-label);
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  writing-mode: vertical-rl;
  transition: color var(--transition), background var(--transition);
  border-radius: var(--radius-sm);
  min-height: 72px;
}

.side-nav__link:hover {
  color: var(--color-bright-gold);
  background: rgba(201, 168, 106, 0.06);
}

.side-nav__link[aria-current="page"] {
  color: var(--color-bright-gold);
  background: linear-gradient(180deg, rgba(201, 168, 106, 0.13), rgba(201, 168, 106, 0.02));
  box-shadow: inset 0 0 0 1px rgba(201, 168, 106, 0.22);
}

.side-nav__index {
  writing-mode: horizontal-tb;
  font-family: var(--font-data);
  font-size: 0.62rem;
  color: rgba(201, 168, 106, 0.65);
  letter-spacing: 0;
}

.side-nav__text {
  font-weight: 500;
}

.side-nav__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: var(--color-mist-green);
  font-family: var(--font-data);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
}

.side-nav__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 8px rgba(201, 168, 106, 0.6);
}

.side-nav__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(201, 168, 106, 0.25);
  color: var(--color-bright-gold);
  font-size: 1.4rem;
  line-height: 1;
  transition: border-color var(--transition), background var(--transition);
}

.side-nav__close:hover {
  border-color: var(--color-bright-gold);
  background: rgba(201, 168, 106, 0.08);
}

/* ---------- 13. 页脚 ---------- */

.site-footer {
  background: var(--color-deep-forest);
  border-top: 1px solid rgba(201, 168, 106, 0.25);
  padding: var(--sp-7) 0 var(--sp-5);
  position: relative;
  z-index: 1;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(201, 168, 106, 0.6), rgba(201, 168, 106, 0.05) 60%, transparent);
}

.site-footer__container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: var(--sp-5);
  padding-right: var(--sp-5);
}

@media (min-width: 1024px) {
  .site-footer__container {
    margin-right: var(--nav-w);
  }
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--sp-8);
  margin-bottom: var(--sp-7);
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-4);
}

.site-footer__brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1.5px solid var(--color-gold);
  border-radius: var(--radius-sm);
  font-family: var(--font-data);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-bright-gold);
  background: rgba(201, 168, 106, 0.07);
  box-shadow: 0 0 18px rgba(201, 168, 106, 0.1);
}

.site-footer__brand-text {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.site-footer__brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-ivory);
  letter-spacing: 0.02em;
}

.site-footer__brand-caption {
  font-family: var(--font-label);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--color-mist-green);
}

.site-footer__trust {
  font-size: 0.85rem;
  color: rgba(163, 198, 184, 0.7);
  line-height: 1.8;
  max-width: 420px;
  border-left: 2px solid rgba(201, 168, 106, 0.4);
  padding-left: var(--sp-4);
}

.site-footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}

.site-footer__heading {
  font-family: var(--font-label);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-bright-gold);
  margin-bottom: var(--sp-4);
}

.site-footer__links li {
  margin-bottom: var(--sp-2);
}

.site-footer__links a {
  font-size: 0.92rem;
  color: rgba(247, 245, 240, 0.72);
  transition: color var(--transition), padding-left var(--transition);
  padding-left: 0;
}

.site-footer__links a:hover {
  color: var(--color-bright-gold);
  padding-left: var(--sp-1);
}

.site-footer__meta {
  border-top: 1px solid rgba(201, 168, 106, 0.12);
  padding-top: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.site-footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  font-size: 0.82rem;
  color: rgba(163, 198, 184, 0.72);
  font-family: var(--font-data);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-2);
  font-size: 0.85rem;
  color: rgba(247, 245, 240, 0.5);
}

.site-footer__legal [data-year] {
  font-family: var(--font-data);
}

/* ---------- 14. 移动端导航适配 ---------- */

@media (max-width: 1023px) {
  .site-header__nav-toggle {
    display: flex;
  }

  .site-header__status-text {
    display: none;
  }

  .side-nav {
    top: 0;
    right: 0;
    width: 300px;
    transform: translateX(100%);
    background: rgba(6, 35, 27, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: var(--sp-6) var(--sp-5) var(--sp-5);
    border-left: 1px solid rgba(201, 168, 106, 0.25);
    box-shadow: -18px 0 40px rgba(0, 0, 0, 0.45);
  }

  .side-nav[data-open="true"] {
    transform: translateX(0);
  }

  .side-nav__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--sp-5);
  }

  .side-nav__top-label {
    font-family: var(--font-data);
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    color: var(--color-gold);
  }

  .side-nav__list {
    align-items: stretch;
    gap: var(--sp-1);
    padding-top: 0;
  }

  .side-nav__link {
    flex-direction: row;
    writing-mode: horizontal-tb;
    justify-content: flex-start;
    gap: var(--sp-3);
    padding: var(--sp-3) var(--sp-4);
    min-height: 46px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    letter-spacing: 0.02em;
  }

  .side-nav__link[aria-current="page"] {
    background: rgba(201, 168, 106, 0.14);
  }

  .side-nav__index {
    width: 24px;
    font-size: 0.72rem;
    color: rgba(201, 168, 106, 0.75);
  }

  .side-nav__foot {
    flex-direction: row;
    justify-content: center;
    gap: var(--sp-3);
    padding-top: var(--sp-5);
    border-top: 1px solid rgba(201, 168, 106, 0.12);
    margin-top: var(--sp-5);
    font-size: 0.68rem;
  }
}

/* ---------- 15. 平板与窄屏适配 ---------- */

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .site-header__brand-name {
    font-size: 1rem;
  }

  .site-header__brand-mark {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }

  .site-footer__nav {
    gap: var(--sp-5);
  }

  .section-block {
    padding-top: var(--sp-7);
    padding-bottom: var(--sp-7);
  }
}

@media (max-width: 480px) {
  .site-footer__nav {
    grid-template-columns: 1fr;
  }

  .site-footer__contact {
    flex-direction: column;
    gap: var(--sp-2);
  }

  .side-nav {
    width: 86%;
    max-width: 320px;
  }
}

/* ---------- 16. 减少动态效果 ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .site-scroll-progress {
    transition: none;
  }
}
