/* ============================================================
   新利看台 · /assets/site.css
   夜场看台视觉：深墨绿底 + 荧光青绿聚光 + 信号橙状态
   ============================================================ */

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }

ul, ol { padding: 0; list-style: none; }

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

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

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

/* ---------- 变量 ---------- */
:root {
  --ink: #071310;
  --panel: #121A17;
  --line: #1D3A31;
  --moss: #24483C;
  --cyan: #35E8A6;
  --orange: #FF7A2F;
  --silver: #A6B2AE;
  --white: #ECF4F1;
  --text: #D9E4E0;
  --violet: #7C5CFF;
  --noise: #2A332F;
  --shell: 1180px;
  --gutter: 20px;
  --font-sans: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Roboto Mono", "Courier New", monospace;
  --dur: 240ms;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 基础 ---------- */
body {
  position: relative;
  min-height: 100vh;
  background-color: var(--ink);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: .002em;
}

/* 转播噪点 + 灯光方向性光斑 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .55;
  background-image:
    repeating-linear-gradient(0deg, rgba(236, 244, 241, .016) 0 1px, transparent 1px 4px),
    radial-gradient(120% 80% at 10% -10%, rgba(53, 232, 166, .10), transparent 58%),
    radial-gradient(90% 60% at 100% 0%, rgba(124, 92, 255, .07), transparent 62%);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

::selection { background: var(--cyan); color: #04140E; }

.mono { font-family: var(--font-mono); letter-spacing: 0; }

.muted { color: var(--silver); }

.label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--silver);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -70px;
  z-index: 120;
  padding: 10px 16px;
  background: var(--cyan);
  color: #04140E;
  font-size: 14px;
  font-weight: 700;
  transition: top 160ms var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- 容器与网格 ---------- */
.shell,
.page-shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.page-shell { padding-top: clamp(36px, 5vw, 64px); }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
}

.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

/* ---------- 头部：双层导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 19, 16, .94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.progress { height: 3px; background: #0C1B16; overflow: hidden; }

.progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

/* 上层：品牌说明条 */
.brandbar {
  background: rgba(18, 26, 23, .62);
  border-bottom: 1px solid var(--line);
}

.brandbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
}

.brandbar__sign {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--silver);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brandbar__dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(53, 232, 166, .14);
  animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .32; }
}

.brandbar__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.countdown { display: flex; align-items: baseline; gap: 8px; }

.countdown__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--silver);
}

.countdown__digits {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  color: var(--cyan);
}

.countdown[data-urgent] .countdown__digits {
  color: var(--orange);
  animation: flash .55s steps(1, end) infinite;
}

@keyframes flash {
  50% { opacity: .22; }
}

/* 下层：栏目导航 */
.navlayer__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
}

.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.brand__mark {
  width: 30px;
  height: 30px;
  border: 2px solid var(--cyan);
  background: linear-gradient(135deg, var(--cyan) 0 50%, transparent 50% 100%);
}

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

.brand__name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--white);
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--silver);
}

.nav { margin-left: auto; }

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

.nav__item--cta { margin-left: 10px; }

.nav__link {
  position: relative;
  display: block;
  padding: 10px 12px;
  font-size: 15px;
  color: var(--silver);
  border-bottom: 2px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.nav__link:hover { color: var(--white); border-bottom-color: var(--moss); }

.nav__link[aria-current="page"] {
  color: var(--white);
  border-bottom-color: var(--cyan);
}

.nav__cta {
  display: inline-block;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #04140E;
  background: var(--cyan);
  border: 2px solid var(--cyan);
  box-shadow: 4px 4px 0 0 rgba(53, 232, 166, .16);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.nav__cta:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 0 rgba(255, 122, 47, .34);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 9px 12px;
  border: 2px solid var(--line);
  color: var(--white);
  transition: border-color var(--dur) var(--ease);
}

.nav-toggle__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--silver);
}

.nav-toggle__bars { display: flex; flex-direction: column; gap: 4px; width: 20px; }

.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: var(--cyan);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.site-header[data-open] .nav-toggle { border-color: var(--cyan); }
.site-header[data-open] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-scrim { display: none; }

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 104px);
  background: linear-gradient(180deg, #0A1714 0%, var(--ink) 100%);
  border-top: 1px solid var(--line);
}

/* 页脚顶沿的轮次刻度条 */
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background-image: repeating-linear-gradient(90deg, var(--cyan) 0 2px, transparent 2px 14px);
  opacity: .5;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px 28px;
  padding-top: clamp(44px, 6vw, 68px);
  padding-bottom: 40px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  max-width: 36ch;
}

.footer__name {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--white);
}

.footer__desc { font-size: 14px; line-height: 1.7; color: var(--silver); }

.footer__col-title {
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--orange);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14px;
  color: var(--silver);
}

.footer__link {
  padding-bottom: 1px;
  color: var(--silver);
  border-bottom: 1px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.footer__link:hover { color: var(--cyan); border-bottom-color: var(--cyan); }

.footer__contact {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.footer__contact-item { display: flex; flex-direction: column; gap: 6px; }

.footer__contact-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--silver);
}

.footer__contact-value { font-size: 14px; line-height: 1.6; color: var(--white); }

.footer__contact-value--mono {
  font-family: var(--font-mono);
  letter-spacing: 0;
  color: var(--cyan);
  word-break: break-all;
}

.footer__contact-note { font-size: 13px; line-height: 1.7; color: var(--silver); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 20px;
  padding-bottom: 32px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--silver);
}

.footer__copy { margin: 0; }

.footer__legal {
  font-family: var(--font-mono);
  letter-spacing: .02em;
  color: var(--silver);
}

.footer__barlinks { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- 通用组件 ---------- */
.tag {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.tag--cyan { color: var(--cyan); }
.tag--orange { color: var(--orange); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--white);
  border: 2px solid var(--moss);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease),
    background-color var(--dur) var(--ease), transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.btn:hover { color: var(--cyan); border-color: var(--cyan); }

.btn--primary {
  color: #04140E;
  background: var(--cyan);
  border-color: var(--cyan);
  font-weight: 700;
  box-shadow: 6px 6px 0 0 rgba(53, 232, 166, .18);
}

.btn--primary:hover {
  color: #04140E;
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 0 rgba(255, 122, 47, .32);
}

.btn--ghost { color: var(--silver); border-color: var(--line); }
.btn--ghost:hover { color: var(--white); border-color: var(--cyan); }

.breadcrumbs { padding-block: 18px; font-size: 13px; color: var(--silver); }

.breadcrumbs__list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.breadcrumbs__item { display: flex; align-items: center; gap: 8px; }

.breadcrumbs__sep { color: var(--line); }

.breadcrumbs__link { color: var(--silver); border-bottom: 1px solid transparent; }

.breadcrumbs__link:hover { color: var(--cyan); border-bottom-color: var(--cyan); }

.breadcrumbs [aria-current="page"] { color: var(--white); }

.section { margin-bottom: clamp(48px, 6vw, 72px); }
.section:last-child { margin-bottom: 0; }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before { content: ""; width: 14px; height: 2px; background: var(--cyan); }

.section__title {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--white);
}

.display {
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.02em;
  color: var(--white);
}

.lede {
  max-width: 62ch;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.7;
  color: var(--silver);
}

.panel {
  position: relative;
  padding: clamp(20px, 2.6vw, 32px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--moss);
  box-shadow: 10px 10px 0 0 #04100C;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.panel:hover {
  transform: translateY(-4px);
  border-left-color: var(--cyan);
  box-shadow: 12px 12px 0 0 #04100C;
}

.panel--offset-a { margin-left: -16px; }
.panel--offset-b { margin-left: 24px; }

.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.panel__title {
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

.panel__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--silver);
  white-space: nowrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1;
  color: var(--cyan);
}

.stat__label { font-size: 13px; color: var(--silver); }

.rule { height: 1px; margin: 32px 0; border: 0; background: var(--line); }

.tickline {
  height: 6px;
  background-image: repeating-linear-gradient(90deg, var(--moss) 0 2px, transparent 2px 12px);
}

.prose { max-width: 68ch; }
.prose > * + * { margin-top: 18px; }

.prose h2 {
  margin-top: 36px;
  font-size: clamp(20px, 2.4vw, 24px);
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--white);
}

.prose h3 { font-size: 19px; line-height: 1.35; color: var(--white); }

.prose ul,
.prose ol { display: flex; flex-direction: column; gap: 10px; }

.prose li { position: relative; padding-left: 18px; }

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 6px;
  height: 2px;
  background: var(--cyan);
}

.prose a { color: var(--cyan); border-bottom: 1px solid rgba(53, 232, 166, .4); }
.prose a:hover { border-bottom-color: var(--cyan); }
.prose strong { color: var(--white); }

/* 图片占位容器：供页面阶段放置资源 */
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: linear-gradient(140deg, #0C1A16 0%, #152722 55%, #0B1A15 100%);
}

.media--wide { aspect-ratio: 21 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--tall { aspect-ratio: 3 / 4; }

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

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(236, 244, 241, .028) 0 1px, transparent 1px 4px),
    radial-gradient(80% 60% at 18% 0%, rgba(53, 232, 166, .14), transparent 62%),
    linear-gradient(180deg, transparent 52%, rgba(4, 10, 8, .78) 100%);
}

.media__caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--silver);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gutter);
}

/* ---------- 入场显现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
  transition-delay: var(--d, 0ms);
}

[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- 平板与移动 ---------- */
@media (max-width: 1120px) and (min-width: 1001px) {
  .nav__link { padding: 10px 9px; font-size: 14px; }
  .nav__cta { padding: 9px 12px; font-size: 13px; }
  .navlayer__inner { gap: 16px; }
}

@media (max-width: 1000px) {
  .col-4,
  .col-6,
  .col-8 { grid-column: 1 / -1; }

  .panel--offset-a,
  .panel--offset-b { margin-left: 0; }

  .brandbar__inner { min-height: 44px; }
  .brandbar__sign { font-size: 11px; }

  .navlayer__inner { gap: 12px; min-height: 60px; }

  .nav-toggle { display: flex; }

  /* 移动端：底部轮次滑轨 */
  .nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    margin: 0;
    max-height: 76vh;
    overflow: hidden;
    background: var(--panel);
    border-top: 3px solid var(--cyan);
    padding: 14px 14px calc(14px + env(safe-area-inset-bottom, 0px));
    transform: translateY(calc(100% + 24px));
    transition: transform var(--dur) var(--ease);
  }

  .nav[data-open],
  .site-header[data-open] .nav { transform: translateY(0); }

  .nav__list {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    counter-reset: rail;
  }

  .nav__item { scroll-snap-align: start; counter-increment: rail; }

  .nav__link {
    min-width: 128px;
    padding: 12px 14px;
    background: #0D1A16;
    border: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    color: var(--white);
  }

  .nav__link::before {
    content: counter(rail, decimal-leading-zero);
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .16em;
    color: var(--cyan);
  }

  .nav__link:hover { border-color: var(--moss); }

  .nav__link[aria-current="page"] {
    background: #102420;
    border-color: var(--cyan);
  }

  .nav__item--cta { margin-left: 8px; }

  .nav__cta {
    display: block;
    min-width: 156px;
    padding: 14px 16px;
    text-align: center;
  }

  .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 75;
    background: rgba(4, 10, 8, .74);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur) var(--ease);
  }

  .site-header[data-open] .nav-scrim { opacity: 1; pointer-events: auto; }

  body.is-nav-open { overflow: hidden; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; max-width: none; }
  .footer__contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  body { font-size: 16px; }

  .brandbar__meta .tag { display: none; }
  .nav-toggle__label { display: none; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__contact { grid-template-columns: 1fr; }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

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