/* ==========================================================
   首页 · page-home
   ========================================================== */

.page-home {
  background: var(--night);
  color: var(--ice);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-home > section {
  position: relative;
  padding: clamp(56px, 8vw, 120px) var(--rail);
}

.page-home .kicker {
  color: var(--cyan);
}

.page-home h2 {
  margin: 10px 0 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ice);
}

.page-home h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.3;
  color: var(--ice);
}

.page-home p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--mist);
}

@media (min-width: 760px) {
  .page-home p {
    font-size: 17px;
  }
}

.page-home .stat-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 1.35em;
  line-height: 1;
  color: var(--cyan);
}

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

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

/* ---------- 首屏 ---------- */

.page-home .hero {
  padding: calc(var(--header-h) + clamp(36px, 7vw, 88px)) var(--rail) clamp(56px, 9vw, 112px);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(34, 224, 200, 0.14), transparent 58%),
    radial-gradient(90% 70% at 6% 96%, rgba(255, 106, 43, 0.10), transparent 62%),
    var(--night);
}

.page-home .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
  filter: saturate(0.55) contrast(1.08);
  pointer-events: none;
}

.page-home .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(5, 11, 26, 0.96) 0%, rgba(5, 11, 26, 0.82) 44%, rgba(5, 11, 26, 0.38) 100%);
  pointer-events: none;
}

.page-home .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(36px, 5vw, 64px);
}

.page-home .hero-lead {
  position: relative;
}

.page-home .page-context {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 clamp(18px, 3vw, 30px);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--mist);
}

.page-home .hero-title {
  margin: 0 0 clamp(20px, 3vw, 32px);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 9.5vw, 142px);
  line-height: 0.94;
  letter-spacing: -0.03em;
  color: var(--white);
}

.page-home .hero-sub {
  max-width: 44ch;
  margin-bottom: clamp(24px, 3vw, 34px);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.8;
  color: var(--ice);
}

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

.page-home .hero-anno {
  display: none;
}

/* ---------- 比分卡瀑布 ---------- */

.page-home .score-cascade {
  display: grid;
  gap: clamp(14px, 2vw, 20px);
}

.page-home .score-card {
  position: relative;
  padding: clamp(16px, 2.2vw, 26px);
  background: var(--panel);
  border-left: 2px solid var(--steel);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-home .score-card:hover {
  transform: translateY(-3px);
}

.page-home .score-card--lead {
  background: linear-gradient(135deg, var(--panel) 0%, #0F1D3D 100%);
  border-left-color: var(--cyan);
}

.page-home .score-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.page-home .score-card-league {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.page-home .score-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 6px 0;
  color: var(--ice);
}

.page-home .team {
  font-size: clamp(15px, 1.7vw, 20px);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.page-home .score-card .score {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 1;
  font-size: clamp(26px, 3.4vw, 44px);
  color: var(--ice);
  transition: color var(--dur) var(--ease);
}

.page-home .score-card--lead .score {
  font-size: clamp(34px, 4.6vw, 60px);
}

.page-home .score-card .score--accent {
  color: var(--cyan);
}

.page-home .score-card-meta {
  margin: 12px 0 0;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.page-home .score-card-more {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--steel);
}

.page-home .score-card-more summary {
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.page-home .score-card-more summary::-webkit-details-marker {
  display: none;
}

.page-home .score-card-more ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mist);
}

/* ---------- 两屏看完一轮 ---------- */

.page-home .spread {
  background: linear-gradient(180deg, var(--night) 0%, #071021 100%);
}

.page-home .trail {
  position: absolute;
  right: 0;
  bottom: clamp(12px, 3vw, 40px);
  width: min(760px, 72%);
  height: auto;
  color: var(--cyan-deep);
  opacity: 0.4;
  pointer-events: none;
}

.page-home .spread-grid,
.page-home .device-strip {
  position: relative;
  z-index: 1;
}

.page-home .spread-grid {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
}

.page-home .fact-list {
  margin: clamp(22px, 3vw, 34px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.page-home .fact-list li {
  padding-left: 18px;
  border-left: 2px solid var(--cyan);
  font-size: 15px;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .annotation {
  display: block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--mist);
}

.page-home .device-strip {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(44px, 7vw, 96px);
  align-items: center;
}

/* ---------- 联赛导航带 ---------- */

.page-home .section-head {
  max-width: 62ch;
}

.page-home .league-rail {
  display: flex;
  gap: clamp(12px, 1.6vw, 18px);
  margin-top: clamp(26px, 4vw, 44px);
  padding: 6px 2px 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--steel) var(--carbon);
  -webkit-overflow-scrolling: touch;
}

.page-home .league-rail::-webkit-scrollbar {
  height: 6px;
}

.page-home .league-rail::-webkit-scrollbar-track {
  background: var(--carbon);
}

.page-home .league-rail::-webkit-scrollbar-thumb {
  background: var(--steel);
}

.page-home .league-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: grid;
  gap: 6px;
  min-width: clamp(206px, 24vw, 248px);
  padding: clamp(18px, 2vw, 24px);
  background: var(--panel);
  border-left: 2px solid var(--steel);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  color: var(--ice);
  text-decoration: none;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-home .league-chip:hover,
.page-home .league-chip:focus-visible {
  border-left-color: var(--cyan);
  background: #0E1A38;
  transform: translateY(-4px);
}

.page-home .chip-sport {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--cyan);
}

.page-home .chip-league {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.3;
}

.page-home .chip-round {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.page-home .entry-ways {
  margin: clamp(30px, 4.5vw, 56px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
  counter-reset: way;
}

.page-home .entry-ways li {
  padding: 20px 22px 22px;
  background: var(--panel);
  border-top: 2px solid var(--cyan-deep);
  counter-increment: way;
}

.page-home .entry-ways li::before {
  content: "0" counter(way);
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--cyan);
}

.page-home .entry-ways li p {
  margin: 0;
  font-size: 15px;
}

/* ---------- 多语种内容中心 ---------- */

.page-home .content-hub {
  background: linear-gradient(160deg, var(--panel) 0%, var(--night) 72%);
}

.page-home .hub-grid {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
}

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

.page-home .lang-tags li {
  padding: 6px 14px;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--ice);
  background: rgba(34, 224, 200, 0.1);
  border: 1px solid var(--cyan-deep);
  border-radius: 999px;
}

.page-home .hub-stats {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.page-home .hub-stats li {
  padding: clamp(18px, 2.2vw, 26px);
  background: var(--night);
  border-left: 2px solid var(--steel);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.page-home .stat-figure {
  display: block;
  line-height: 1;
}

.page-home .hub-stats .stat-num {
  font-size: clamp(30px, 4vw, 46px);
}

.page-home .stat-unit {
  margin-left: 4px;
  font-size: 14px;
  color: var(--mist);
}

.page-home .stat-label {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--mist);
}

/* ---------- 战报与专栏 ---------- */

.page-home .reports {
  background: var(--night);
}

.page-home .reports-head {
  max-width: 60ch;
  margin-bottom: clamp(26px, 4vw, 44px);
}

.page-home .reports .figure {
  margin-bottom: clamp(28px, 4vw, 48px);
}

.page-home .report-list {
  display: grid;
  gap: 12px;
}

.page-home .report-item {
  background: var(--panel);
  border-left: 2px solid var(--steel);
  transition: border-color var(--dur) var(--ease);
}

.page-home .report-item[open] {
  border-left-color: var(--cyan);
}

.page-home .report-item summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  padding: clamp(16px, 2vw, 22px);
  cursor: pointer;
  list-style: none;
}

.page-home .report-item summary::-webkit-details-marker {
  display: none;
}

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

.page-home .report-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--ice);
}

.page-home .report-meta {
  margin-left: auto;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--mist);
}

.page-home .report-body {
  padding: 14px clamp(16px, 2vw, 22px) clamp(18px, 2vw, 24px);
  border-top: 1px dashed var(--steel);
}

.page-home .report-body p {
  margin: 0;
  font-size: 15px;
}

.page-home .reports-more {
  margin-top: clamp(24px, 3vw, 36px);
}

/* ---------- 订阅与支持 ---------- */

.page-home .subscribe {
  background: linear-gradient(180deg, #071021 0%, var(--panel) 100%);
}

.page-home .subscribe::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(420px, 42%);
  height: 6px;
  background: var(--cyan);
  clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 100%, 0 100%);
}

.page-home .subscribe-grid {
  display: grid;
  gap: clamp(28px, 4.5vw, 56px);
}

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

.page-home .sub-ways li {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  background: var(--night);
  border-left: 2px solid var(--cyan-deep);
}

.page-home .sub-ways strong {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ice);
}

.page-home .sub-ways span {
  font-size: 14px;
  line-height: 1.6;
  color: var(--mist);
}

.page-home .support-strip {
  display: grid;
  gap: 18px;
  margin-top: clamp(34px, 5vw, 60px);
  padding: clamp(22px, 3vw, 32px);
  background: var(--night);
  border-left: 2px solid var(--orange);
}

.page-home .support-strip p {
  margin: 0;
}

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

/* ---------- 收尾 ---------- */

.page-home .closing {
  padding-bottom: clamp(64px, 9vw, 130px);
  background: var(--panel);
  overflow: hidden;
}

.page-home .closing::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 46%;
  background: linear-gradient(135deg, transparent 42%, rgba(34, 224, 200, 0.08) 100%);
  pointer-events: none;
}

.page-home .closing > * {
  position: relative;
  z-index: 1;
}

.page-home .closing h2 {
  margin-bottom: 18px;
}

.page-home .closing p {
  max-width: 62ch;
  margin-bottom: 26px;
}

/* ---------- 平板与桌面 ---------- */

@media (min-width: 820px) {
  .page-home .entry-ways {
    grid-template-columns: 1.15fr 1fr 0.95fr;
    align-items: start;
  }

  .page-home .entry-ways li:nth-child(2) {
    margin-top: 26px;
  }

  .page-home .entry-ways li:nth-child(3) {
    margin-top: 52px;
  }
}

@media (min-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: end;
  }

  .page-home .hero-anno {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    font-family: var(--font-mono);
    letter-spacing: 0.3em;
    color: var(--cyan);
    opacity: 0.7;
  }

  .page-home .score-cascade {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
  }

  .page-home .score-card--lead {
    grid-column: 1 / span 12;
  }

  .page-home .score-card--b {
    grid-column: 1 / span 7;
  }

  .page-home .score-card--c {
    grid-column: 8 / span 5;
    margin-top: clamp(32px, 5vw, 72px);
  }

  .page-home .spread-grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: start;
  }

  .page-home .device-strip {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }

  .page-home .device-copy {
    padding-left: clamp(12px, 3vw, 40px);
  }

  .page-home .hub-grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: start;
  }

  .page-home .subscribe-grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: start;
  }
}

@media (min-width: 1000px) {
  .page-home .support-strip {
    grid-template-columns: minmax(0, 2fr) auto;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .score-card,
  .page-home .league-chip,
  .page-home .score-card .score {
    transition: none;
  }
}
