/* ============================================================
   大神娱乐指南 — 共享样式表 /assets/site.css
   夜间数据面板基调 · 近单色紫阶体系
   ============================================================ */

/* ---------- 1. reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption,
blockquote, dl, dt, dd, button, input, textarea, select { margin: 0; padding: 0; }
ul[class], ol[class] { list-style: none; }
img, picture, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }
:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 2. 变量 ---------- */
:root {
  --void: #07060D;
  --ink: #0E0B1A;
  --slate: #171228;
  --hairline: #2B2344;
  --neon: #A855F7;
  --violet-soft: #C9B0FF;
  --deep-violet: #4C1D95;
  --blue: #3AC7F5;
  --amber: #FFA653;
  --text-primary: #F3F0FA;
  --text-secondary: #B7B0D0;
  --text-muted: #7E7796;

  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo,
    Consolas, "Liberation Mono", monospace;

  --shell: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 76px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-card: 0 24px 60px -34px rgba(0, 0, 0, .9);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-secondary);
  background-color: var(--void);
  background-image:
    radial-gradient(1200px 760px at 10% -12%, rgba(76, 29, 149, .42), transparent 68%),
    radial-gradient(880px 620px at 104% 0%, rgba(58, 199, 245, .09), transparent 70%),
    linear-gradient(to right, rgba(168, 85, 247, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(168, 85, 247, .055) 1px, transparent 1px);
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  background-size: auto, auto, 80px 80px, 80px 80px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.005em;
}
p { max-width: 44em; }
strong, b { font-weight: 700; color: var(--text-primary); }

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: .01em;
}

/* ---------- 4. 骨架 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow { max-width: 880px; }
.page-main { position: relative; z-index: 1; display: block; }

/* ---------- 5. 跳至主内容 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--neon);
  color: #14041F;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  transform: translateY(-180%);
  transition: transform .2s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- 6. 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(180deg, rgba(14, 11, 26, .97) 0%, rgba(7, 6, 13, .93) 100%);
  border-bottom: 1px solid var(--hairline);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
}
.site-header__inner {
  position: relative;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: var(--header-h);
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
}

/* 品牌块 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-height: 44px;
}
.brand__dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, .15), 0 0 16px rgba(168, 85, 247, .85);
  animation: dotPulse 2.6s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .42; }
}
.brand__name {
  font-size: 1.06rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: .02em;
  white-space: nowrap;
}
.brand__tagline {
  padding-left: 12px;
  border-left: 1px solid var(--hairline);
  font-size: .76rem;
  line-height: 1.5;
  color: var(--text-muted);
  letter-spacing: .04em;
  white-space: nowrap;
}

/* 状态条 */
.status-strip {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: .76rem;
  color: var(--text-muted);
  letter-spacing: .08em;
  white-space: nowrap;
}
.status-strip__label {
  padding: 3px 10px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: .68rem;
  color: var(--text-muted);
  letter-spacing: .12em;
}
.status-strip__item { color: var(--text-muted); }
.status-strip__val { color: var(--text-primary); font-size: .94em; }
.status-strip__val--hot {
  padding: 2px 8px;
  border: 1px solid rgba(255, 166, 83, .28);
  border-radius: 6px;
  background: rgba(255, 166, 83, .1);
  color: var(--amber);
}
.status-strip__sep { width: 1px; height: 14px; background: var(--hairline); flex: none; }

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--ink);
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color .16s var(--ease), background-color .16s var(--ease);
}
.nav-toggle:hover { border-color: var(--neon); background: var(--slate); }
.nav-toggle__bars { display: inline-flex; flex-direction: column; gap: 3px; width: 16px; }
.nav-toggle__bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .22s var(--ease), opacity .18s var(--ease);
}
.nav-toggle__label { font-size: .74rem; letter-spacing: .16em; color: var(--text-secondary); }

.site-header[data-open="true"] .nav-toggle { border-color: var(--neon); background: var(--slate); }
.site-header[data-open="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.site-header[data-open="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.site-header[data-open="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* 主导航 */
.site-nav { flex: 0 0 auto; margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 28px); }
.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 8px 2px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: .04em;
  white-space: nowrap;
  transition: color .16s var(--ease);
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--neon);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .18s var(--ease);
}
.site-nav__link:hover { color: var(--text-primary); }
.site-nav__link:hover::after { transform: scaleX(1); }
.site-nav__link[aria-current="page"] { color: var(--text-primary); font-weight: 700; }
.site-nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  z-index: 2;
  pointer-events: none;
}
.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--deep-violet), var(--neon) 55%, var(--blue));
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(64px, 10vw, 140px);
  background: linear-gradient(180deg, var(--ink) 0%, var(--void) 82%);
  border-top: 1px solid var(--hairline);
}
.site-footer__inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(30px, 4vw, 52px);
  display: grid;
  grid-template-columns: 1.35fr .95fr 1.55fr 1fr;
  gap: clamp(24px, 3vw, 52px);
}
.footer-col { min-width: 0; }
.footer-col--brand { display: flex; flex-direction: column; gap: 12px; }
.footer-col__title {
  margin-bottom: 14px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: .18em;
}
.footer-col__title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 9px;
  border-radius: 1px;
  background: var(--neon);
  transform: translateY(-1px);
}
.footer-col__note {
  margin-bottom: 12px;
  font-size: .74rem;
  color: var(--text-muted);
  letter-spacing: .06em;
}

.footer-brand__name {
  font-size: 1.16rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: .02em;
  width: fit-content;
  transition: color .16s var(--ease);
}
.footer-brand__name:hover { color: var(--violet-soft); }
.footer-brand__desc {
  font-size: .86rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 30ch;
}
.footer-contact { display: grid; gap: 8px; margin-top: 4px; }
.footer-contact__row { display: flex; flex-wrap: wrap; gap: 10px; font-size: .8rem; }
.footer-contact__k { flex: 0 0 auto; min-width: 4.5em; color: var(--text-muted); letter-spacing: .08em; }
.footer-contact__v { color: var(--text-secondary); word-break: break-all; }

.footer-list { display: grid; gap: 9px; }
.footer-list__item { display: flex; flex-direction: column; gap: 2px; }
.footer-list__link {
  width: fit-content;
  font-size: .88rem;
  color: var(--text-secondary);
  transition: color .16s var(--ease);
}
.footer-list__link:hover { color: var(--violet-soft); }
.footer-list__meta { font-size: .72rem; color: var(--text-muted); letter-spacing: .05em; }
.footer-list__meta .mono { color: var(--violet-soft); }

.footer-cats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 12px;
}
.footer-cats__link {
  display: block;
  padding: 6px 8px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: .76rem;
  color: var(--text-muted);
  letter-spacing: .06em;
  transition: color .16s var(--ease), background-color .16s var(--ease), border-color .16s var(--ease);
}
.footer-cats__link:hover {
  color: var(--violet-soft);
  background: var(--slate);
  border-color: var(--hairline);
}

.footer-closing {
  border-top: 1px solid var(--hairline);
  background: rgba(7, 6, 13, .72);
}
.footer-closing__inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 18px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 26px;
  font-size: .76rem;
  color: var(--text-muted);
  letter-spacing: .08em;
}
.footer-closing__stat .mono { color: var(--text-primary); }
.footer-closing__sep { flex: 1 1 40px; min-width: 20px; height: 1px; background: var(--hairline); }
.footer-closing__copy { white-space: nowrap; }

/* ---------- 8. 通用组件 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 22px;
  font-size: .78rem;
  color: var(--text-muted);
  letter-spacing: .06em;
}
.breadcrumb__item { display: flex; align-items: center; gap: 8px; }
.breadcrumb__item + .breadcrumb__item::before { content: "/"; color: var(--hairline); }
.breadcrumb__link { color: var(--text-muted); transition: color .16s var(--ease); }
.breadcrumb__link:hover { color: var(--violet-soft); }
.breadcrumb__current { color: var(--violet-soft); }

.display {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--text-primary);
}
.lede {
  max-width: 38em;
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  line-height: 1.8;
  color: var(--text-secondary);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .22em;
  color: var(--violet-soft);
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .72; }

.section { position: relative; padding-block: clamp(48px, 7vw, 104px); }
.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 18px;
  margin-bottom: clamp(22px, 3vw, 40px);
}
.section__num {
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--neon);
}
.section__title { font-size: clamp(1.35rem, 2.4vw, 2.1rem); font-weight: 700; }
.section__anno {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: .72rem;
  letter-spacing: .3em;
  color: var(--text-muted);
  user-select: none;
}

.panel {
  padding: clamp(18px, 2.4vw, 30px);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(23, 18, 40, .92), rgba(14, 11, 26, .82));
  box-shadow: var(--shadow-card);
}
.card {
  position: relative;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  background: var(--slate);
  transition: border-color .18s var(--ease), background-color .18s var(--ease), transform .22s var(--ease);
}
.card:hover { border-color: rgba(168, 85, 247, .55); background: #1C1533; transform: translateY(-2px); }
.card__num { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .18em; color: var(--neon); }
.card__title { margin-top: 8px; font-size: 1.06rem; font-weight: 700; color: var(--text-primary); }
.card__meta {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .08em;
  color: var(--text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
    border-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: linear-gradient(135deg, var(--neon) 0%, var(--deep-violet) 100%);
  color: #FBF7FF;
  box-shadow: 0 16px 36px -20px rgba(168, 85, 247, .95), inset 0 0 0 1px rgba(201, 176, 255, .3);
}
.btn--primary:hover {
  box-shadow: 0 20px 44px -18px rgba(168, 85, 247, 1), inset 0 0 0 1px rgba(201, 176, 255, .55);
}
.btn--ghost {
  background: rgba(23, 18, 40, .8);
  border-color: var(--hairline);
  color: var(--text-primary);
}
.btn--ghost:hover { border-color: var(--neon); color: var(--violet-soft); }
.btn--sub {
  padding: 8px 16px;
  font-size: .8rem;
  font-weight: 600;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--text-secondary);
}
.btn--sub:hover { border-color: var(--blue); color: var(--blue); }

.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

.media-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(76, 29, 149, .5), transparent 62%),
    linear-gradient(150deg, #171228 0%, #0B0816 100%);
  aspect-ratio: 16 / 9;
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.06) brightness(.88);
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(201, 176, 255, .12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(201, 176, 255, .12) 1px, transparent 1px);
  background-size: 48px 48px;
  mix-blend-mode: screen;
}
.media-frame__caption {
  position: absolute;
  left: clamp(12px, 2vw, 22px);
  right: clamp(12px, 2vw, 22px);
  bottom: clamp(12px, 2vw, 20px);
  font-size: .76rem;
  letter-spacing: .08em;
  color: var(--text-secondary);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .85);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgba(23, 18, 40, .7);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--text-muted);
}
.tag--live { border-color: rgba(255, 166, 83, .4); background: rgba(255, 166, 83, .08); color: var(--amber); }
.tag--city { border-color: rgba(58, 199, 245, .35); background: rgba(58, 199, 245, .07); color: var(--blue); }

.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--hairline) 18%, var(--hairline) 82%, transparent);
}

/* ---------- 9. 入场显现 ---------- */
.has-reveal [data-reveal] { opacity: 0; transform: translateY(12px); }
.has-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 320ms ease-out, transform 320ms ease-out;
}

/* ---------- 10. 响应式 ---------- */
@media (max-width: 1180px) {
  .brand__tagline { display: none; }
}

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

@media (max-width: 1023px) {
  .site-header__inner {
    flex-wrap: wrap;
    padding-block: 10px;
    row-gap: 2px;
  }
  .brand { order: 1; }
  .nav-toggle { order: 2; display: inline-flex; margin-left: auto; }
  .status-strip {
    order: 3;
    flex: 1 0 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-block: 8px 2px;
    scrollbar-width: none;
  }
  .status-strip::-webkit-scrollbar { display: none; }
  .site-nav {
    order: 4;
    flex: 1 0 100%;
    margin-left: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .3s var(--ease), opacity .2s var(--ease);
  }
  .site-header[data-open="true"] .site-nav { max-height: 480px; opacity: 1; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 12px; }
  .site-nav__link {
    display: block;
    width: 100%;
    padding: 13px 2px;
    font-size: 1rem;
    border-bottom: 1px solid var(--hairline);
  }
  .site-nav__link::after { display: none; }
  .site-nav__link[aria-current="page"] { color: var(--violet-soft); }
}

@media (max-width: 900px) {
  .grid--12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .col-4, .col-5, .col-7, .col-8 { grid-column: span 6; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .grid--12 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .col-4, .col-5, .col-7, .col-8, .col-12 { grid-column: span 2; }
  .grid--3, .grid--2 { grid-template-columns: minmax(0, 1fr); }
  .site-footer__inner { grid-template-columns: 1fr; }
  .footer-closing__sep { display: none; }
  .footer-closing__inner { gap: 6px 18px; }
}

/* ---------- 11. 降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
  }
  .has-reveal [data-reveal] { opacity: 1 !important; transform: none !important; }
  .btn:hover, .card:hover { transform: none; }
}
