.page-home {
  --home-line: rgba(248, 244, 234, 0.14);
  --home-paper-ink: #3d332c;
  background: var(--night);
  color: var(--chalk);
  font-family: var(--font-body);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--head-h) + clamp(24px, 4vw, 48px)) 0 clamp(36px, 5vw, 64px);
  background:
    radial-gradient(circle at 82% 12%, rgba(11, 90, 59, 0.85) 0%, rgba(6, 26, 43, 0) 58%),
    linear-gradient(180deg, #04131f 0%, #061a2b 62%, #081f33 100%);
}

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

.page-home .home-hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}

.page-home .home-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(112deg, rgba(4, 19, 31, 0.96) 0%, rgba(6, 26, 43, 0.78) 48%, rgba(11, 90, 59, 0.5) 100%),
    repeating-linear-gradient(112deg, rgba(201, 255, 77, 0.06) 0 2px, transparent 2px 68px);
}

.page-home .home-hero .container {
  position: relative;
  z-index: 1;
}

.page-home .home-hero__inner {
  display: grid;
  gap: clamp(24px, 3.5vw, 44px);
  align-items: start;
}

.page-home .home-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.35rem, 6.2vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0.22em 0 0;
  color: var(--chalk);
  text-wrap: balance;
}

.page-home .home-hero h1 em {
  font-style: normal;
  display: inline-block;
  color: var(--signal);
}

.page-home .home-hero__lede {
  margin: clamp(14px, 2vw, 20px) 0 0;
  max-width: 34em;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.78;
  color: rgba(248, 244, 234, 0.87);
}

.page-home .home-hero__assist {
  margin: 0.9em 0 0;
  max-width: 36em;
  padding-left: 14px;
  border-left: 3px solid var(--cash);
  font-size: 0.94rem;
  line-height: 1.72;
  color: rgba(248, 244, 234, 0.74);
}

/* 倒计时 */
.page-home .hero-clock {
  margin-top: clamp(18px, 2.4vw, 28px);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  padding: 14px 18px;
  border: 1px solid rgba(201, 255, 77, 0.34);
  border-radius: var(--radius-m);
  background: linear-gradient(100deg, rgba(18, 54, 79, 0.92), rgba(6, 26, 43, 0.66));
}

.page-home .hero-clock__label {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--signal);
  font-weight: 600;
}

.page-home .hero-clock__time {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.55rem, 3.6vw, 2.3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: var(--chalk);
  animation: home-pulse 1s ease-in-out infinite;
}

.page-home .hero-clock__meta {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--steel);
}

@keyframes home-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 2.6vw, 30px);
}

/* 右侧联赛卡片 */
.page-home .hero-leagues {
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid var(--home-line);
  border-radius: var(--radius-m);
  background: rgba(18, 54, 79, 0.62);
}

.page-home .hero-leagues h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  font-weight: 700;
  color: var(--chalk);
}

.page-home .hero-leagues__hint {
  margin: 6px 0 14px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--steel);
}

.page-home .hero-leagues ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .hero-league {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-left: 2px solid transparent;
  border-radius: var(--radius-s);
  background: rgba(6, 26, 43, 0.55);
  transition: background 0.16s ease, border-color 0.16s ease;
}

.page-home .hero-league + .hero-league {
  margin-top: 8px;
}

.page-home .hero-league:hover,
.page-home .hero-league:focus-within {
  background: rgba(11, 90, 59, 0.7);
  border-left-color: var(--cash);
}

.page-home .hero-league__name {
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--chalk);
}

.page-home .hero-league__note {
  font-size: 12.5px;
  color: var(--steel);
  text-align: right;
}

.page-home .hero-leagues__foot {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--home-line);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--steel);
}

/* 首屏路径预览 */
.page-home .hero-path {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: clamp(26px, 3.4vw, 42px) 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .hero-path a {
  display: block;
  height: 100%;
  padding: 14px 16px 16px;
  border-top: 2px solid var(--cash);
  border-radius: 0 0 var(--radius-s) var(--radius-s);
  background: rgba(6, 26, 43, 0.62);
  color: var(--chalk);
  text-decoration: none;
  transition: background 0.16s ease, transform 0.16s ease;
}

.page-home .hero-path a:hover,
.page-home .hero-path a:focus-visible {
  background: rgba(11, 90, 59, 0.78);
  transform: translateY(-2px);
}

.page-home .hero-path__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--cash);
}

.page-home .hero-path__title {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.page-home .hero-path__desc {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--steel);
}

/* ---------- 通用区块 ---------- */
.page-home .home-sec {
  position: relative;
  padding: clamp(44px, 6vw, 84px) 0;
}

.page-home .home-sec--dark {
  background: var(--night);
  color: var(--chalk);
}

.page-home .home-sec--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(248, 244, 234, 0.035) 0 1px, transparent 1px 96px);
}

.page-home .home-sec--dark .container {
  position: relative;
  z-index: 1;
}

.page-home .home-sec--paper {
  background: var(--cream);
  color: var(--ink);
}

.page-home .home-sec__head {
  max-width: 46rem;
}

.page-home .home-sec__head h2 {
  margin: 0.22em 0 0.55em;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.3vw, 2.55rem);
  font-weight: 700;
  line-height: 1.24;
}

.page-home .home-sec--paper .home-sec__head h2 {
  color: var(--ink);
}

.page-home .home-sec__head p {
  margin: 0;
  max-width: 40rem;
  line-height: 1.82;
}

.page-home .home-sec--dark .home-sec__head p {
  color: rgba(248, 244, 234, 0.78);
}

.page-home .home-sec--paper .home-sec__head p {
  color: var(--home-paper-ink);
}

.page-home .home-sec--paper .section-kicker {
  color: var(--alert);
}

.page-home .home-figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-m);
  background: var(--pitch);
  border: 1px solid var(--home-line);
}

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

.page-home .home-figure figcaption {
  padding: 10px 14px 12px;
  font-size: 12px;
  letter-spacing: 0.03em;
  line-height: 1.6;
  color: var(--steel);
  background: rgba(6, 26, 43, 0.92);
}

/* ---------- 联赛分组 ---------- */
.page-home .league-grid {
  list-style: none;
  margin: clamp(24px, 3vw, 36px) 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

.page-home .league-cell {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 10px;
  padding: 14px 16px;
  border: 1px solid var(--home-line);
  border-left: 3px solid var(--pitch);
  border-radius: var(--radius-s);
  background: linear-gradient(122deg, rgba(18, 54, 79, 0.6), rgba(6, 26, 43, 0.38));
  transition: border-left-color 0.16s ease, transform 0.16s ease;
}

.page-home .league-cell:hover {
  border-left-color: var(--signal);
  transform: translateX(2px);
}

.page-home .league-cell__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
  color: var(--chalk);
}

.page-home .league-cell__note {
  grid-column: 1 / -1;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--steel);
}

.page-home .league-note {
  margin: clamp(18px, 2.4vw, 26px) 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--cash);
  max-width: 46rem;
  font-size: 0.94rem;
  line-height: 1.78;
  color: rgba(248, 244, 234, 0.76);
}

/* ---------- 赛前确认 ---------- */
.page-home .pre-grid {
  display: grid;
  gap: clamp(22px, 3vw, 40px);
  align-items: center;
}

.page-home .pre-figure {
  aspect-ratio: 3 / 2;
  display: flex;
  flex-direction: column;
  border-color: rgba(27, 20, 16, 0.16);
}

.page-home .pre-figure img {
  flex: 1 1 auto;
  min-height: 0;
}

.page-home .pre-body h2 {
  margin: 0.22em 0 0.5em;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.3vw, 2.55rem);
  font-weight: 700;
  line-height: 1.24;
  color: var(--ink);
}

.page-home .pre-body__lede {
  margin: 0 0 clamp(16px, 2vw, 22px);
  line-height: 1.82;
  color: var(--home-paper-ink);
}

.page-home .pre-steps {
  list-style: none;
  margin: 0 0 clamp(20px, 2.6vw, 28px);
  padding: 0;
}

.page-home .pre-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid rgba(27, 20, 16, 0.14);
}

.page-home .pre-step:last-child {
  border-bottom: 1px solid rgba(27, 20, 16, 0.14);
}

.page-home .pre-step__num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--alert);
  padding-top: 3px;
}

.page-home .pre-step__body h3 {
  margin: 0 0 4px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}

.page-home .pre-step__body p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--home-paper-ink);
}

/* 数据条 */
.page-home .stat-strip {
  margin-top: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(27, 20, 16, 0.18);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.page-home .stat-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 16px;
  background: var(--night);
}

.page-home .stat-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--signal);
}

.page-home .stat-label {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--steel);
}

/* ---------- 战报与订阅 ---------- */
.page-home .report-grid {
  display: grid;
  gap: clamp(24px, 3.5vw, 48px);
  align-items: start;
}

.page-home .report-figure {
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
}

.page-home .report-figure img {
  flex: 1 1 auto;
  min-height: 0;
}

.page-home .report-body h2 {
  margin: 0.22em 0 0.55em;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.3vw, 2.55rem);
  font-weight: 700;
  line-height: 1.24;
  color: var(--chalk);
}

.page-home .report-body > p {
  margin: 0 0 1em;
  max-width: 40rem;
  line-height: 1.82;
  color: rgba(248, 244, 234, 0.8);
}

.page-home .report-sub {
  margin: 1.4em 0 0.5em;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--cash);
}

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

.page-home .sub-tab {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 11px 13px;
  border: 1px solid rgba(201, 255, 77, 0.26);
  border-radius: var(--radius-s);
  background: rgba(18, 54, 79, 0.55);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--chalk);
  transition: border-color 0.16s ease, background 0.16s ease;
}

.page-home .sub-tab:hover {
  border-color: var(--signal);
  background: rgba(11, 90, 59, 0.7);
}

.page-home .sub-tab__idx {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--steel);
}

.page-home .report-foot {
  margin: 1.2em 0 1.4em;
  padding-left: 14px;
  border-left: 3px solid var(--pitch);
  font-size: 0.93rem;
  line-height: 1.78;
  color: rgba(248, 244, 234, 0.74);
}

/* ---------- 赛季版本 ---------- */
.page-home .season-figure {
  aspect-ratio: 7 / 4;
  margin: clamp(22px, 3vw, 34px) 0 clamp(24px, 3vw, 36px);
  border-color: rgba(27, 20, 16, 0.16);
}

.page-home .season-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .season-node {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px dashed rgba(27, 20, 16, 0.22);
}

.page-home .season-node:first-child {
  border-top: 1px solid rgba(27, 20, 16, 0.3);
}

.page-home .season-node__year {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--alert);
  padding-top: 2px;
}

.page-home .season-node__body h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.page-home .season-node__body p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--home-paper-ink);
}

.page-home .season-note {
  margin: clamp(20px, 2.6vw, 28px) 0 0;
  max-width: 48rem;
  padding: 16px 18px;
  border-radius: var(--radius-m);
  border-left: 4px solid var(--pitch);
  background: rgba(11, 90, 59, 0.1);
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--home-paper-ink);
}

/* ---------- 收尾 CTA ---------- */
.page-home .home-cta {
  padding: clamp(42px, 5.5vw, 76px) 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(11, 90, 59, 0.75) 0%, rgba(6, 26, 43, 0) 62%),
    linear-gradient(180deg, #08202f 0%, #04131f 100%);
  color: var(--chalk);
  border-top: 3px solid var(--cash);
}

.page-home .home-cta__inner {
  display: grid;
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
}

.page-home .home-cta h2 {
  margin: 0.22em 0 0.5em;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  line-height: 1.26;
  color: var(--chalk);
}

.page-home .home-cta p {
  margin: 0;
  max-width: 40rem;
  line-height: 1.82;
  color: rgba(248, 244, 234, 0.78);
}

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

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

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

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

@media (min-width: 720px) {
  .page-home .hero-path {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .page-home .home-cta__inner {
    grid-template-columns: 1fr auto;
  }
}

@media (min-width: 960px) {
  .page-home .league-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 880px) {
  .page-home .pre-grid {
    grid-template-columns: 5fr 6fr;
  }

  .page-home .report-grid {
    grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  }
}

@media (max-width: 719px) {
  .page-home .hero-clock__time {
    width: 100%;
  }

  .page-home .hero-league__note {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-clock__time {
    animation: none;
  }

  .page-home .hero-path a,
  .page-home .league-cell,
  .page-home .hero-league,
  .page-home .sub-tab {
    transition: none;
  }

  .page-home .hero-path a:hover,
  .page-home .league-cell:hover {
    transform: none;
  }
}
