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

/* ---------- 首屏 ---------- */
.page-home .hero-home {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + 30px) 0 52px;
}

.page-home .hero-home__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 38%;
  opacity: 0.3;
}

.page-home .hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(78% 68% at 86% 8%, rgba(53, 242, 180, 0.18), transparent 62%),
    radial-gradient(70% 60% at 4% 96%, rgba(242, 178, 76, 0.12), transparent 62%),
    linear-gradient(180deg, rgba(7, 27, 22, 0.76) 0%, rgba(7, 27, 22, 0.93) 58%, var(--ink) 100%);
}

.page-home .hero-home__grid {
  display: grid;
  gap: 34px;
}

.page-home .hero-home__title {
  margin: 14px 0 0;
  font-size: clamp(30px, 8.4vw, 54px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-home .hero-home__title span {
  color: var(--neon);
}

.page-home .hero-home__lede {
  margin: 18px 0 0;
  max-width: 46ch;
  font-size: clamp(14px, 3.5vw, 16px);
  line-height: 1.85;
  color: var(--gray);
}

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

.page-home .hero-home__actions .btn {
  flex: 1 1 auto;
  min-width: 150px;
}

.page-home .hero-home__facts {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 13px;
  color: var(--gray);
}

.page-home .hero-home__facts li {
  position: relative;
  padding-left: 18px;
  line-height: 1.6;
}

.page-home .hero-home__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 2px;
  background: var(--neon);
}

/* ---------- 比分面板 ---------- */
.page-home .scoreboard {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--glass);
  backdrop-filter: blur(16px);
  box-shadow: 0 26px 64px -34px rgba(0, 0, 0, 0.92);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.page-home .scoreboard:hover {
  transform: translateY(-4px);
  border-color: rgba(53, 242, 180, 0.52);
}

.page-home .scoreboard:focus-within {
  outline: 2px solid var(--neon);
  outline-offset: 4px;
}

.page-home .scoreboard__glow {
  position: absolute;
  top: -34%;
  right: -22%;
  width: 88%;
  height: auto;
  opacity: 0.22;
  pointer-events: none;
  mix-blend-mode: screen;
}

.page-home .scoreboard__head {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.page-home .scoreboard__league {
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gray);
}

.page-home .scoreboard__figures {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 18px 0 10px;
}

.page-home .scoreboard__num {
  font-family: var(--font-num);
  font-size: clamp(64px, 19vw, 120px);
  font-weight: 800;
  line-height: 0.84;
  letter-spacing: -0.03em;
  color: var(--neon);
  font-variant-numeric: tabular-nums;
}

.page-home .scoreboard__num--away {
  text-align: right;
  color: var(--fog);
}

.page-home .scoreboard__sep {
  font-family: var(--font-num);
  font-size: clamp(24px, 7vw, 42px);
  color: var(--gray);
  align-self: center;
}

.page-home .scoreboard__teams {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0 18px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--gray);
}

.page-home .scoreboard__poss {
  position: relative;
  padding-top: 18px;
}

.page-home .poss__legend {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gray);
  margin-bottom: 9px;
}

.page-home .poss__value {
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 700;
  color: var(--mint);
}

.page-home .poss__value i {
  font-style: normal;
  color: var(--gray);
  margin: 0 2px;
}

.page-home .poss__bar {
  display: flex;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(156, 255, 217, 0.12);
}

.page-home .poss__fill {
  display: block;
  height: 100%;
}

.page-home .poss__fill--home {
  background: var(--neon);
}

.page-home .poss__fill--away {
  background: var(--amber);
}

.page-home .scoreboard__foot {
  position: relative;
  margin: 14px 0 0;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--gray);
}

/* ---------- 通用区块 ---------- */
.page-home .home-block {
  padding: 54px 0;
}

.page-home .home-block--coal {
  background: var(--coal);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.page-home .home-head__title {
  margin: 10px 0 10px;
  font-size: clamp(23px, 5.2vw, 33px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-home .home-head__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--gray);
}

/* ---------- 赛程刻度 ---------- */
.page-home .fixtures {
  list-style: none;
  margin: 0;
  padding: 0 0 10px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(212px, 76%);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-home .fixture {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--panel);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.page-home .fixture:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.page-home .fixture__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.page-home .fixture__time {
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 700;
  color: var(--fog);
}

.page-home .fixture__pair {
  margin: 0;
  font-size: 13px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-home .fixture__pair b {
  font-family: var(--font-num);
  font-size: 15px;
  color: var(--neon);
  letter-spacing: 0.02em;
}

.page-home .fixture__meta {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--gray);
}

/* ---------- 联赛矩阵 ---------- */
.page-home .home-leagues__grid {
  display: grid;
  gap: 30px;
}

.page-home .home-leagues__visual {
  display: block;
  width: 100%;
  height: auto;
  margin: 22px 0 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  object-fit: cover;
  filter: saturate(0.7) brightness(0.9);
}

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

.page-home .league-group {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
}

.page-home .league-group--hoops {
  border-color: rgba(242, 178, 76, 0.24);
}

.page-home .league-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.page-home .league-group__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page-home .league-group__count {
  font-family: var(--font-num);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  color: var(--neon);
}

.page-home .league-group--hoops .league-group__count {
  color: var(--amber);
}

.page-home .league-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 8px;
}

.page-home .league-chip {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: rgba(12, 17, 16, 0.55);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.page-home .league-chip:hover {
  border-color: var(--line-strong);
  background: rgba(53, 242, 180, 0.07);
}

.page-home .league-group--hoops .league-chip:hover {
  border-color: var(--line-amber);
  background: rgba(242, 178, 76, 0.08);
}

.page-home .league-chip__code {
  font-family: var(--font-num);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--mint);
}

.page-home .league-group--hoops .league-chip__code {
  color: var(--amber);
}

.page-home .league-chip__name {
  font-size: 13px;
  color: var(--fog);
}

.page-home .league-chip__meta {
  font-size: 11px;
  color: var(--gray);
}

/* ---------- 集锦索引 ---------- */
.page-home .home-reel__grid {
  display: grid;
  gap: 18px;
}

.page-home .reel-feature {
  position: relative;
  margin: 0;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-amber);
}

.page-home .reel-feature img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: saturate(0.55) brightness(0.82);
}

.page-home .reel-feature__index {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--amber-deep);
  color: var(--coal);
  font-family: var(--font-num);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.page-home .reel-feature__cap {
  padding: 12px 14px 14px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--gray);
  background: rgba(12, 17, 16, 0.6);
}

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

.page-home .reel-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(16, 46, 38, 0.5);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.page-home .reel-item:hover {
  border-color: var(--line-amber);
  transform: translateX(3px);
}

.page-home .reel-item__code {
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--amber);
  white-space: nowrap;
}

.page-home .reel-item__title {
  margin: 0 0 2px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--fog);
}

.page-home .reel-item__meta {
  margin: 0;
  font-size: 11px;
  color: var(--gray);
}

.page-home .home-reel__more {
  display: inline-block;
  margin-top: 20px;
  font-size: 13px;
  color: var(--mint);
  text-decoration: none;
  border-bottom: 1px solid rgba(156, 255, 217, 0.4);
  padding-bottom: 2px;
}

.page-home .home-reel__more:hover {
  color: var(--neon);
  border-bottom-color: var(--neon);
}

/* ---------- 使用记录时间线 ---------- */
.page-home .home-records__grid {
  display: grid;
  gap: 28px;
}

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

.page-home .home-timeline {
  list-style: none;
  margin: 0;
  padding: 4px 0 4px 24px;
  border-left: 1px solid var(--line-strong);
  display: grid;
  gap: 20px;
}

.page-home .home-timeline__item {
  position: relative;
}

.page-home .home-timeline__dot {
  position: absolute;
  left: -29px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(242, 178, 76, 0.14);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.page-home .home-timeline__item:hover .home-timeline__dot {
  background: var(--neon);
  box-shadow: 0 0 0 5px rgba(53, 242, 180, 0.16);
}

.page-home .home-timeline__time {
  display: block;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gray);
  margin-bottom: 4px;
}

.page-home .home-timeline__title {
  margin: 0 0 2px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--fog);
}

.page-home .home-timeline__meta {
  margin: 0;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--gray);
}

/* ---------- 品牌认证 ---------- */
.page-home .home-trust__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-home .trust-stat {
  padding: 18px 16px;
  background: var(--ink);
}

.page-home .trust-stat__num {
  margin: 0;
  font-family: var(--font-num);
  font-size: clamp(24px, 6.4vw, 34px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--neon);
}

.page-home .trust-stat__label {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--gray);
}

.page-home .home-trust__notes {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.page-home .trust-note {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--line-strong);
  background: rgba(16, 46, 38, 0.45);
}

.page-home .trust-note:hover {
  border-left-color: var(--neon);
}

.page-home .trust-note__title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--fog);
}

.page-home .trust-note__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--gray);
}

.page-home .home-trust__more {
  margin: 22px 0 0;
  font-size: 13px;
  color: var(--gray);
}

.page-home .home-trust__more a {
  color: var(--mint);
  text-decoration: none;
  border-bottom: 1px solid rgba(156, 255, 217, 0.4);
}

.page-home .home-trust__more a:hover {
  color: var(--neon);
  border-bottom-color: var(--neon);
}

/* ---------- 合作联系 ---------- */
.page-home .home-partner__card {
  display: grid;
  gap: 26px;
  padding: 26px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line-amber);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(242, 178, 76, 0.14), transparent 60%),
    linear-gradient(140deg, rgba(16, 46, 38, 0.85), rgba(12, 17, 16, 0.9));
}

.page-home .home-partner__title {
  margin: 10px 0 12px;
  font-size: clamp(21px, 4.8vw, 29px);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page-home .home-partner__text {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--gray);
}

.page-home .home-partner__side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-home .home-partner__copy,
.page-home .home-partner__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.page-home .home-partner__label {
  width: 100%;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--gray);
}

.page-home .home-partner__email {
  font-family: var(--font-num);
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--amber);
  word-break: break-all;
}

.page-home .home-partner__value {
  font-family: var(--font-num);
  font-size: 15px;
  color: var(--fog);
  letter-spacing: 0.04em;
}

.page-home .home-partner__note {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-amber);
  font-size: 12px;
  line-height: 1.75;
  color: var(--gray);
}

/* ---------- 响应式 ---------- */
@media (min-width: 640px) {
  .page-home .fixtures {
    grid-auto-flow: row;
    grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
    overflow: visible;
    padding-bottom: 0;
  }

  .page-home .hero-home__actions .btn {
    flex: 0 0 auto;
  }
}

@media (min-width: 900px) {
  .page-home .hero-home {
    padding: calc(var(--header-h) + 56px) 0 78px;
  }

  .page-home .hero-home__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: center;
    gap: 54px;
  }

  .page-home .home-block {
    padding: 76px 0;
  }

  .page-home .home-leagues__grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: 48px;
    align-items: start;
  }

  .page-home .home-reel__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }

  .page-home .home-records__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 52px;
    align-items: start;
  }

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

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

  .page-home .home-partner__card {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: center;
    padding: 38px 42px;
    gap: 42px;
  }

  .page-home .home-partner__text {
    margin-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .scoreboard,
  .page-home .fixture,
  .page-home .league-chip,
  .page-home .reel-item,
  .page-home .home-timeline__dot {
    transition: none;
  }

  .page-home .scoreboard:hover,
  .page-home .fixture:hover,
  .page-home .reel-item:hover {
    transform: none;
  }
}
