/* ============================================================
   page-home —— 首页专属样式
   ============================================================ */

.page-home {
  --home-shell-gap: clamp(20px, 4vw, 56px);
  --lane-line: rgba(199, 188, 168, .55);
}

/* ---------- 通用小节骨架 ---------- */
.page-home .section-head {
  max-width: 780px;
  margin-bottom: clamp(32px, 5vw, 64px);
}

.page-home .section-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 4.4vw, 54px);
  line-height: 1.15;
  margin: 12px 0 18px;
  color: var(--ink);
}

.page-home .section-sub {
  max-width: 36em;
}

.page-home .zone-pitch .section-title,
.page-home .zone-night .section-title,
.page-home .zone-danxia .section-title {
  color: #F4EEE2;
}

.page-home .zone-pitch .section-sub,
.page-home .zone-night .section-sub,
.page-home .zone-danxia .section-sub {
  color: rgba(244, 238, 226, .82);
}

/* ============================================================
   首屏：主场坐标
   ============================================================ */
.page-home .hero-coord {
  position: relative;
  overflow: hidden;
  background: var(--danxia-deep);
  color: var(--sand);
  padding: clamp(64px, 10vw, 140px) 0 clamp(56px, 8vw, 104px);
  isolation: isolate;
}

.page-home .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .34;
  filter: saturate(.85) contrast(1.05);
}

.page-home .hero-coord::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 90% at 12% 8%, rgba(169, 52, 28, .78) 0%, rgba(107, 31, 16, .9) 46%, rgba(13, 26, 43, .94) 100%);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 62% 100%, 0 96%);
}

.page-home .hero-topo {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  z-index: 2;
  opacity: .38;
  pointer-events: none;
}

.page-home .hero-topo path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1;
  stroke-dasharray: 2400;
  stroke-dashoffset: 0;
  animation: home-topo-draw 2400ms ease-out both;
}

.page-home .hero-topo path:nth-child(2) { animation-delay: 180ms; opacity: .75; }
.page-home .hero-topo path:nth-child(3) { animation-delay: 360ms; opacity: .5; }

@keyframes home-topo-draw {
  from { stroke-dashoffset: 2400; }
  to   { stroke-dashoffset: 0; }
}

.page-home .hero-inner {
  position: relative;
  z-index: 3;
}

.page-home .hero-flag {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: clamp(20px, 3vw, 32px);
}

.page-home .hero-flag .mono {
  font-size: 13px;
}

.page-home .hero-flag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 0 4px rgba(240, 203, 121, .18);
}

.page-home .hero-flag-sep {
  opacity: .45;
}

.page-home .hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(38px, 7.6vw, 96px);
  line-height: 1.03;
  margin: 0 0 clamp(20px, 3vw, 30px);
  max-width: 16em;
}

.page-home .hero-title em {
  font-style: normal;
  color: var(--gold-light);
}

.page-home .hero-lead {
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.8;
  max-width: 34em;
  color: rgba(244, 238, 226, .88);
  margin: 0 0 clamp(28px, 4vw, 44px);
}

.page-home .hero-figure {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(217, 164, 65, .45);
  border-bottom: 1px solid rgba(217, 164, 65, .25);
  margin-bottom: clamp(26px, 4vw, 40px);
}

.page-home .hero-figure-label {
  font-size: 13px;
  letter-spacing: .14em;
  color: rgba(244, 238, 226, .72);
  flex: 0 0 auto;
  margin-right: 8px;
}

.page-home .hero-figure-num {
  font-family: var(--font-mono);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  font-size: clamp(48px, 9vw, 132px);
  line-height: .9;
  letter-spacing: -0.04em;
  color: var(--gold);
}

.page-home .hero-figure-unit {
  font-size: clamp(18px, 2vw, 26px);
  color: var(--gold-light);
  font-family: var(--font-display);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.page-home .hero-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(244, 238, 226, .18);
  border: 1px solid rgba(244, 238, 226, .18);
}

.page-home .hero-strip li {
  background: rgba(13, 26, 43, .55);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .hero-strip .mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 30px);
  color: var(--gold-light);
  line-height: 1;
}

.page-home .hero-strip span:last-child {
  font-size: 13px;
  color: rgba(244, 238, 226, .74);
  line-height: 1.5;
}

/* ============================================================
   三条数据主线
   ============================================================ */
.page-home .lanes {
  background: var(--sand);
  position: relative;
}

.page-home .lane-switch {
  border-top: 1px solid var(--sand-line);
}

.page-home .lane-tablist {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--sand-line);
  scrollbar-width: thin;
}

.page-home .lane-tab {
  appearance: none;
  background: none;
  border: 0;
  border-left: 3px solid transparent;
  padding: 16px 20px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-display);
  color: var(--ink-mute);
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

.page-home .lane-tab:hover {
  color: var(--danxia);
  background: rgba(169, 52, 28, .05);
}

.page-home .lane-tab[aria-selected="true"] {
  color: var(--ink);
  border-left-color: var(--danxia);
  background: rgba(217, 164, 65, .14);
  box-shadow: inset 0 -2px 0 var(--gold-light);
}

.page-home .lane-tab:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: -2px;
}

.page-home .lane-tab-idx {
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
}

.page-home .lane-tab-name {
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page-home .lane-panel {
  padding: clamp(28px, 4vw, 52px) 0 0;
}

.page-home .lane-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3.5vw, 48px);
  align-items: start;
}

.page-home .lane-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.25;
  margin: 0 0 14px;
  color: var(--ink);
}

.page-home .lane-body p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 34em;
  margin: 0 0 18px;
}

.page-home .lane-points {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.page-home .lane-points li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.page-home .lane-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 1px;
  background: var(--danxia);
}

.page-home .lane-link {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--danxia);
  text-decoration: none;
  border-bottom: 1px solid var(--danxia);
  padding-bottom: 2px;
}

.page-home .lane-link:hover {
  color: var(--danxia-deep);
  border-color: var(--danxia-deep);
}

.page-home .lane-link:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.page-home .lane-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--sand-line);
  border: 1px solid var(--sand-line);
}

.page-home .metric-block {
  background: var(--pitch);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .metric-label {
  font-size: 12px;
  letter-spacing: .1em;
  color: rgba(244, 238, 226, .68);
}

.page-home .metric-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: .95;
  letter-spacing: -0.03em;
  color: var(--gold);
}

.page-home .metric-unit {
  font-size: 13px;
  color: rgba(244, 238, 226, .7);
}

.page-home .lane-figure {
  margin: clamp(40px, 6vw, 72px) 0 0;
}

.page-home .lane-figure .figure-media {
  overflow: hidden;
  background: var(--pitch);
}

.page-home .lane-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ============================================================
   焕新版电脑端
   ============================================================ */
.page-home .version {
  background: var(--pitch);
  color: var(--sand);
  position: relative;
}

.page-home .version::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--sand-line);
}

.page-home .version-grid {
  align-items: start;
}

.page-home .spec-list {
  margin: 0 0 clamp(26px, 3.5vw, 38px);
  border-top: 1px solid rgba(199, 188, 168, .3);
}

.page-home .spec-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(199, 188, 168, .3);
}

.page-home .spec-item dt {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--gold-light);
}

.page-home .spec-item dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(244, 238, 226, .9);
}

.page-home .spec-item dd .mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--gold);
}

.page-home .version-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .version-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-home .version-visual .figure {
  margin: 0;
}

.page-home .version-visual .figure-media {
  overflow: hidden;
  background: var(--night);
}

.page-home .version-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .version-visual .figure-caption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(244, 238, 226, .68);
}

.page-home .version-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .version-badges .tag {
  border: 1px solid rgba(240, 203, 121, .5);
  color: var(--gold-light);
  background: rgba(30, 91, 73, .6);
  padding: 6px 12px;
  font-size: 13px;
  border-radius: var(--radius);
}

/* ============================================================
   第 410 期裁判名单
   ============================================================ */
.page-home .issue {
  background: var(--night);
  color: var(--sand);
  position: relative;
}

.page-home .issue-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -0.04em;
}

.page-home .issue-rail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(199, 188, 168, .28);
  border: 1px solid rgba(199, 188, 168, .28);
}

.page-home .issue-card {
  background: rgba(13, 26, 43, .92);
  padding: clamp(20px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background-color 160ms ease, transform 160ms ease;
}

.page-home .issue-card:hover {
  background: rgba(30, 91, 73, .55);
  transform: translateY(-2px);
}

.page-home .issue-card-idx {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1;
  color: var(--gold);
  letter-spacing: -0.03em;
}

.page-home .issue-card-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  color: #F4EEE2;
}

.page-home .issue-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(244, 238, 226, .74);
  flex: 1 1 auto;
}

.page-home .issue-card-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(240, 203, 121, .82);
}

.page-home .issue-card--more {
  background: rgba(94, 31, 42, .78);
}

.page-home .issue-card-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 203, 121, .6);
  align-self: flex-start;
  padding-bottom: 2px;
}

.page-home .issue-card-link:hover {
  color: #fff;
  border-color: #fff;
}

.page-home .issue-card-link:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.page-home .issue-foot {
  margin: clamp(22px, 3vw, 32px) 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(244, 238, 226, .8);
}

.page-home .issue-foot a {
  color: var(--gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 203, 121, .55);
}

.page-home .issue-foot a:hover {
  color: #fff;
  border-color: #fff;
}

/* ============================================================
   谁在用天行数据
   ============================================================ */
.page-home .users {
  background: var(--sand);
}

.page-home .user-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--sand-line);
  border: 1px solid var(--sand-line);
}

.page-home .user-card {
  background: var(--sand);
  padding: clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-home .user-idx {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--danxia);
}

.page-home .user-card h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}

.page-home .user-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 32em;
}

.page-home .users-band {
  margin-top: 1px;
  background: var(--indigo);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--sand-line);
  border-top: 0;
}

.page-home .users-stat {
  background: var(--indigo);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .users-stat-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--gold-light);
}

.page-home .users-stat-label {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(244, 238, 226, .8);
}

.page-home .users-note {
  margin: clamp(22px, 3vw, 32px) 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.page-home .users-note a {
  color: var(--danxia);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--danxia);
}

.page-home .users-note a:hover {
  color: var(--danxia-deep);
  border-color: var(--danxia-deep);
}

/* ============================================================
   进入平台（收尾）
   ============================================================ */
.page-home .enter {
  position: relative;
  overflow: hidden;
  background: var(--danxia);
  color: var(--sand);
  padding-bottom: clamp(72px, 9vw, 128px);
  isolation: isolate;
}

.page-home .enter-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .enter-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .26;
}

.page-home .enter::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(169, 52, 28, .92) 0%, rgba(107, 31, 16, .96) 100%);
  clip-path: polygon(0 6%, 30% 0, 100% 5%, 100% 100%, 0 100%);
}

.page-home .enter-inner {
  position: relative;
  z-index: 2;
  padding-top: clamp(56px, 7vw, 96px);
}

.page-home .enter-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(28px, 5vw, 62px);
  line-height: 1.1;
  margin: 0 0 18px;
  color: #F4EEE2;
  max-width: 16em;
}

.page-home .enter-lead {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.8;
  color: rgba(244, 238, 226, .88);
  max-width: 34em;
  margin: 0 0 clamp(26px, 3.5vw, 38px);
}

.page-home .enter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: clamp(24px, 3vw, 34px);
}

.page-home .enter-ghost {
  color: #F4EEE2;
  border-color: rgba(244, 238, 226, .6);
}

.page-home .enter-ghost:hover {
  background: rgba(244, 238, 226, .12);
  color: #fff;
}

.page-home .enter-contact {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(244, 238, 226, .82);
  max-width: 40em;
}

.page-home .enter-contact a {
  color: var(--gold-light);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 203, 121, .6);
}

.page-home .enter-contact a:hover {
  color: #fff;
  border-color: #fff;
}

/* ============================================================
   动效降级
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .page-home .hero-topo path {
    animation: none;
    stroke-dashoffset: 0;
  }
  .page-home .issue-card:hover {
    transform: none;
  }
}

/* ============================================================
   768px 及以上
   ============================================================ */
@media (min-width: 768px) {
  .page-home .hero-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .lane-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr);
  }

  .page-home .lane-metrics {
    grid-template-columns: 1fr;
  }

  .page-home .spec-item {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 16px;
    align-items: baseline;
  }

  .page-home .issue-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .user-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .users-band {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ============================================================
   1024px 及以上
   ============================================================ */
@media (min-width: 1024px) {
  .page-home .hero-coord {
    padding-top: clamp(96px, 11vw, 168px);
    padding-bottom: clamp(72px, 8vw, 120px);
  }

  .page-home .lane-tab {
    padding: 20px 28px;
  }

  .page-home .issue-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .user-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ============================================================
   1280px 及以上 —— 数字进一步放大
   ============================================================ */
@media (min-width: 1280px) {
  .page-home .hero-title {
    font-size: clamp(72px, 6.6vw, 104px);
  }

  .page-home .hero-lead {
    max-width: 38em;
  }

  .page-home .lane-figure .figure-media {
    max-height: 520px;
  }

  .page-home .lane-figure img {
    max-height: 520px;
  }
}
