/* ==========================================================================
   皇冠体彩CN · 全站共享样式
   文件：/assets/site.css
   视觉系统：数据皇冠 / 深蓝画布 / 金色坐标
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  --deep-blue: #0B1E3F;
  --midnight-blue: #0A1630;
  --gold: #F2B705;
  --gold-metal: #D4AF37;
  --red-china: #E63946;
  --ivory: #F5F7FA;
  --ice-blue: #A8C5E8;
  --blue-gray: #1D3557;
  --iron-blue: #2A3B5C;
  --light-gold: #F2E8C4;

  --font-display: Impact, 'DIN Alternate', 'Arial Black', sans-serif;
  --font-body: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
  --font-mono: 'Roboto Mono', 'SFMono-Regular', monospace;

  --container-w: 1280px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;

  --header-total: 92px;
  --shadow-panel: 0 12px 40px rgba(0, 0, 0, 0.35);
  --glow-gold: 0 0 24px rgba(242, 183, 5, 0.25);
}

/* ---------- 2. Reset 与基础 ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
  padding-top: var(--header-total);
  overflow-x: hidden;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--ivory);
  background-color: var(--deep-blue);
  background-image:
    linear-gradient(rgba(168, 197, 232, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 197, 232, 0.022) 1px, transparent 1px),
    radial-gradient(ellipse at 85% -10%, rgba(242, 183, 5, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 8% 108%, rgba(212, 175, 55, 0.06) 0%, transparent 50%),
    linear-gradient(165deg, var(--deep-blue) 0%, var(--midnight-blue) 100%);
  background-size: 40px 40px, 40px 40px, auto, auto, auto;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--ivory);
}

h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(24px, 3.5vw, 36px); }
h3 { font-size: clamp(20px, 2.5vw, 26px); }

::selection {
  background: rgba(242, 183, 5, 0.3);
  color: var(--ivory);
}

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

#main-content:focus {
  outline: none;
}

/* ---------- 3. 无障碍工具 ---------- */
.visually-hidden {
  position: absolute !important;
  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: -80px;
  left: var(--space-4);
  z-index: 4000;
  padding: 10px 24px;
  background: var(--gold);
  color: var(--deep-blue);
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(242, 183, 5, 0.4);
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: var(--space-3);
  outline: none;
  box-shadow: 0 4px 20px rgba(242, 183, 5, 0.5), 0 0 0 4px rgba(242, 183, 5, 0.25);
}

/* ---------- 4. 内容容器 ---------- */
.container {
  width: min(var(--container-w), calc(100% - 40px));
  margin-inline: auto;
}

/* ---------- 5. 滚动进度条 ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 3000;
  pointer-events: none;
}

.scroll-progress::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, var(--gold-metal), var(--gold));
  box-shadow: 0 0 10px rgba(242, 183, 5, 0.6);
  transition: width 0.08s linear;
}

/* ---------- 6. 全局头部 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1500;
  padding: var(--space-4) 0 var(--space-3);
  transition: padding 0.35s ease, background 0.35s ease;
}

.site-header[data-scrolled] {
  padding: var(--space-2) 0;
}

.nav-capsule {
  position: relative;
  width: min(var(--container-w), calc(100% - 32px));
  margin-inline: auto;
  padding: var(--space-2) var(--space-4);
  background-color: rgba(10, 22, 48, 0.78);
  background-image: repeating-linear-gradient(-45deg, rgba(242, 183, 5, 0.025) 0px, rgba(242, 183, 5, 0.025) 1px, transparent 1px, transparent 7px);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-panel);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-radius 0.35s ease;
}

.site-header[data-scrolled] .nav-capsule {
  background-color: rgba(10, 22, 48, 0.92);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
}

@media (min-width: 961px) {
  .nav-capsule {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: var(--space-2);
  }

  .site-nav {
    grid-column: 2;
  }

  .nav-toggle {
    display: none;
  }
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
  color: var(--ivory);
  text-decoration: none;
}

.site-brand:hover {
  color: var(--ivory);
}

.site-brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--gold);
  background: linear-gradient(145deg, rgba(242, 183, 5, 0.22), rgba(212, 175, 55, 0.06));
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  transition: color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.site-brand:hover .site-brand__mark {
  color: var(--gold-metal);
  box-shadow: var(--glow-gold);
  transform: translateY(-1px);
}

.site-brand__crown,
.footer-brand__crown {
  display: block;
  width: 22px;
  height: 22px;
}

.site-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.site-brand__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--ivory);
  white-space: nowrap;
}

.site-brand__suffix {
  color: var(--gold);
}

.site-brand__slogan {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--ice-blue);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

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

.nav-list__link {
  display: block;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  color: var(--ice-blue);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.nav-list__link:hover {
  color: var(--gold);
  background: rgba(242, 183, 5, 0.08);
}

.nav-list__link[aria-current="page"] {
  color: var(--gold);
  background: rgba(242, 183, 5, 0.13);
  box-shadow: inset 0 0 0 1px rgba(242, 183, 5, 0.4);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: rgba(242, 183, 5, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-full);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.nav-toggle:hover {
  background: rgba(242, 183, 5, 0.2);
  box-shadow: var(--glow-gold);
}

.nav-toggle__box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 18px;
  flex-shrink: 0;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

/* ---------- 7. 全局页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: var(--space-7);
  padding: var(--space-7) 0 var(--space-5);
  background-image:
    repeating-linear-gradient(-45deg, rgba(242, 183, 5, 0.018) 0px, rgba(242, 183, 5, 0.018) 1px, transparent 1px, transparent 9px),
    linear-gradient(180deg, #0D1B33 0%, var(--midnight-blue) 55%, #060D1C 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.4);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(242, 183, 5, 0.25) 20%,
    var(--gold) 50%,
    rgba(242, 183, 5, 0.25) 80%,
    transparent 100%
  );
  opacity: 0.8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.7fr 1.3fr;
  gap: var(--space-6);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(168, 197, 232, 0.1);
  margin-bottom: var(--space-4);
}

.footer-brand__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--ivory);
  text-decoration: none;
}

.footer-brand__link:hover {
  color: var(--ivory);
}

.footer-brand__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--gold);
  background: linear-gradient(145deg, rgba(242, 183, 5, 0.2), rgba(212, 175, 55, 0.05));
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.footer-brand__crown {
  width: 26px;
  height: 26px;
}

.footer-brand__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--ivory);
}

.footer-brand__title span {
  color: var(--gold);
}

.footer-brand__about {
  margin-top: var(--space-3);
  max-width: 36em;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ice-blue);
}

.footer-column__title {
  padding-bottom: var(--space-2);
  margin-bottom: var(--space-3);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--light-gold);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-links li + li {
  margin-top: var(--space-2);
}

.footer-links a {
  color: var(--ice-blue);
  font-size: 14px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  font-size: 14px;
  color: var(--ice-blue);
}

.footer-contact__label {
  flex-shrink: 0;
  font-weight: 600;
  color: var(--light-gold);
}

.footer-contact__label::after {
  content: '';
  display: block;
}

.footer-contact__note {
  margin-top: var(--space-3);
  padding-left: var(--space-2);
  font-size: 12px;
  line-height: 1.7;
  color: rgba(168, 197, 232, 0.6);
  border-left: 2px solid var(--gold-metal);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-bottom__trust {
  max-width: 780px;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(168, 197, 232, 0.55);
}

.footer-bottom__icp {
  font-size: 13px;
  color: rgba(168, 197, 232, 0.7);
  white-space: nowrap;
}

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-metal) 100%);
  color: #1a1403;
  box-shadow: 0 4px 20px rgba(242, 183, 5, 0.3);
}

.btn--gold:hover {
  color: #1a1403;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(242, 183, 5, 0.45);
}

.btn--outline {
  background: transparent;
  border-color: rgba(212, 175, 55, 0.6);
  color: var(--gold);
}

.btn--outline:hover {
  background: rgba(242, 183, 5, 0.08);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ---------- 9. 标签徽章 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  white-space: nowrap;
}

.tag--gold {
  background: rgba(242, 183, 5, 0.14);
  color: var(--gold);
  border: 1px solid rgba(242, 183, 5, 0.35);
}

.tag--red {
  background: rgba(230, 57, 70, 0.14);
  color: #ff8a94;
  border: 1px solid rgba(230, 57, 70, 0.4);
}

.tag--blue {
  background: rgba(168, 197, 232, 0.12);
  color: var(--ice-blue);
  border: 1px solid rgba(168, 197, 232, 0.3);
}

/* ---------- 10. 区块标题 ---------- */
.section-head {
  margin-bottom: var(--space-5);
}

.section-head--center {
  text-align: center;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
}

.section-kicker::before {
  content: '';
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
}

.section-title {
  margin-top: var(--space-2);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
}

.section-desc {
  margin-top: var(--space-2);
  max-width: 56em;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ice-blue);
}

/* ---------- 11. 数据卡片 ---------- */
.data-card {
  position: relative;
  padding: var(--space-5);
  background-image:
    repeating-linear-gradient(-45deg, rgba(242, 183, 5, 0.015) 0px, rgba(242, 183, 5, 0.015) 1px, transparent 1px, transparent 8px),
    linear-gradient(145deg, var(--blue-gray) 0%, rgba(29, 53, 87, 0.65) 100%);
  border: 1px solid rgba(168, 197, 232, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.data-card::before,
.data-card::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  opacity: 0.5;
  transition: opacity 0.3s ease, border-color 0.3s ease;
  pointer-events: none;
}

.data-card::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--gold-metal);
  border-left: 2px solid var(--gold-metal);
  border-radius: var(--radius-lg) 0 0 0;
}

.data-card::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--gold-metal);
  border-right: 2px solid var(--gold-metal);
  border-radius: 0 0 var(--radius-lg) 0;
}

.data-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 183, 5, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), var(--glow-gold);
  background-image:
    repeating-linear-gradient(-45deg, rgba(242, 183, 5, 0.03) 0px, rgba(242, 183, 5, 0.03) 1px, transparent 1px, transparent 8px),
    linear-gradient(145deg, var(--iron-blue) 0%, rgba(42, 59, 92, 0.7) 100%);
}

.data-card:hover::before,
.data-card:hover::after {
  opacity: 1;
  border-color: var(--gold);
}

.data-card__value {
  font-family: var(--font-mono);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(242, 183, 5, 0.2);
}

.data-card__label {
  margin-top: var(--space-1);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ice-blue);
}

.data-card__trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: var(--space-2);
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  background: rgba(242, 183, 5, 0.1);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.data-card__trend[data-down] {
  background: rgba(230, 57, 70, 0.12);
  color: #ff8a94;
}

/* ---------- 12. 超大指标 ---------- */
.metric {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.metric__value {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 0 24px rgba(242, 183, 5, 0.25);
}

.metric__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ice-blue);
  text-transform: uppercase;
}

/* ---------- 13. 目录索引项 ---------- */
.directory-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: rgba(29, 53, 87, 0.5);
  border: 1px solid rgba(168, 197, 232, 0.12);
  border-left: 3px solid var(--gold-metal);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.3s ease;
}

.directory-item:hover {
  background: rgba(42, 59, 92, 0.6);
  border-left-color: var(--gold);
  transform: translateX(4px);
  color: inherit;
}

.directory-item__num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.directory-item__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ivory);
}

.directory-item__meta {
  margin-left: auto;
  font-size: 13px;
  color: var(--ice-blue);
  flex-shrink: 0;
}

/* ---------- 14. 面包屑 ---------- */
.breadcrumb {
  margin-bottom: var(--space-4);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  font-size: 13px;
}

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

.breadcrumb__item:not(:last-child)::after {
  content: '/';
  color: rgba(168, 197, 232, 0.4);
  font-size: 12px;
}

.breadcrumb__link {
  color: var(--ice-blue);
}

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

.breadcrumb__current {
  color: var(--light-gold);
  font-weight: 600;
}

/* ---------- 15. 图片容器 ---------- */
.img-frame {
  position: relative;
  overflow: hidden;
  background: var(--blue-gray);
  border: 1px solid rgba(168, 197, 232, 0.15);
  border-radius: var(--radius-lg);
}

.img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(242, 183, 5, 0.12);
  pointer-events: none;
}

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

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

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

/* ---------- 16. 滚动显现 ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 17. 返回顶部 ---------- */
.back-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue-gray), rgba(29, 53, 87, 0.7));
  border: 1px solid rgba(242, 183, 5, 0.4);
  color: var(--gold);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  background: rgba(242, 183, 5, 0.15);
  box-shadow: 0 4px 28px rgba(242, 183, 5, 0.35);
}

/* ---------- 18. 响应式 ---------- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
  }
}

@media (max-width: 960px) {
  body {
    background-attachment: scroll;
  }

  .nav-capsule {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
    border-radius: 24px;
  }

  .site-brand {
    margin-right: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    order: 3;
    margin-top: var(--space-2);
    padding-top: var(--space-2);
    border-top: 1px solid rgba(212, 175, 55, 0.18);
  }

  .site-nav[data-open] {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

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

  .nav-list__link {
    padding: 12px 16px;
    font-size: 15px;
    border-radius: 10px;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .back-top {
    bottom: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 480px) {
  .site-brand__slogan {
    display: none;
  }

  .site-brand__title {
    font-size: 18px;
  }

  .nav-toggle__text {
    display: none;
  }

  .nav-toggle {
    padding: 10px 14px;
  }
}

/* ---------- 19. 动效弱化 ---------- */
@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;
    transition-delay: 0s !important;
  }

  html.js .reveal,
  html.js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}
