/* =====================================================
   壹号娱址 · 共享样式 Site CSS
   深蓝 × 金色 × 紫红渐变 / Bento / 非对称流光
   ===================================================== */

/* ---------- 设计变量 ---------- */
:root {
  --c-bg: #0A0E2A;
  --c-bg-deep: #070A1E;
  --c-bg-alt: #1A0F2E;
  --c-gold: #F5C518;
  --c-gold-metal: #D4AF37;
  --c-purple-start: #7A1F5D;
  --c-purple-end: #B23A8F;
  --c-info: #00B4D8;
  --c-text: #FFFFFF;
  --c-text-dim: rgba(255, 255, 255, 0.7);
  --c-text-faint: rgba(255, 255, 255, 0.5);

  --font-display: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", SFMono-Regular, "Cascadia Code", Consolas, monospace;

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-pill: 999px;

  --container-w: 1240px;
  --header-h: 76px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 24px 60px rgba(0, 0, 0, 0.4);
}

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

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  min-height: 100vh;
  padding-top: var(--header-h);
  overflow-x: hidden;
  background-color: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 背景氛围：细网格 + 顶部紫红辉光 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
}

body::after {
  content: "";
  position: fixed;
  top: -320px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 520px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(122, 31, 93, 0.16) 0%, rgba(10, 14, 42, 0) 70%);
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

a {
  color: inherit;
}

ul,
ol {
  list-style: none;
}

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

::selection {
  background: rgba(245, 197, 24, 0.85);
  color: #0A0E2A;
}

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

/* ---------- 工具类 ---------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }
}

.main-content {
  min-height: 60vh;
}

.section {
  padding: 72px 0;
}

.section--tight {
  padding: 44px 0;
}

.section--relaxed {
  padding: 104px 0;
}

.section-header {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-header--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold);
}

.section-eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-purple-end));
}

.section-title {
  margin-top: 12px;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.02em;
}

.section-desc {
  margin-top: 14px;
  max-width: 58ch;
  color: var(--c-text-dim);
  font-size: 15px;
  line-height: 1.7;
}

.display-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--c-text);
}

.display-title__accent {
  background: linear-gradient(115deg, var(--c-gold) 15%, var(--c-purple-end) 68%, var(--c-info) 105%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.text-info {
  color: var(--c-info);
}

.text-dim {
  color: var(--c-text-dim);
}

.digit {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.gold-line {
  height: 1px;
  border: none;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.65), rgba(178, 58, 143, 0.45), transparent);
}

/* ---------- 分屏首屏基底 ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 56px) 0 64px;
}

.page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 60px;
  align-items: center;
}

.page-hero__title {
  margin-top: 16px;
  font-size: clamp(36px, 5vw, 58px);
}

.page-hero__desc {
  margin-top: 18px;
  max-width: 48ch;
  color: var(--c-text-dim);
  font-size: 16px;
  line-height: 1.8;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.page-hero__visual {
  position: relative;
}

@media (max-width: 960px) {
  .page-hero {
    padding: calc(var(--header-h) + 32px) 0 48px;
  }

  .page-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---------- 按钮 ---------- */
.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: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn--gold {
  background: linear-gradient(135deg, #D4AF37, #F5C518);
  color: #0A0E2A;
  box-shadow: 0 8px 26px rgba(245, 197, 24, 0.22);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(245, 197, 24, 0.32);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--c-text);
}

.btn--ghost:hover {
  border-color: rgba(245, 197, 24, 0.55);
  color: var(--c-gold);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 9px 18px;
  font-size: 13px;
}

/* ---------- 胶囊标签 ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.chip--gold {
  background: rgba(245, 197, 24, 0.12);
  border: 1px solid rgba(245, 197, 24, 0.35);
  color: var(--c-gold);
}

.chip--info {
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.3);
  color: #8FE3FF;
}

.chip--purple {
  background: linear-gradient(135deg, rgba(122, 31, 93, 0.35), rgba(178, 58, 143, 0.25));
  border: 1px solid rgba(178, 58, 143, 0.4);
  color: #F3B8DF;
}

/* ---------- 卡片 ---------- */
.card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(26, 15, 46, 0.88), rgba(10, 14, 42, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease, border-color 0.4s ease;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 197, 24, 0.55), transparent);
  opacity: 0.55;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.5);
}

.card--accent::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(178, 58, 143, 0.35), transparent 70%);
  pointer-events: none;
}

/* ---------- Bento 网格 ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.bento-grid__item {
  grid-column: span 4;
}

.bento-grid__item--wide {
  grid-column: span 8;
}

.bento-grid__item--narrow {
  grid-column: span 3;
}

.bento-grid__item--full {
  grid-column: span 12;
}

@media (max-width: 1024px) {
  .bento-grid__item,
  .bento-grid__item--wide,
  .bento-grid__item--narrow,
  .bento-grid__item--full {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  .bento-grid__item,
  .bento-grid__item--wide,
  .bento-grid__item--narrow,
  .bento-grid__item--full {
    grid-column: span 12;
  }
}

/* ---------- 图片容器 ---------- */
.img-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(135deg, rgba(178, 58, 143, 0.18), transparent 55%),
    linear-gradient(315deg, rgba(0, 180, 216, 0.1), transparent 45%),
    linear-gradient(145deg, var(--c-bg-alt), var(--c-bg));
  box-shadow: var(--shadow-card);
  min-height: 160px;
}

.img-frame::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.img-frame--4x3::before {
  padding-top: 75%;
}

.img-frame--square::before {
  padding-top: 100%;
}

.img-frame--portrait::before {
  padding-top: 125%;
}

.img-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-frame:not(:has(img))::after {
  content: "壹号娱址";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.07) 38%, transparent 55%),
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(255, 255, 255, 0.018) 12px 13px);
  background-size: 200% 100%, auto;
  animation: sheen 5.5s ease-in-out infinite;
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  padding-top: calc(var(--header-h) + 20px);
  margin-bottom: 12px;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--c-text-faint);
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "›";
  margin-right: 8px;
  color: var(--c-text-faint);
}

.breadcrumb__link {
  color: var(--c-text-dim);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

/* ---------- 正文容器 ---------- */
.prose {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-text-dim);
}

.prose p {
  margin-bottom: 1.35em;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  color: var(--c-text);
  margin: 2.2em 0 0.8em;
  padding-top: 0.4em;
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--c-text);
  margin: 1.8em 0 0.7em;
}

.prose ul {
  margin-bottom: 1.4em;
}

.prose li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
}

.prose li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-gold), var(--c-purple-end));
}

.prose a {
  color: var(--c-gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.prose a:hover {
  text-decoration-color: var(--c-purple-end);
}

.prose strong {
  color: var(--c-text);
}

/* ---------- 章节目录跟随 ---------- */
[data-toc] {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(26, 15, 46, 0.7), rgba(10, 14, 42, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.07);
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

[data-toc-link] {
  display: block;
  padding: 10px 16px;
  border-radius: 14px;
  border-left: 2px solid transparent;
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-text-dim);
  text-decoration: none;
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

[data-toc-link]:hover {
  color: var(--c-text);
  background: rgba(255, 255, 255, 0.05);
}

[data-toc-link].is-active {
  color: var(--c-gold);
  background: linear-gradient(90deg, rgba(245, 197, 24, 0.12), rgba(178, 58, 143, 0.06));
  border-left-color: var(--c-gold);
  font-weight: 600;
}

[data-section] {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

/* ---------- 滚动显现 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- 返回顶部 ---------- */
.totop {
  position: fixed;
  right: 26px;
  bottom: 30px;
  z-index: 900;
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 50%;
  background: conic-gradient(from 0turn, var(--c-gold) calc(var(--progress, 0) * 1%), rgba(255, 255, 255, 0.13) 0);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.9);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), visibility 0.4s;
}

.totop[data-visible] {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.totop__inner {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: linear-gradient(160deg, #0D122E, #0A0E2A);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
}

.totop__arrow {
  width: 11px;
  height: 11px;
  border-left: 2px solid var(--c-gold);
  border-top: 2px solid var(--c-gold);
  transform: rotate(45deg);
  margin-top: 5px;
  border-radius: 1px;
}

.totop:hover {
  box-shadow: 0 16px 40px rgba(245, 197, 24, 0.25);
}

.totop:hover .totop__arrow {
  border-color: #FFE57F;
}

/* ---------- 页头 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(10, 14, 42, 0.78);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.site-header[data-scrolled] {
  background: rgba(7, 10, 30, 0.92);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -6%;
  width: 24%;
  z-index: 1;
  background: linear-gradient(100deg, rgba(178, 58, 143, 0.2), rgba(122, 31, 93, 0) 72%);
  transform: skewX(-18deg);
  pointer-events: none;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.55), rgba(178, 58, 143, 0.45), transparent);
}

.site-header__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (max-width: 640px) {
  .site-header__inner {
    padding: 0 20px;
  }
}

/* 品牌区 */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 4px 6px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--c-text);
}

.brand-logo__mark {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.65);
  background: linear-gradient(145deg, #171136, #0A0E2A);
  box-shadow: inset 0 0 14px rgba(245, 197, 24, 0.14), 0 4px 18px rgba(0, 0, 0, 0.4);
  transform: rotate(-6deg);
  transition: transform 0.45s var(--ease-out);
}

.brand-logo:hover .brand-logo__mark {
  transform: rotate(3deg) scale(1.06);
}

.brand-logo__glyph {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  color: var(--c-gold);
  text-shadow: 0 0 14px rgba(245, 197, 24, 0.5);
}

.brand-logo__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-logo__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.brand-logo__tagline {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--c-gold-metal);
  white-space: nowrap;
}

.brand-logo--footer {
  padding: 0;
}

@media (max-width: 400px) {
  .brand-logo__tagline {
    display: none;
  }
}

/* 导航切换按钮 */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

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

.nav-toggle[aria-expanded="true"] {
  border-color: rgba(245, 197, 24, 0.5);
  background: rgba(245, 197, 24, 0.1);
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-text);
  transition: transform 0.35s var(--ease-out), opacity 0.25s ease;
}

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

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

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

/* 页头面板 */
.site-header__panel {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav__item {
  position: relative;
}

.site-nav__link {
  position: relative;
  display: block;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.site-nav__link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(245, 197, 24, 0.5), rgba(178, 58, 143, 0.35));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.site-nav__link:hover {
  color: var(--c-text);
}

.site-nav__link:hover::before {
  opacity: 0.18;
}

.site-nav__link[aria-current="page"] {
  color: var(--c-gold);
  background: rgba(245, 197, 24, 0.08);
  box-shadow: inset 0 0 0 1px rgba(245, 197, 24, 0.38), 0 4px 14px rgba(245, 197, 24, 0.1);
}

/* 快捷入口 */
.header-quick {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.header-quick__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.header-quick__link:hover {
  color: var(--c-text);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.header-quick__link--gold {
  border-color: rgba(245, 197, 24, 0.4);
  background: rgba(245, 197, 24, 0.08);
  color: var(--c-gold);
}

.header-quick__link--info {
  border-color: rgba(0, 180, 216, 0.35);
  background: rgba(0, 180, 216, 0.07);
  color: #8FE3FF;
}

.header-quick__dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-gold);
  flex: 0 0 6px;
}

.header-quick__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(245, 197, 24, 0.55);
  animation: pulseRing 2.2s ease-out infinite;
}

/* 跳过链接 */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1200;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--c-gold);
  color: #0A0E2A;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.35s var(--ease-out);
}

.skip-link:focus {
  transform: none;
}

/* 移动端页头 */
@media (max-width: 1060px) {
  .nav-toggle {
    display: flex;
  }

  .site-header__panel {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin: 0;
    padding: 18px 24px 26px;
    background: linear-gradient(180deg, rgba(8, 11, 32, 0.98), rgba(20, 12, 36, 0.99));
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.24);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  }

  .site-header__panel[data-open] {
    display: flex;
    animation: navSlideDown 0.35s var(--ease-out);
  }

  .site-nav {
    width: 100%;
  }

  .site-nav__list {
    flex-direction: column;
    gap: 4px;
  }

  .site-nav__item {
    width: 100%;
  }

  .site-nav__item + .site-nav__item {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 4px;
  }

  .site-nav__link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    font-size: 16px;
    border-radius: 16px;
    text-align: center;
  }

  .header-quick {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 0 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  .header-quick__link {
    padding: 9px 16px;
    font-size: 14px;
  }
}

html[data-nav-open],
body[data-nav-open] {
  overflow: hidden;
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: 88px;
  background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-alt) 38%, #120A26 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 4%, rgba(245, 197, 24, 0.75) 30%, rgba(178, 58, 143, 0.6) 65%, transparent 96%);
  opacity: 0.8;
}

.site-footer__glow {
  position: absolute;
  top: -180px;
  right: -100px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(178, 58, 143, 0.22), transparent 65%);
  pointer-events: none;
}

.site-footer__inner {
  position: relative;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 64px 32px 44px;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.5fr;
  gap: 44px;
}

.site-footer__brand .brand-logo {
  margin-bottom: 18px;
}

.site-footer__trust {
  max-width: 340px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--c-text-dim);
}

.site-footer__heading {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--c-gold-metal);
  margin-bottom: 18px;
  text-transform: uppercase;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__links a {
  color: var(--c-text-dim);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.site-footer__links a:hover {
  color: var(--c-gold);
  padding-left: 4px;
}

.site-footer__contact-line {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text-dim);
}

.site-footer__contact-note {
  margin-top: 6px;
  font-size: 13px;
  color: var(--c-text-faint);
}

.site-footer__cta {
  margin-top: 16px;
}

.site-footer__meta {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 10, 30, 0.45);
}

.site-footer__meta-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--c-text-faint);
}

@media (max-width: 1024px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    padding: 48px 20px 36px;
  }

  .site-footer__meta-inner {
    padding: 18px 20px;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- 关键帧 ---------- */
@keyframes navSlideDown {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulseRing {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }

  80%,
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes sheen {
  0% {
    background-position: 160% 0, 0 0;
  }

  100% {
    background-position: -90% 0, 0 0;
  }
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

/* ---------- 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

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