.page-home {
  --home-overlay: linear-gradient(102deg, rgba(10, 15, 20, 0.9) 0%, rgba(11, 27, 42, 0.72) 44%, rgba(46, 139, 87, 0.34) 100%);
  --home-data-lines: repeating-linear-gradient(115deg, transparent 0 18px, rgba(198, 255, 0, 0.04) 18px 19px, transparent 19px 38px);
  --home-shadow: 0 18px 40px rgba(2, 8, 12, 0.24);
  --home-gridline: repeating-linear-gradient(90deg, transparent 0 78px, rgba(245, 247, 250, 0.04) 78px 80px);
  background: var(--light-background);
  color: var(--text-color);
}

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

/* ===== 首屏巨型比分牌 ===== */
.page-home__hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 40px 0 48px;
  background-color: var(--night-blue-black);
  color: var(--light-background);
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.06);
}

.page-home__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--home-overlay);
}

.page-home__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--home-data-lines), linear-gradient(to bottom, rgba(10, 15, 20, 0.28), transparent 60%);
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 12px;
}

.home-hero__crumbs {
  color: rgba(245, 247, 250, 0.7);
  font-size: 0.8rem;
}

.home-hero__crumbs a {
  color: rgba(245, 247, 250, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.home-hero__crumbs a:hover {
  color: var(--fluorescent-yellow-green);
}

.home-hero__crumbs [aria-current="page"] {
  color: var(--fluorescent-yellow-green);
}

.home-hero .breadcrumbs__sep {
  margin: 0 6px;
  color: rgba(245, 247, 250, 0.4);
}

.home-hero .tag {
  background: transparent;
  border-color: rgba(245, 247, 250, 0.28);
  color: var(--light-background);
}

.home-hero .tag--accent {
  color: var(--fluorescent-yellow-green);
  border-color: rgba(198, 255, 0, 0.52);
}

.home-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  color: rgba(245, 247, 250, 0.7);
}

.home-hero__title {
  margin: 0;
  max-width: 12em;
  font-size: clamp(2rem, 7vw, 3.75rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: var(--light-background);
}

.home-hero__lead {
  margin: 0;
  max-width: 40em;
  padding-left: 16px;
  border-left: 4px solid var(--fluorescent-yellow-green);
  color: rgba(245, 247, 250, 0.82);
  font-size: 0.98rem;
  line-height: 1.75;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.home-hero__actions .btn {
  box-shadow: 0 10px 24px rgba(10, 15, 20, 0.24);
}

.scoreboard {
  position: relative;
  background: rgba(10, 15, 20, 0.76);
  border: 1px solid rgba(198, 255, 0, 0.28);
  padding: 22px 18px 18px;
  color: var(--light-background);
  box-shadow: var(--home-shadow);
  backdrop-filter: blur(6px);
}

.scoreboard::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 104px;
  height: 3px;
  background: var(--fluorescent-yellow-green);
}

.scoreboard__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(198, 255, 0, 0.18);
}

.scoreboard__title {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--light-background);
}

.scoreboard__status {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--metal-gray);
}

.scoreboard__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.scoreboard__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.scoreboard__team-name {
  font-size: 1.15rem;
  font-weight: 700;
}

.scoreboard__team-stat {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--metal-gray);
}

.scoreboard__score {
  display: flex;
  align-items: center;
  gap: 6px;
}

.scoreboard__digit {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--fluorescent-yellow-green);
}

.scoreboard__colon {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  color: var(--metal-gray);
}

.scoreboard__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(245, 247, 250, 0.14);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: rgba(245, 247, 250, 0.78);
}

/* ===== 联赛快速入口 ===== */
.page-home__leagues {
  background: var(--light-background);
}

.page-home__section-lead {
  margin: 0 0 24px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-color);
  opacity: 0.74;
  max-width: 48em;
}

.league-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.league-tab {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(11, 27, 42, 0.72);
  text-decoration: none;
  border: 1px solid var(--border-color);
  background: #fff;
  padding: 8px 16px;
  line-height: 1;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.league-tab:hover {
  color: var(--primary-green);
  border-color: var(--primary-green);
  transform: translateY(-2px);
}

.league-tab.is-active {
  color: var(--fluorescent-yellow-green);
  background-color: var(--night-blue-black);
  border-color: var(--night-blue-black);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.league-matches {
  display: grid;
  gap: 16px;
}

.match-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 148px;
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 18px 16px;
  box-shadow: 0 4px 14px rgba(11, 27, 42, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.match-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(11, 27, 42, 0.12);
}

.match-card::before {
  content: "";
  display: block;
  height: 3px;
  margin: -18px -16px 14px;
  background: linear-gradient(90deg, var(--primary-green) 0 42%, var(--fluorescent-yellow-green) 42% 100%);
}

.match-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--metal-gray);
  min-height: 24px;
}

.match-card__score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 14px 0;
}

.match-card__score span {
  min-width: 4.2em;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.match-card__score b {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--night-blue-black);
}

.match-card__note {
  padding-top: 10px;
  border-top: 1px dashed var(--border-color);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--metal-gray);
}

/* ===== 射门统计模块 ===== */
.page-home__shooting {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 86% 12%, rgba(46, 139, 87, 0.2) 0, transparent 24%), linear-gradient(135deg, var(--deep-green) 0%, var(--night-blue-black) 46%, var(--dark-blue) 100%);
  color: var(--light-background);
}

.page-home__shooting .section-head__title,
.page-home__trust .section-head__title {
  color: var(--light-background);
}

.page-home__shooting .section-head__action,
.page-home__trust .section-head__action {
  color: var(--fluorescent-yellow-green);
}

.page-home__shooting-grid {
  display: grid;
  gap: 28px;
  align-items: center;
  margin-bottom: 30px;
}

.page-home__shooting-copy p {
  margin: 0;
  color: rgba(245, 247, 250, 0.82);
  font-size: 0.98rem;
  line-height: 1.75;
}

.shooting-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.shooting-list li {
  padding: 12px 14px;
  border-left: 3px solid var(--fluorescent-yellow-green);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 247, 250, 0.88);
  font-size: 0.9rem;
}

.page-home__shooting-figure {
  margin: 0;
  border: 1px solid rgba(245, 247, 250, 0.14);
  background: rgba(255, 255, 255, 0.05);
  padding: 8px;
}

.page-home__shooting-figure img {
  width: 100%;
  object-fit: cover;
}

.page-home__shooting-caption {
  padding: 10px 4px 4px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--metal-gray);
}

.page-home__shot-panel {
  margin-top: 8px;
}

.shot-table {
  display: grid;
  grid-template-columns: repeat(5, minmax(72px, 1fr));
  font-family: var(--font-mono);
  font-size: 0.76rem;
  overflow-x: auto;
}

.shot-table__row {
  display: contents;
}

.shot-table__row > span {
  padding: 10px 8px;
  border-bottom: 1px dashed rgba(245, 247, 250, 0.14);
}

.shot-table__row--head > span {
  color: var(--fluorescent-yellow-green);
  font-weight: 700;
  border-bottom-color: rgba(198, 255, 0, 0.48);
}

/* ===== 约场赛事确认 ===== */
.page-home__lineup {
  background: var(--light-background);
}

.page-home__lineup-grid {
  display: grid;
  gap: 24px;
}

.lineup-card {
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 22px 18px;
  box-shadow: 0 10px 26px rgba(11, 27, 42, 0.08);
}

.lineup-card--dark {
  background: linear-gradient(150deg, var(--night-blue-black) 0%, var(--deep-green) 100%);
  border: 0;
  color: var(--light-background);
}

.lineup-card__title {
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 900;
  color: inherit;
}

.lineup-card p {
  margin: 0 0 16px;
  font-size: 0.94rem;
  line-height: 1.7;
  opacity: 0.84;
}

.lineup-card__list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.lineup-card__list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: rgba(245, 247, 250, 0.1);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.lineup-card__list li::after {
  content: "→";
  color: var(--fluorescent-yellow-green);
  margin-left: 8px;
}

.lineup-sample {
  background: var(--light-background);
  border: 1px solid var(--border-color);
  padding: 16px;
}

.lineup-sample__match {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--primary-green);
}

.lineup-sample__row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-color);
  font-size: 0.86rem;
}

.lineup-sample__row span:first-child {
  font-weight: 600;
  color: var(--text-color);
}

.lineup-sample__row b {
  font-family: var(--font-mono);
  color: var(--china-red);
}

.lineup-sample__row span:last-child {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--metal-gray);
}

.lineup-sample__note {
  margin-top: 14px;
  text-align: right;
  font-size: 0.78rem;
  color: var(--metal-gray);
}

/* ===== 会员服务介绍 ===== */
.page-home__membership {
  color: var(--night-blue-black);
}

.page-home__member-grid {
  display: grid;
  gap: 26px;
  align-items: center;
}

.member-copy p {
  margin: 0 0 18px;
  font-size: 0.98rem;
  line-height: 1.75;
  opacity: 0.86;
}

.member-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.member-features__item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(11, 27, 42, 0.1);
  padding: 12px 10px;
  font-size: 0.86rem;
  font-weight: 700;
}

.member-features__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--fluorescent-yellow-green);
  background: var(--night-blue-black);
}

.member-control {
  background: var(--night-blue-black);
  color: var(--light-background);
  padding: 22px 18px;
  box-shadow: var(--home-shadow);
}

.member-control__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--fluorescent-yellow-green);
  margin-bottom: 16px;
}

.member-control__track {
  position: relative;
  height: 6px;
  margin-bottom: 20px;
  border-radius: 99px;
  background: rgba(245, 247, 250, 0.18);
}

.member-control__track::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20%;
  right: 20%;
  border-radius: 99px;
  background: var(--fluorescent-yellow-green);
}

.member-control__thumb {
  position: absolute;
  top: 50%;
  left: 45%;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--fluorescent-yellow-green);
  box-shadow: 0 0 0 4px rgba(198, 255, 0, 0.24), 0 2px 8px rgba(0, 0, 0, 0.4);
}

.member-control__result {
  padding-top: 12px;
  border-top: 1px solid rgba(245, 247, 250, 0.14);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: rgba(245, 247, 250, 0.82);
}

.page-home__member-figure {
  margin: 0;
  border: 1px solid rgba(11, 27, 42, 0.14);
  background: #fff;
  padding: 8px;
}

.page-home__member-figure img {
  width: 100%;
  object-fit: cover;
}

.page-home__member-caption {
  padding: 10px 4px 4px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--metal-gray);
}

/* ===== 控球率区间筛选器 ===== */
.page-home__filter {
  background: var(--light-background);
}

.page-home__filter-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-home__filter-figure {
  margin: 0;
  border: 1px solid var(--border-color);
  background: #fff;
  padding: 8px;
  box-shadow: 0 10px 26px rgba(11, 27, 42, 0.08);
}

.page-home__filter-figure img {
  width: 100%;
  object-fit: cover;
}

.page-home__filter-caption {
  padding: 10px 4px 4px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--metal-gray);
}

.filter-copy p {
  margin: 0 0 16px;
  font-size: 0.94rem;
  line-height: 1.7;
  opacity: 0.82;
}

.filter-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0 22px;
}

.filter-stats__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 8px;
  background: #fff;
  border: 1px solid var(--border-color);
  text-align: center;
}

.filter-stats .stat-digit {
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--night-blue-black);
}

.filter-stats .stat-label {
  font-size: 0.72rem;
  color: var(--metal-gray);
}

/* ===== 数据能力与生态 ===== */
.page-home__trust {
  position: relative;
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--night-blue-black) 100%);
  color: var(--light-background);
  overflow: hidden;
}

.page-home__trust::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--home-gridline);
  pointer-events: none;
}

.page-home__trust > .container {
  position: relative;
  z-index: 1;
}

.page-home__trust-grid {
  display: grid;
  gap: 18px;
}

.trust-card {
  padding: 22px 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(245, 247, 250, 0.14);
  backdrop-filter: blur(4px);
}

.trust-card__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--fluorescent-yellow-green);
}

.trust-card__label {
  display: block;
  margin: 10px 0 6px;
  font-size: 0.94rem;
  font-weight: 700;
}

.trust-card p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.65;
  opacity: 0.72;
}

.page-home__trust-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(245, 247, 250, 0.14);
  font-size: 0.9rem;
}

.page-home__trust-links span {
  color: rgba(245, 247, 250, 0.52);
}

.page-home__trust-links a {
  color: var(--fluorescent-yellow-green);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.page-home__trust-links a:hover {
  border-bottom-color: currentColor;
}

/* ===== 桌面端栅格与布局 ===== */
@media (min-width: 768px) {
  .page-home__hero {
    padding: 68px 0 88px;
  }

  .home-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    grid-template-areas:
      "crumbs score"
      "eyebrow score"
      "title score"
      "lead score"
      "actions score";
    column-gap: clamp(32px, 6vw, 80px);
    row-gap: 20px;
    align-items: end;
  }

  .home-hero__crumbs {
    grid-area: crumbs;
  }

  .home-hero__eyebrow {
    grid-area: eyebrow;
  }

  .home-hero__title {
    grid-area: title;
  }

  .home-hero__lead {
    grid-area: lead;
  }

  .home-hero__actions {
    grid-area: actions;
  }

  .scoreboard {
    grid-area: score;
    margin-bottom: 10px;
  }

  .scoreboard__main {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .scoreboard__team {
    align-items: flex-start;
  }

  .scoreboard__team:last-of-type {
    align-items: flex-end;
    text-align: right;
  }

  .scoreboard__score {
    gap: 12px;
  }

  .scoreboard__digit {
    font-size: 3.8rem;
  }

  .scoreboard__footer {
    justify-content: flex-start;
  }

  .league-matches {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .page-home__shooting-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 44px;
  }

  .shot-table {
    font-size: 0.84rem;
  }

  .page-home__member-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px) minmax(0, 0.8fr);
    gap: 30px;
  }

  .page-home__filter-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 44px;
  }

  .page-home__trust-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

@media (min-width: 992px) {
  .page-home__lineup-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .page-home__leagues .section-head,
  .page-home__shooting .section-head,
  .page-home__lineup .section-head,
  .page-home__filter .section-head {
    margin-bottom: 18px;
  }
}
