.page-home {
  --home-band-h: 2px;
  --home-shadow: 0 24px 60px -32px rgba(0, 0, 0, .85);
  --home-radius-clip: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  padding: clamp(28px, 6vw, 72px) 0 clamp(40px, 7vw, 88px);
  overflow: hidden;
}

.page-home .hero__grid {
  display: grid;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}

.page-home .hero__copy {
  min-width: 0;
}

.page-home .breadcrumb {
  margin-bottom: clamp(14px, 2.4vw, 26px);
}

.page-home .hero__kicker {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lime);
}

.page-home .hero__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(38px, 7.4vw, 84px);
  line-height: .98;
  letter-spacing: -.02em;
  color: var(--white);
}

.page-home .hero__lede {
  margin: 0 0 clamp(22px, 3.4vw, 34px);
  max-width: 38em;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.78;
  color: var(--text);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(26px, 4vw, 42px);
}

.page-home .hero__facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.page-home .hero__fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-home .hero__fact dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--text);
  opacity: .7;
}

.page-home .hero__fact dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--white);
}

/* 首屏右侧视觉 */
.page-home .hero__visual {
  position: relative;
  min-height: clamp(320px, 62vw, 520px);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(155deg, rgba(12, 27, 51, .95) 0%, rgba(6, 23, 15, .98) 62%, rgba(16, 36, 28, .95) 100%);
  isolation: isolate;
}

.page-home .hero__shot {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 1;
}

.page-home .hero__shot img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(.7) brightness(.48) contrast(1.05);
}

.page-home .stand {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.page-home .stand__grid,
.page-home .stand__lights,
.page-home .stand__beam {
  position: absolute;
  inset: -12%;
}

.page-home .stand__grid {
  background-image:
    repeating-linear-gradient(0deg, rgba(42, 59, 82, .85) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(90deg, rgba(42, 59, 82, .55) 0 1px, transparent 1px 38px);
  transform: perspective(680px) rotateX(52deg) rotateZ(-7deg);
  transform-origin: 50% 100%;
  opacity: .75;
}

.page-home .stand__lights {
  background-image: radial-gradient(circle, rgba(198, 255, 74, .95) 0 1.5px, transparent 1.9px);
  background-size: 32px 32px;
  background-position: 6px 10px;
  opacity: .35;
  mix-blend-mode: screen;
}

.page-home .stand__beam {
  background: linear-gradient(200deg, rgba(243, 178, 63, .22) 0%, transparent 42%, rgba(63, 208, 142, .16) 100%);
  mix-blend-mode: screen;
}

.page-home .board {
  position: absolute;
  right: clamp(10px, 3%, 26px);
  bottom: clamp(12px, 5%, 34px);
  z-index: 3;
  padding: 14px 20px;
  text-align: right;
  border-radius: var(--r-md);
  border: 1px solid rgba(198, 255, 74, .38);
  background: linear-gradient(165deg, rgba(12, 27, 51, .94), rgba(6, 23, 15, .96));
  box-shadow: var(--home-shadow);
}

.page-home .board__cap {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--text);
}

.page-home .board__num {
  margin: 2px 0 0;
  font-family: var(--font-mono);
  font-size: clamp(40px, 8vw, 68px);
  line-height: .95;
  letter-spacing: .02em;
  color: var(--lime);
}

.page-home .board__unit {
  margin: 2px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--gold);
}

/* ---------- 转场色带 ---------- */
.page-home .home-band {
  height: var(--home-band-h);
  margin: 0 var(--gutter);
  background: linear-gradient(90deg, transparent, rgba(198, 255, 74, .55) 28%, rgba(243, 178, 63, .5) 68%, transparent);
}

/* ---------- 章节头 ---------- */
.page-home .sec-head {
  margin-bottom: clamp(24px, 4vw, 44px);
}

.page-home .sec-index {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(56px, 11vw, 108px);
  line-height: .82;
  letter-spacing: -.04em;
  color: rgba(169, 198, 188, .22);
}

.page-home .sec-kicker {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lime);
}

.page-home .sec-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 4.4vw, 50px);
  line-height: 1.06;
  letter-spacing: -.015em;
  color: var(--white);
}

.page-home .sec-desc {
  margin: 0;
  max-width: 44em;
  font-size: 16px;
  line-height: 1.78;
  color: var(--text);
}

.page-home .section--alt {
  background: linear-gradient(180deg, rgba(12, 27, 51, .55), rgba(12, 27, 51, 0));
}

.page-home .prose {
  max-width: 38em;
  font-size: 16px;
  line-height: 1.78;
  color: var(--text);
}

/* ---------- 01 赛事节奏 ---------- */
.page-home .rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 78%);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 18px;
  margin: 0 -4px;
  -webkit-overflow-scrolling: touch;
}

.page-home .rail__day {
  scroll-snap-align: start;
  position: relative;
  padding: 22px 20px 24px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  background: linear-gradient(170deg, rgba(16, 36, 28, .95), rgba(6, 23, 15, .9));
}

.page-home .rail__day::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--lime), rgba(198, 255, 74, 0));
}

.page-home .rail__label {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--white);
}

.page-home .rail__tag {
  display: inline-block;
  margin: 0 0 10px;
}

.page-home .rail__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

.page-home .week-figure {
  margin: clamp(26px, 4vw, 44px) 0 0;
}

.page-home .week-figure img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .week-figure__cap {
  margin: 12px 0 0;
  max-width: 40em;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .02em;
  color: var(--text);
  opacity: .85;
}

/* ---------- 02 数据面板 ---------- */
.page-home .home-stats {
  gap: 14px;
}

.page-home .home-stat {
  position: relative;
  padding: 22px 20px 30px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  background: linear-gradient(165deg, rgba(16, 36, 28, .96), rgba(6, 23, 15, .9));
  transition: border-color .28s var(--ease), transform .28s var(--ease);
}

.page-home .home-stat:hover,
.page-home .home-stat:focus-visible {
  border-color: rgba(198, 255, 74, .45);
  transform: translateY(-3px);
}

.page-home .home-stat .stat__value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(34px, 6vw, 54px);
  line-height: 1;
  letter-spacing: .02em;
  color: var(--lime);
}

.page-home .home-stat .stat__label {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
}

.page-home .home-stat__hint {
  position: absolute;
  left: 20px;
  bottom: 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--gold);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .26s var(--ease), transform .26s var(--ease);
}

.page-home .home-stat:hover .home-stat__hint,
.page-home .home-stat:focus-visible .home-stat__hint {
  opacity: 1;
  transform: translateY(0);
}

.page-home .home-stats__note {
  margin: clamp(22px, 3.4vw, 34px) 0 0;
}

/* ---------- 03 两端差异 ---------- */
.page-home .duo {
  display: grid;
  gap: 18px;
}

.page-home .duo__card {
  position: relative;
  padding: clamp(26px, 4vw, 42px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-soft);
  background: linear-gradient(160deg, rgba(16, 36, 28, .96), rgba(6, 23, 15, .92));
  overflow: hidden;
}

.page-home .duo__card::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 255, 74, .16), transparent 68%);
  pointer-events: none;
}

.page-home .duo__card--desk {
  clip-path: polygon(0 0, 100% 3.5%, 100% 100%, 0 96.5%);
}

.page-home .duo__card--mobile {
  clip-path: polygon(0 3.5%, 100% 0, 100% 96.5%, 0 100%);
}

.page-home .duo__kicker {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--lime);
}

.page-home .duo__card--mobile .duo__kicker {
  color: var(--gold);
}

.page-home .duo__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(21px, 3vw, 30px);
  line-height: 1.15;
  color: var(--white);
}

.page-home .duo__text {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.78;
  color: var(--text);
}

.page-home .duo__list {
  margin: 0;
  padding: 16px 0 0;
  list-style: none;
  border-top: 1px solid var(--line-soft);
}

.page-home .duo__list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.68;
  color: var(--text);
}

.page-home .duo__list li:last-child {
  margin-bottom: 0;
}

.page-home .duo__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--lime);
}

.page-home .duo__card--mobile .duo__list li::before {
  background: var(--gold);
}

.page-home .device-figure {
  margin: clamp(26px, 4vw, 46px) 0 0;
  max-width: 480px;
}

.page-home .device-figure img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

@media (min-width: 900px) {
  .page-home .device-figure {
    margin-left: auto;
  }
}

/* ---------- 04 面板与资源 ---------- */
.page-home .home-panels {
  display: grid;
  gap: clamp(28px, 4.4vw, 56px);
  align-items: start;
}

.page-home .home-panels__board {
  padding: clamp(22px, 3.2vw, 34px);
}

.page-home .home-panels__board-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--white);
}

.page-home .home-panels__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.page-home .home-panels__list li {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.page-home .home-panels__list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.page-home .home-panels__name {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--gold);
}

.page-home .home-panels__desc {
  font-size: 14px;
  line-height: 1.68;
  color: var(--text);
}

.page-home .home-panels__copy .btn {
  margin-top: clamp(20px, 3vw, 30px);
}

/* ---------- 05 本地看台 ---------- */
.page-home .local {
  display: grid;
  gap: clamp(26px, 4vw, 52px);
  align-items: center;
}

.page-home .local__figure {
  margin: 0;
}

.page-home .local__figure img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- 06 三条路径 ---------- */
.page-home .paths {
  display: grid;
  gap: 16px;
}

.page-home .path {
  position: relative;
  display: block;
  padding: clamp(24px, 3.4vw, 36px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-soft);
  background: linear-gradient(155deg, rgba(16, 36, 28, .95), rgba(6, 23, 15, .9));
  text-decoration: none;
  transition: border-color .28s var(--ease), transform .28s var(--ease);
}

.page-home .path:hover,
.page-home .path:focus-visible {
  border-color: rgba(198, 255, 74, .5);
  transform: translateY(-3px);
}

.page-home .path__num {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--lime);
}

.page-home .path__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(19px, 2.4vw, 24px);
  color: var(--white);
}

.page-home .path__text {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--text);
}

.page-home .path__go {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--gold);
  border-bottom: 1px solid rgba(243, 178, 63, .45);
  padding-bottom: 2px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .hero__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .page-home .rail {
    grid-auto-columns: minmax(240px, 46%);
  }

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

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

@media (min-width: 900px) {
  .page-home .hero__grid {
    grid-template-columns: 5fr 7fr;
    align-items: center;
  }

  .page-home .hero__visual {
    min-height: 540px;
  }

  .page-home .rail {
    grid-auto-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .page-home .duo {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .page-home .home-panels {
    grid-template-columns: 4fr 8fr;
  }

  .page-home .local {
    grid-template-columns: 7fr 5fr;
  }

  .page-home .local__copy .sec-head {
    margin-bottom: 20px;
  }

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

@media (min-width: 1000px) {
  .page-home .sec-head {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    grid-template-areas:
      "index kicker"
      "index title"
      "index desc";
    column-gap: 30px;
    align-items: start;
  }

  .page-home .sec-index {
    grid-area: index;
    position: sticky;
    top: 108px;
  }

  .page-home .sec-kicker {
    grid-area: kicker;
  }

  .page-home .sec-title {
    grid-area: title;
  }

  .page-home .sec-desc {
    grid-area: desc;
  }

  .page-home .home-stat {
    padding: 26px 24px 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-stat,
  .page-home .path {
    transition: none;
  }

  .page-home .home-stat:hover,
  .page-home .home-stat:focus-visible,
  .page-home .path:hover,
  .page-home .path:focus-visible {
    transform: none;
  }
}
