.page-home {
  background: var(--night);
  color: var(--text);
  overflow-x: hidden;
}

/* ---------- 面包屑 ---------- */
.page-home .home-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px var(--edge) 0;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-home .home-crumb__sep {
  color: var(--haze);
}

/* ---------- 首屏 ---------- */
.page-home .hero-home {
  position: relative;
  isolation: isolate;
  padding: clamp(30px, 5vw, 60px) 0 clamp(48px, 8vw, 104px);
  background:
    radial-gradient(120% 90% at 92% 0%, rgba(34, 224, 208, .18), transparent 62%),
    linear-gradient(170deg, var(--night-2) 0%, var(--night) 58%);
}

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

.page-home .hero-home__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .28;
  filter: saturate(.6) contrast(1.06);
}

.page-home .hero-home__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(11, 10, 31, .55) 0 1px, transparent 1px 4px),
    linear-gradient(96deg, var(--night) 6%, rgba(11, 10, 31, .72) 48%, rgba(11, 10, 31, .9) 100%);
}

.page-home .hero-home__wedge {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(196deg, rgba(255, 122, 26, .95), rgba(255, 59, 78, .08));
  clip-path: polygon(0 0, 54% 0, 0 72%);
  opacity: .3;
  mix-blend-mode: screen;
}

.page-home .hero-home__inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-home .hero-home__kicker {
  color: var(--cyan);
  margin: 0 0 14px;
}

.page-home .hero-home__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 7.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -.015em;
  color: #fff;
}

.page-home .hero-home__lede {
  margin: 0 0 28px;
  max-width: 62ch;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.75;
  color: var(--text);
}

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

.page-home .hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 18px;
  margin: clamp(30px, 5vw, 52px) 0 0;
  padding: clamp(20px, 3vw, 28px) 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-home .hero-stats__num {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(26px, 5.4vw, 46px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--cyan);
}

.page-home .hero-stats__key {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--muted);
}

/* ---------- 章节通用 ---------- */
.page-home .chapter {
  position: relative;
  padding: clamp(56px, 8vw, 108px) 0;
}

.page-home .chapter__head {
  display: block;
  margin: 0 0 20px;
}

.page-home .chapter__no {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--cyan);
}

.page-home .chapter__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(25px, 4.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -.012em;
  color: #fff;
}

/* ---------- 01 本周前瞻 ---------- */
.page-home .home-week {
  background: var(--night-2);
}

.page-home .home-week__lede {
  max-width: 66ch;
  margin: 0 0 26px;
  color: var(--text);
}

.page-home .week-pills {
  margin: 0 0 30px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.page-home .week-grid {
  display: grid;
  gap: clamp(26px, 4vw, 52px);
}

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

.page-home .week-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  padding: 15px 18px;
  border-radius: var(--radius);
  border-left: 3px solid var(--haze);
  background: linear-gradient(96deg, rgba(42, 37, 96, .72), rgba(23, 20, 58, .32));
  transition: transform .28s ease, border-color .28s ease;
}

.page-home .week-row:hover {
  transform: translateX(5px);
  border-left-color: var(--cyan);
}

.page-home .week-row__no {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  letter-spacing: -.01em;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px dashed rgba(34, 224, 208, .4);
}

.page-home .week-row__body {
  display: block;
  min-width: 0;
}

.page-home .week-row__match {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(16px, 2vw, 19px);
  color: #fff;
}

.page-home .week-row__meta {
  display: block;
  margin-top: 5px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.page-home .week-media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: translateY(-14px);
}

/* ---------- 分节影像带 ---------- */
.page-home .home-band {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 210px;
  margin: 0;
  overflow: hidden;
}

.page-home .home-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .42;
  filter: saturate(.55) contrast(1.1);
}

.page-home .home-band__overlay {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(11, 10, 31, .35) 0 1px, transparent 1px 5px),
    linear-gradient(94deg, var(--night) 4%, rgba(11, 10, 31, .35) 56%, rgba(255, 122, 26, .38) 100%);
}

.page-home .home-band__line {
  position: relative;
  margin: 0;
  padding: clamp(26px, 5vw, 58px) var(--edge);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(19px, 3.6vw, 38px);
  line-height: 1.15;
  letter-spacing: -.012em;
  color: #fff;
}

/* ---------- 02 票价浮动 ---------- */
.page-home .home-fare {
  background: var(--night);
}

.page-home .home-fare__lede {
  max-width: 64ch;
  margin: 0 0 32px;
  color: var(--text);
}

.page-home .fare-compare {
  display: grid;
  gap: 16px;
  margin: 0 0 34px;
}

.page-home .fare-case {
  position: relative;
  padding: clamp(22px, 3.4vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--night-2);
  border: 1px solid var(--line);
}

.page-home .fare-case--hot {
  background: linear-gradient(160deg, rgba(255, 59, 78, .2), rgba(23, 20, 58, .9) 62%);
  border-color: rgba(255, 59, 78, .4);
}

.page-home .fare-case--calm {
  background: linear-gradient(160deg, rgba(55, 224, 122, .16), rgba(23, 20, 58, .9) 62%);
  border-color: rgba(55, 224, 122, .34);
}

.page-home .fare-case__kicker {
  color: var(--muted);
}

.page-home .fare-case__num {
  margin: 12px 0 10px;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: #fff;
}

.page-home .fare-case__text {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--text);
}

.page-home .fare-grid {
  display: grid;
  gap: 14px;
}

.page-home .fare-ticket {
  padding: 20px 22px;
  border-radius: var(--radius);
  border-top: 2px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(42, 37, 96, .5), rgba(23, 20, 58, .18));
}

.page-home .fare-ticket__name {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: .01em;
  color: var(--cyan);
}

.page-home .fare-ticket__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--text);
}

.page-home .fare-linkline {
  margin: 32px 0 0;
}

/* ---------- 03 客场胜率榜 ---------- */
.page-home .home-away {
  background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
}

.page-home .away-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin: 0 0 26px;
  color: var(--muted);
}

.page-home .away-meta__stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
}

.page-home .away-meta__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(55, 224, 122, .16);
}

.page-home .away-grid {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
}

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

.page-home .away-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgba(42, 37, 96, .42);
  border-left: 3px solid var(--cyan);
}

.page-home .away-row--last {
  border-left-color: var(--red);
  background: rgba(255, 59, 78, .12);
}

.page-home .away-row__rank {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 17px;
  font-weight: 700;
  color: var(--cyan);
}

.page-home .away-row--last .away-row__rank {
  font-size: 13px;
  color: var(--red);
}

.page-home .away-row__team {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}

.page-home .away-row__record {
  display: block;
  margin-top: 4px;
  grid-column: 2 / 3;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: var(--muted);
}

.page-home .away-row .tag {
  grid-row: 1 / 3;
  grid-column: 3 / 4;
  align-self: center;
}

.page-home .away-trend {
  margin: 0;
  padding: 22px 22px 16px;
  border-radius: var(--radius-lg);
  background: rgba(23, 20, 58, .72);
  border: 1px solid var(--line);
}

.page-home .away-trend svg {
  display: block;
  width: 100%;
  height: auto;
}

.page-home .away-trend figcaption {
  margin-top: 12px;
  color: var(--muted);
}

/* ---------- 04 回放档案 ---------- */
.page-home .home-replay {
  background: var(--paper);
  color: var(--ink);
}

.page-home .replay-grid {
  display: grid;
  gap: clamp(26px, 4vw, 54px);
}

.page-home .replay-media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.page-home .replay-body__kicker {
  color: rgba(18, 16, 13, .6);
}

.page-home .replay-body__title {
  margin: 12px 0 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 4.2vw, 42px);
  line-height: 1.12;
  letter-spacing: -.012em;
  color: var(--ink);
}

.page-home .replay-body__text {
  margin: 0 0 16px;
  max-width: 58ch;
  font-size: 15.5px;
  line-height: 1.78;
  color: rgba(18, 16, 13, .82);
}

.page-home .replay-body__note {
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(18, 16, 13, .16);
  font-size: 13px;
  line-height: 1.7;
  color: rgba(18, 16, 13, .62);
}

.page-home .replay-body .btn {
  margin-top: 20px;
}

/* ---------- 下一步 ---------- */
.page-home .home-start {
  position: relative;
  padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 118px);
  background:
    radial-gradient(90% 70% at 12% 0%, rgba(255, 122, 26, .16), transparent 60%),
    var(--night);
}

.page-home .home-start__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(25px, 4.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -.012em;
  color: #fff;
}

.page-home .home-start__text {
  margin: 0 0 30px;
  max-width: 62ch;
  font-size: 15.5px;
  line-height: 1.76;
  color: var(--text);
}

.page-home .home-start__actions {
  display: grid;
  gap: 12px;
  max-width: 460px;
}

.page-home .home-start__more {
  margin: 26px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .home-start__more a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(34, 224, 208, .45);
}

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

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

@media (min-width: 768px) {
  .page-home .fare-compare {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 1024px) {
  .page-home .home-week,
  .page-home .home-fare,
  .page-home .home-away,
  .page-home .home-replay .container,
  .page-home .home-start .container {
    padding-left: clamp(24px, 3vw, 56px);
    padding-right: clamp(24px, 3vw, 56px);
  }

  .page-home .week-grid {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
    align-items: start;
  }

  .page-home .away-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: center;
  }

  .page-home .replay-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    align-items: center;
  }

  .page-home .replay-grid .replay-media {
    transform: translateX(-18px);
  }

  .page-home .replay-body {
    transform: translateX(16px);
  }

  .page-home .home-band {
    min-height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .week-row,
  .page-home .week-row:hover {
    transform: none;
    transition: none;
  }
}
