.page-home {
  --home-cut: 40px;
  --home-pad-y: clamp(56px, 8vw, 104px);
  background: var(--void);
  color: var(--ice);
  font-family: var(--font-sans);
  position: relative;
}

.page-home .container {
  width: 100%;
  max-width: var(--shell-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.page-home .section {
  position: relative;
  padding-block: var(--home-pad-y);
  scroll-margin-top: 104px;
}

.page-home .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cyan);
  margin: 0;
}

.page-home .display-title {
  font-size: clamp(26px, 4.1vw, 44px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 10px 0 0;
  color: var(--ice);
}

.page-home .section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 36px;
  margin-bottom: clamp(26px, 4vw, 46px);
}

.page-home .section-head-main {
  max-width: 22em;
}

.page-home .section-note {
  max-width: 40ch;
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--steel);
}

/* ---------- HERO ---------- */
.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(104px, 15vh, 172px) clamp(56px, 8vw, 92px);
  border-radius: 0 0 var(--radius-l) var(--radius-l);
}

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

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

.page-home .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(116deg, rgba(5, 11, 24, 0.94) 0%, rgba(5, 11, 24, 0.42) 52%, rgba(5, 11, 24, 0.92) 100%),
    linear-gradient(180deg, rgba(5, 11, 24, 0.5) 0%, rgba(5, 11, 24, 0.72) 62%, var(--void) 100%);
}

.page-home .hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.09) 1px, transparent 1px);
  background-size: 64px 64px;
  clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.15), #000 32%, #000 68%, transparent 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.15), #000 32%, #000 68%, transparent 100%);
  pointer-events: none;
}

.page-home .hero-inner {
  position: relative;
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  max-width: var(--shell-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  grid-template-areas:
    "crumb"
    "main"
    "board";
}

.page-home .hero-crumb {
  grid-area: crumb;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  opacity: 0.85;
}

.page-home .hero-main {
  grid-area: main;
}

.page-home .hero-title {
  margin: 14px 0 0;
  font-size: clamp(38px, 7.4vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 900;
  color: var(--ice);
  text-wrap: balance;
}

.page-home .hero-title em {
  display: inline-block;
  font-style: normal;
  color: var(--cyan);
  -webkit-text-stroke: 1px var(--cyan);
  text-shadow: 0 0 42px rgba(0, 229, 255, 0.45);
}

.page-home .hero-lead {
  max-width: 46ch;
  margin: 22px 0 0;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.85;
  color: rgba(232, 241, 255, 0.8);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.page-home .hero-board {
  grid-area: board;
  padding: 22px 20px 18px;
  border-radius: var(--radius-l);
  border: 1px solid rgba(0, 229, 255, 0.24);
  background: linear-gradient(158deg, rgba(10, 22, 48, 0.95), rgba(34, 26, 74, 0.7));
  box-shadow: var(--shadow-panel), 0 0 70px -34px rgba(0, 229, 255, 0.9);
  backdrop-filter: blur(12px);
}

.page-home .hero-board-kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--steel);
}

.page-home .hero-board-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
}

.page-home .hero-board-list li {
  display: grid;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
}

.page-home .hero-board-num {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1;
  font-weight: 700;
  color: var(--cyan);
}

.page-home .hero-board-label {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--steel);
}

.page-home .hero-board-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  line-height: 1.65;
  color: rgba(232, 241, 255, 0.66);
}

/* ---------- CHAPTER BAR ---------- */
.page-home .chapter-bar {
  position: sticky;
  top: 72px;
  z-index: 40;
  background: rgba(5, 11, 24, 0.9);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  backdrop-filter: blur(12px);
}

.page-home .chapter-bar-inner {
  display: flex;
  gap: 8px;
  max-width: var(--shell-w);
  margin-inline: auto;
  padding: 10px var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
}

.page-home .chapter-bar-inner::-webkit-scrollbar {
  display: none;
}

.page-home .chapter-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 14px;
  line-height: 1.2;
  color: var(--steel);
  text-decoration: none;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.page-home .chapter-idx {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(0, 229, 255, 0.62);
}

.page-home .chapter-link:hover {
  color: var(--ice);
  background: rgba(30, 51, 88, 0.55);
}

.page-home .chapter-link.is-active {
  color: var(--void);
  background: var(--cyan);
  border-color: var(--cyan);
}

.page-home .chapter-link.is-active .chapter-idx {
  color: rgba(5, 11, 24, 0.62);
}

.page-home .chapter-link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* ---------- 01 节奏 ---------- */
.page-home .sec-rhythm {
  background: linear-gradient(180deg, var(--teal-zone), #0b2030);
  border-radius: var(--radius-l);
  margin: clamp(24px, 4vw, 46px) clamp(10px, 2vw, 26px) 0;
}

.page-home .rhythm-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.page-home .rhythm-card {
  position: relative;
  padding: 20px 18px 22px;
  border: 1px solid rgba(0, 229, 255, 0.16);
  border-radius: var(--radius-m);
  background: rgba(5, 11, 24, 0.46);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-home .rhythm-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.55);
  box-shadow: 0 20px 42px -30px rgba(0, 229, 255, 0.95);
}

.page-home .rhythm-idx {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.page-home .rhythm-card .panel-title {
  margin: 10px 0 8px;
  font-size: 16.5px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--ice);
}

.page-home .rhythm-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: rgba(232, 241, 255, 0.7);
}

.page-home .rhythm-chart {
  margin: clamp(26px, 4vw, 40px) 0 0;
}

.page-home .rhythm-chart svg {
  display: block;
  width: 100%;
  height: clamp(72px, 12vw, 120px);
}

.page-home .chart-line {
  stroke: var(--cyan);
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.7));
}

.page-home .chart-dot {
  fill: var(--void);
  stroke: var(--cyan);
  stroke-width: 2;
}

.page-home .chart-dot--hot {
  fill: var(--green);
  stroke: var(--green);
  filter: drop-shadow(0 0 10px rgba(82, 255, 184, 0.85));
}

.page-home .rhythm-chart .media-caption {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--steel);
}

/* ---------- 02 数字 ---------- */
.page-home .figures-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.page-home .figure-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
}

.page-home .figure-item {
  display: grid;
  grid-template-columns: minmax(96px, 0.85fr) minmax(0, 1.7fr);
  align-items: center;
  gap: 8px 20px;
  padding: clamp(14px, 2vw, 20px) 0;
  border-bottom: 1px solid var(--hairline);
}

.page-home .figure-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0;
}

.page-home .figure-num {
  font-family: var(--font-mono);
  font-size: clamp(44px, 7.2vw, 84px);
  line-height: 0.9;
  font-weight: 700;
  color: var(--ice);
  text-shadow: 0 0 40px rgba(0, 229, 255, 0.35);
}

.page-home .figure-num--wide {
  font-size: clamp(34px, 5.4vw, 62px);
  color: var(--green);
}

.page-home .figure-unit {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
}

.page-home .figure-label {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: rgba(232, 241, 255, 0.74);
}

.page-home .figures-media img {
  border-radius: var(--radius-l);
}

.page-home .figure-mini {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(26px, 4vw, 44px);
}

.page-home .mini-stat {
  display: grid;
  gap: 6px;
  padding: 16px 16px 18px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-m);
  background: var(--deck);
}

.page-home .mini-stat-num {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1;
  color: var(--violet);
}

.page-home .mini-stat-label {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--steel);
}

.page-home .figures-note {
  margin: clamp(20px, 3vw, 30px) 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--steel);
}

.page-home .figures-note a,
.page-home .devices-note a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 255, 0.45);
}

.page-home .figures-note a:hover,
.page-home .devices-note a:hover {
  border-bottom-color: var(--cyan);
}

/* ---------- 03 重点场次 ---------- */
.page-home .sec-highlights {
  background: var(--deck);
  border-radius: var(--radius-l);
  margin-inline: clamp(10px, 2vw, 26px);
}

.page-home .timeline {
  list-style: none;
  position: relative;
  margin: 0;
  padding: 0;
  max-width: 860px;
}

.page-home .timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), rgba(0, 229, 255, 0.05));
}

.page-home .timeline-item {
  position: relative;
  padding: 0 0 clamp(26px, 3.6vw, 38px) 34px;
}

.page-home .timeline-item:last-child {
  padding-bottom: 0;
}

.page-home .timeline-item::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--void);
  border: 2px solid var(--cyan);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.85);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.page-home .timeline-item:hover::before {
  transform: scale(1.28);
  box-shadow: 0 0 20px rgba(0, 229, 255, 1);
}

.page-home .timeline-round {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.page-home .timeline-title {
  margin: 0 0 8px;
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.4;
  font-weight: 700;
  color: var(--ice);
}

.page-home .timeline-body p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(232, 241, 255, 0.72);
}

.page-home .timeline-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
}

/* ---------- 04 积分与球员 ---------- */
.page-home .compare-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}

.page-home .compare-panel {
  padding: clamp(18px, 2.6vw, 26px);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-l);
  background: linear-gradient(160deg, rgba(10, 22, 48, 0.96), rgba(15, 42, 58, 0.6));
  box-shadow: var(--shadow-panel);
}

.page-home .compare-panel .panel-title {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ice);
}

.page-home .compare-table-scroll {
  overflow-x: auto;
}

.page-home .compare-table {
  width: 100%;
  min-width: 380px;
  border-collapse: collapse;
}

.page-home .compare-table th,
.page-home .compare-table td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid var(--hairline);
  font-size: 14px;
}

.page-home .compare-table thead th {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--steel);
  border-bottom-color: rgba(0, 229, 255, 0.35);
}

.page-home .compare-table tbody th {
  font-weight: 600;
  color: var(--ice);
}

.page-home .compare-table td {
  font-family: var(--font-mono);
  color: var(--ice);
}

.page-home .compare-table tbody tr:hover th,
.page-home .compare-table tbody tr:hover td {
  background: rgba(0, 229, 255, 0.06);
}

.page-home .compare-panel .panel-note {
  margin: 16px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--steel);
}

.page-home .compare-media img {
  border-radius: var(--radius-l);
}

.page-home .player-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(22px, 3vw, 34px);
}

.page-home .player-card {
  padding: 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-m);
  background: var(--deck);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.page-home .player-card:hover {
  transform: translateY(-3px);
  border-color: rgba(123, 92, 255, 0.6);
}

.page-home .player-card-key {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--violet);
}

.page-home .player-card-text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(232, 241, 255, 0.72);
}

/* ---------- 05 换屏 ---------- */
.page-home .sec-devices {
  background: linear-gradient(170deg, var(--indigo-zone), #150f2e);
  border-radius: var(--radius-l);
  margin-inline: clamp(10px, 2vw, 26px);
}

.page-home .devices-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 46px);
  align-items: center;
}

.page-home .devices-lead {
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(232, 241, 255, 0.76);
}

.page-home .devices-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.page-home .devices-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(232, 241, 255, 0.78);
}

.page-home .devices-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--green);
  box-shadow: 0 0 10px rgba(82, 255, 184, 0.8);
}

.page-home .devices-note {
  margin: 20px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--steel);
}

.page-home .devices-media img {
  border-radius: var(--radius-l);
  border: 1px solid rgba(123, 92, 255, 0.35);
}

/* ---------- CTA ---------- */
.page-home .cta-final {
  padding-bottom: clamp(64px, 9vw, 112px);
}

.page-home .cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 5vw, 62px);
  border-radius: calc(var(--radius-l) + 8px);
  border: 1px solid rgba(123, 92, 255, 0.4);
  background:
    radial-gradient(120% 140% at 10% 0%, rgba(123, 92, 255, 0.36), transparent 62%),
    radial-gradient(90% 120% at 92% 100%, rgba(0, 229, 255, 0.2), transparent 60%),
    linear-gradient(150deg, #0d1a3a, #211a4d 62%, #0a1630);
}

.page-home .cta-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent);
}

.page-home .cta-title {
  margin: 12px 0 0;
  font-size: clamp(26px, 4.2vw, 46px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ice);
}

.page-home .cta-lead {
  max-width: 46ch;
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(232, 241, 255, 0.78);
}

.page-home .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-home .cta-meta {
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(232, 241, 255, 0.12);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--steel);
}

/* ---------- 媒体与工具 ---------- */
.page-home .media-frame {
  margin: 0;
}

.page-home .media-frame img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .media-caption {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--steel);
}

.page-home .visually-hidden-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 响应式 ---------- */
@media (min-width: 620px) {
  .page-home .rhythm-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 900px) {
  .page-home .hero-inner {
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.85fr);
    grid-template-areas:
      "crumb crumb"
      "main board";
    align-items: end;
  }

  .page-home .figures-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.85fr);
  }

  .page-home .compare-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  }

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

  .page-home .devices-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }
}

@media (min-width: 1000px) {
  .page-home .rhythm-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 519px) {
  .page-home .hero-board {
    padding: 18px 16px 16px;
  }

  .page-home .hero-board-num {
    font-size: 21px;
  }

  .page-home .hero-board-label {
    font-size: 11px;
  }

  .page-home .figure-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .page-home .chapter-bar {
    top: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .rhythm-card,
  .page-home .player-card,
  .page-home .timeline-item::before {
    transition: none;
  }
}
