/* ==========================================================================
   黄金城娱乐 · 共享站点样式 /assets/site.css
   基调：夜宴剧场 · 数字雅奢 · 硬边粗野主义细节
   ========================================================================== */

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, pre { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #0B0A0C;
  --ink-2: #16120F;
  --gold: #C9A227;
  --gold-hi: #EFCB6B;
  --amber: #F2A93B;
  --crimson: #7A1F2B;
  --cream: #F3EDE1;
  --mist: #9A9287;
  --line: #3A2E1A;
  --panel: #1E1A17;

  --font-display: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "Times New Roman", Georgia, serif;
  --font-body: "PingFang SC", "Noto Sans SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;

  --shell: 1180px;
  --gutter: clamp(18px, 4vw, 48px);
  --hard-shadow: 8px 8px 0 0 var(--line);
  --hard-shadow-sm: 4px 4px 0 0 var(--line);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .24s;
}

/* ---------- 3. 排版 ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .01em;
  color: var(--cream);
}

h1 { font-size: clamp(34px, 6vw, 76px); line-height: 1.06; }
h2 { font-size: clamp(26px, 3.6vw, 44px); }
h3 { font-size: clamp(19px, 2.2vw, 27px); }
h4 { font-size: clamp(16px, 1.6vw, 19px); }

p { font-size: 16px; line-height: 1.85; }
strong { color: var(--gold-hi); font-weight: 700; }
em { font-style: normal; color: var(--gold); }
small { font-size: 12.5px; color: var(--mist); }

::selection { background: var(--gold); color: var(--ink); }

/* ---------- 4. 可访问性 ---------- */
:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  padding: 10px 24px;
  background: var(--gold);
  color: var(--ink);
  font-size: 13px;
  letter-spacing: .14em;
  border: 2px solid var(--ink-2);
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 12px; }

#main-content { display: block; }

/* ---------- 5. 布局容器 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(48px, 8vw, 104px);
}
.section--tight { padding-block: clamp(28px, 4vw, 52px); }

.section__title {
  display: inline-block;
  position: relative;
  padding-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.1;
}
.section__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(201, 162, 39, 0));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .4s var(--ease);
}
[data-section].is-visible .section__title::after,
html:not(.js) .section__title::after { transform: scaleX(1); }

.section__lead {
  margin-top: 18px;
  max-width: 46ch;
  font-size: 16px;
  color: var(--mist);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amber);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  flex: none;
}

.rule {
  height: 1px;
  border: 0;
  margin-block: clamp(24px, 4vw, 44px);
  background: linear-gradient(90deg, var(--gold), rgba(201, 162, 39, 0) 72%);
}

/* ---------- 6. 栅格 ---------- */
.grid {
  display: grid;
  gap: clamp(18px, 2.6vw, 32px);
}
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); }
.grid--sidebar { align-items: start; }

@media (max-width: 900px) {
  .grid--2,
  .grid--3,
  .grid--split { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--cream);
  font-size: 13px;
  letter-spacing: .16em;
  line-height: 1.2;
  text-align: center;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #14100A;
  box-shadow: var(--hard-shadow-sm);
}
.btn--gold:hover {
  background: var(--gold-hi);
  border-color: var(--gold-hi);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 0 var(--line);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--gold);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-hi);
  background: rgba(201, 162, 39, .08);
}

.btn--sm {
  padding: 9px 18px;
  font-size: 12px;
  letter-spacing: .12em;
  box-shadow: none;
}
.btn--sm.btn--gold { box-shadow: 2px 2px 0 0 var(--line); }

/* ---------- 8. 卡片 ---------- */
.card {
  position: relative;
  display: block;
  padding: clamp(20px, 3vw, 32px);
  background: var(--panel);
  border: 2px solid var(--line);
  box-shadow: var(--hard-shadow);
  transition: box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.card:hover,
.card:focus-within {
  border-color: var(--gold);
  transform: translate(4px, 4px);
  box-shadow: var(--hard-shadow-sm);
}
.card__title {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.25;
  margin-bottom: 10px;
}
.card__text {
  font-size: 14.5px;
  color: var(--mist);
  line-height: 1.8;
}
.card__link {
  display: inline-block;
  margin-top: 18px;
  font-size: 11.5px;
  letter-spacing: .18em;
  color: var(--gold);
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
}
.card__link:hover { color: var(--gold-hi); border-color: var(--gold); }

/* ---------- 9. 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mist);
}
.tag--gold { border-color: var(--gold); color: var(--gold); }
.tag--amber { border-color: var(--amber); color: var(--amber); }

/* ---------- 10. 图片容器（页面阶段放置 img 即可） ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--panel);
  border: 2px solid var(--line);
  box-shadow: var(--hard-shadow);
  aspect-ratio: 4 / 3;
}
.media > img,
.media > picture > img,
.media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.92) contrast(1.06) saturate(.85);
}
.media--wide { aspect-ratio: 16 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }
.media--banner { aspect-ratio: 21 / 9; }
.media--bleed { border: 0; box-shadow: none; }
.media__tag {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 8px 15px;
  background: var(--ink);
  color: var(--gold);
  font-size: 11px;
  letter-spacing: .16em;
  border-top: 2px solid var(--gold);
}

.figure { margin: 0; }
.figure__caption {
  margin-top: 10px;
  padding-left: 10px;
  border-left: 2px solid var(--gold);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--mist);
  line-height: 1.7;
}

/* ---------- 11. 正文窄栏 ---------- */
.prose {
  max-width: 720px;
  margin-inline: auto;
}
.prose > * + * { margin-top: 1.2em; }
.prose p { color: #D9D2C4; }
.prose h2 {
  margin-top: 2.1em;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
  font-size: clamp(22px, 2.6vw, 31px);
}
.prose h3 {
  margin-top: 1.7em;
  font-size: clamp(18px, 2vw, 23px);
  color: var(--gold-hi);
}
.prose ul li,
.prose ol li {
  position: relative;
  margin-bottom: .55em;
  padding-left: 24px;
  color: #D9D2C4;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .85em;
  width: 9px;
  height: 1px;
  background: var(--gold);
}
.prose ol { counter-reset: prose-n; }
.prose ol li::before {
  counter-increment: prose-n;
  content: counter(prose-n, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--gold);
}
.prose blockquote {
  margin: 1.6em 0;
  padding: 18px 24px;
  background: var(--panel);
  border-left: 3px solid var(--crimson);
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--cream);
}
.prose a {
  color: var(--gold);
  border-bottom: 1px solid var(--line);
}
.prose a:hover { color: var(--gold-hi); border-color: var(--gold); }

/* ---------- 12. 面包屑 ---------- */
.breadcrumb { padding-block: 18px; }
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--mist);
}
.breadcrumb__link { color: var(--mist); transition: color var(--dur) var(--ease); }
.breadcrumb__link:hover { color: var(--gold-hi); }
.breadcrumb__sep { color: var(--line); }
.breadcrumb__current { color: var(--gold); }

/* ---------- 13. 入场显现 ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  }
  html.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   14. 页头
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 60;
  background-color: var(--ink);
  background-image: radial-gradient(120% 90% at 50% -25%, rgba(201, 162, 39, .17), rgba(11, 10, 12, 0) 62%);
  border-bottom: 2px solid var(--line);
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 200;
  pointer-events: none;
}
.scroll-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--crimson), var(--gold) 55%, var(--gold-hi));
  box-shadow: 0 0 12px rgba(201, 162, 39, .7);
}

.rail {
  position: fixed;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 70;
  display: none;
  flex-direction: column;
  gap: 11px;
  pointer-events: none;
}
@media (min-width: 1180px) {
  .rail { display: flex; }
}
.rail__dot {
  display: block;
  width: 3px;
  height: 22px;
  background: var(--line);
  transition: height .28s var(--ease), background .28s var(--ease), box-shadow .28s var(--ease);
}
.rail__dot.is-active {
  height: 40px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  box-shadow: 0 0 14px rgba(201, 162, 39, .75);
}

.header-top {
  background: rgba(22, 18, 15, .55);
  border-bottom: 1px solid var(--line);
}
.header-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 54px;
  padding-block: 9px;
}
.masthead-note {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mist);
  white-space: nowrap;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.header-cta { white-space: nowrap; flex: none; }

/* 站内检索 */
.site-search { position: relative; display: flex; min-width: 0; }
.site-search__field {
  width: clamp(180px, 26vw, 300px);
  padding: 9px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0;
  font-size: 13px;
  color: var(--cream);
  transition: border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease);
}
.site-search__field::placeholder { color: var(--mist); }
.site-search__field:focus {
  outline: none;
  border-color: var(--gold);
  background: #221D17;
  box-shadow: 0 0 0 1px var(--gold), 0 0 22px rgba(201, 162, 39, .32);
}
.site-search__field::-webkit-search-cancel-button,
.site-search__field::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}
.site-search__results {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 150;
  width: min(360px, 86vw);
  max-height: 330px;
  overflow: auto;
  padding: 6px;
  background: var(--panel);
  border: 2px solid var(--line);
  box-shadow: var(--hard-shadow);
}
.site-search__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(58, 46, 26, .65);
}
.site-search__item:last-of-type { border-bottom: 0; }
.site-search__link {
  flex: 1 1 auto;
  padding: 9px 10px;
  font-size: 13.5px;
  color: var(--cream);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-search__link:hover {
  color: var(--gold-hi);
  background: rgba(201, 162, 39, .1);
}
.site-search__meta {
  flex: none;
  padding-right: 10px;
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--mist);
}
.site-search__empty {
  padding: 14px 12px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--mist);
}

/* 报头字标 */
.masthead {
  padding-block: 26px 22px;
  border-bottom: 1px solid var(--line);
}
.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 5vw, 56px);
  text-align: center;
}
.masthead__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: .1em;
  color: var(--gold);
  text-shadow: 0 0 28px rgba(201, 162, 39, .38);
  transition: color var(--dur) var(--ease), text-shadow var(--dur) var(--ease);
}
.masthead__brand:hover {
  color: var(--gold-hi);
  text-shadow: 0 0 36px rgba(239, 203, 107, .6);
}
.masthead__flank {
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--mist);
  white-space: nowrap;
}
.masthead__flank--end { text-align: right; }

/* 主导航 */
.primary-nav {
  background: linear-gradient(180deg, rgba(30, 26, 23, .92), rgba(11, 10, 12, .96));
  border-top: 1px solid var(--line);
}
.primary-nav__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
}
.primary-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(10px, 2vw, 32px);
}
.primary-nav__item { display: block; }
.primary-nav__link {
  position: relative;
  display: inline-block;
  padding: 8px 2px;
  font-size: 14px;
  letter-spacing: .14em;
  color: var(--cream);
  transition: color var(--dur) var(--ease);
}
.primary-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s var(--ease), background var(--dur) var(--ease);
}
.primary-nav__link:hover { color: var(--gold-hi); }
.primary-nav__link:hover::after { transform: scaleX(1); }
.primary-nav__link[aria-current="page"] { color: var(--gold); }
.primary-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--amber);
}

.nav-toggle { display: none; }
.nav-toggle__bars { display: inline-flex; }
.nav-toggle__text { display: inline-block; }

/* ---------- 15. 页头移动端 ---------- */
@media (max-width: 900px) {
  .header-top__inner {
    flex-wrap: wrap;
    row-gap: 10px;
    padding-block: 12px;
  }
  .masthead-note { order: 1; }
  .header-tools { order: 2; width: 100%; }
  .site-search { flex: 1 1 auto; }
  .site-search__field { width: 100%; }
  .site-search__results { left: 0; right: auto; width: 100%; }

  .masthead { padding-block: 18px 16px; }
  .masthead__flank { display: none; }
  .masthead__brand { font-size: clamp(26px, 7vw, 34px); }

  .primary-nav__inner {
    display: block;
    min-height: 0;
    padding-block: 0;
  }
  .nav-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 15px 4px;
    color: var(--gold);
    font-size: 12px;
    letter-spacing: .2em;
  }
  .nav-toggle__bars {
    flex-direction: column;
    gap: 4px;
    width: 20px;
    flex: none;
  }
  .nav-toggle__bars i {
    display: block;
    height: 2px;
    width: 100%;
    background: currentColor;
    transition: transform .2s var(--ease), opacity .2s var(--ease);
  }
  .primary-nav[data-open] .nav-toggle__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .primary-nav[data-open] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
  .primary-nav[data-open] .nav-toggle__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .primary-nav__list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 12px;
    border-top: 1px dashed var(--line);
  }
  .primary-nav[data-open] .primary-nav__list { display: flex; }
  .primary-nav__item { width: 100%; }
  .primary-nav__link {
    display: block;
    padding: 14px 6px;
    font-size: 15px;
    letter-spacing: .12em;
    border-bottom: 1px solid rgba(58, 46, 26, .7);
  }
  .primary-nav__link::after { display: none; }
  .primary-nav__link[aria-current="page"] {
    color: var(--gold);
    box-shadow: inset 3px 0 0 var(--amber);
    padding-left: 16px;
  }
}

@media (max-width: 480px) {
  .header-cta {
    padding: 9px 13px;
    font-size: 11px;
    letter-spacing: .06em;
  }
}

/* ==========================================================================
   16. 页脚
   ========================================================================== */
.site-footer {
  position: relative;
  margin-top: clamp(60px, 10vw, 120px);
  background-color: var(--ink-2);
  background-image: radial-gradient(90% 130% at 50% 0%, rgba(122, 31, 43, .22), rgba(22, 18, 15, 0) 62%);
  border-top: 2px solid var(--line);
}

.footer-top { border-bottom: 1px solid var(--line); }
.footer-top__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-block: clamp(34px, 6vw, 66px);
}
.footer-slogan {
  max-width: 20ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(23px, 3.4vw, 40px);
  line-height: 1.28;
  color: var(--cream);
}
.footer-brand {
  flex: none;
  padding-bottom: 6px;
  font-family: var(--font-display);
  font-size: clamp(14px, 1.6vw, 18px);
  letter-spacing: .3em;
  color: var(--gold);
  transition: color var(--dur) var(--ease);
}
.footer-brand:hover { color: var(--gold-hi); }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 1.35fr;
  gap: clamp(22px, 3.5vw, 48px);
  padding-block: clamp(32px, 5vw, 58px);
  border-bottom: 1px solid var(--line);
}

.footer-col__title {
  display: block;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .2em;
  color: var(--amber);
}
.footer-col__list { display: block; }
.footer-col__item { display: block; }
.footer-col__link {
  display: inline-block;
  padding: 5px 0;
  font-size: 14px;
  color: var(--mist);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.footer-col__link:hover {
  color: var(--gold-hi);
  transform: translateX(3px);
}

.footer-contact__list { margin: 0; }
.footer-contact__row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(58, 46, 26, .85);
}
.footer-contact__key {
  margin: 0;
  padding-top: 2px;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--mist);
}
.footer-contact__val {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--cream);
  word-break: break-word;
}
.footer-contact__note {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.75;
  color: var(--mist);
}

.footer-legal {
  background: rgba(11, 10, 12, .62);
  border-top: 1px solid var(--line);
}
.footer-legal__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 22px;
  padding-block: 18px;
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--mist);
}
.footer-legal__line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
}
.footer-legal__item { color: var(--mist); }
.footer-legal__sep { color: var(--line); }
.footer-legal__copy { font-size: 11.5px; color: var(--mist); }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-top__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-legal__inner { flex-direction: column; align-items: flex-start; }
  .footer-slogan { max-width: 100%; }
}

/* ==========================================================================
   17. 减少动效
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  html.js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .section__title::after { transform: scaleX(1) !important; }
  .rail__dot { transition: none !important; }
}
