.page-home {
  --home-grid-line: rgba(255, 255, 255, .08);
  --home-grid-line-deep: rgba(10, 31, 68, .14);
}

/* ====== 首屏 ====== */
.page-home .home-hero {
  position: relative;
  background: var(--c-ink);
  color: var(--c-cream);
  padding-top: calc(var(--header-h-m) + 2.5rem);
  padding-bottom: 4rem;
  overflow: hidden;
}
.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--home-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.page-home .home-hero__container {
  position: relative;
  z-index: 1;
}
.page-home .home-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.page-home .home-hero__content {
  position: relative;
  z-index: 1;
}
.page-home .home-hero__eyebrow {
  font-family: var(--font-data);
  font-size: .8125rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 1.25rem;
}
.page-home .home-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0 0 1.25rem;
  color: var(--c-cream);
}
.page-home .home-hero__lead {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.7;
  color: rgba(245, 243, 239, .82);
  max-width: 34rem;
  margin: 0 0 1.75rem;
}
.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  margin-bottom: 2.25rem;
}
.page-home .home-hero__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  font-family: var(--font-data);
  font-size: .8125rem;
  color: rgba(245, 243, 239, .66);
}
.page-home .home-hero__facts li {
  position: relative;
  padding-left: 1rem;
}
.page-home .home-hero__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .35rem;
  height: .35rem;
  background: var(--c-teal);
}

/* 首屏视觉 */
.page-home .home-hero__visual {
  position: relative;
}
.page-home .hero-visual {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .16);
  background: var(--c-ink-deep);
  overflow: hidden;
}
.page-home .hero-visual::after {
  content: "LIVE PITCH MAP / 球场热力轨迹";
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--c-accent);
  color: var(--c-ink);
  font-family: var(--font-data);
  font-size: .6875rem;
  letter-spacing: .1em;
  padding: .4rem .75rem;
  z-index: 2;
  pointer-events: none;
}
.page-home .hero-visual__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: .5;
}
.page-home .hero-visual__trace {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* ====== 核心板块标题区 ====== */
.page-home .home-cores {
  background: var(--c-paper);
  padding: var(--space-section) 0 0;
}
.page-home .home-section-head {
  margin-bottom: 3rem;
  max-width: 46rem;
}
.page-home .home-section-head__kicker {
  font-family: var(--font-data);
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: .75rem;
}
.page-home .home-section-head h2 {
  font-family: var(--font-head);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .75rem;
  color: var(--c-text);
}
.page-home .home-section-head__desc {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-muted);
  margin: 0;
}

/* ====== 三大核心板块面板 ====== */
.page-home .home-core {
  padding: 3rem 0 3.5rem;
}
.page-home .home-core__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
}
.page-home .home-core__media {
  position: relative;
  overflow: hidden;
  background: var(--c-border);
  border: 1px solid var(--c-border);
}
.page-home .home-core__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}
.page-home .home-core__body {
  position: relative;
}
.page-home .home-core__index {
  display: block;
  font-family: var(--font-data);
  font-size: .75rem;
  letter-spacing: .08em;
  color: var(--c-muted);
  margin-bottom: .5rem;
}
.page-home .home-core__body h3 {
  font-family: var(--font-head);
  font-size: clamp(1.375rem, 2.6vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: .75rem 0 .875rem;
  color: var(--c-text);
}
.page-home .home-core__body p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-muted);
  margin: 0 0 1rem;
}
.page-home .home-core__list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  border-top: 1px solid var(--c-border);
}
.page-home .home-core__list li {
  position: relative;
  font-family: var(--font-body);
  font-size: .95rem;
  line-height: 1.6;
  color: var(--c-text);
  padding: .7rem 0 .7rem 1.4rem;
  border-bottom: 1px solid var(--c-border);
}
.page-home .home-core__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: .5rem;
  height: 2px;
  background: var(--c-teal);
}

/* 赛程中心：纸白 */
.page-home .home-core--schedule {
  background: var(--c-paper);
}

/* 数据面板：奶油 */
.page-home .home-core--data {
  background: var(--c-cream);
}

/* 球队资料库：深蓝网格 */
.page-home .home-core--teams {
  position: relative;
  background: var(--c-ink);
  color: var(--c-cream);
}
.page-home .home-core--teams::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--home-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.page-home .home-core--teams .folio-container {
  position: relative;
  z-index: 1;
}
.page-home .home-core--teams .home-core__media {
  border-color: var(--c-line);
}
.page-home .home-core--teams .home-core__body h3,
.page-home .home-core--teams .home-core__index,
.page-home .home-core--teams .home-core__list li {
  color: var(--c-cream);
}
.page-home .home-core--teams .home-core__body p {
  color: rgba(245, 243, 239, .78);
}
.page-home .home-core--teams .home-core__list {
  border-color: var(--c-line);
}
.page-home .home-core--teams .home-core__list li {
  border-color: var(--c-line);
}

/* ====== 数据驱动的观赛体验 ====== */
.page-home .home-stats {
  position: relative;
  background: var(--c-accent);
  color: var(--c-ink);
  padding: var(--space-section) 0;
}
.page-home .home-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--home-grid-line-deep) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-grid-line-deep) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.page-home .home-stats .folio-container {
  position: relative;
  z-index: 1;
}
.page-home .home-stats .home-section-head__kicker {
  color: var(--c-ink);
  opacity: .75;
}
.page-home .home-stats .home-section-head h2 {
  color: var(--c-ink);
}
.page-home .home-stats .home-section-head__desc {
  color: rgba(10, 31, 68, .78);
}
.page-home .home-stats__grid {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}
.page-home .home-stat {
  background: rgba(245, 243, 239, .14);
  border: 1px solid rgba(10, 31, 68, .18);
  padding: 1.25rem 1rem;
  min-height: 7.5rem;
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.page-home .home-stat:hover,
.page-home .home-stat:focus-within {
  background: rgba(245, 243, 239, .26);
  border-color: rgba(10, 31, 68, .5);
  transform: translateY(-4px);
}
.page-home .home-stat__num {
  display: block;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -.04em;
  color: var(--c-ink);
}
.page-home .home-stat__label {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  color: var(--c-ink);
  margin-top: .35rem;
}
.page-home .home-stat__desc {
  display: block;
  font-family: var(--font-body);
  font-size: .75rem;
  line-height: 1.5;
  color: rgba(10, 31, 68, .72);
  margin-top: .5rem;
}
.page-home .home-stats__note {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(10, 31, 68, .22);
}
.page-home .home-badge {
  display: inline-block;
  border: 1px solid rgba(10, 31, 68, .25);
  background: rgba(245, 243, 239, .18);
  color: var(--c-ink);
  font-family: var(--font-data);
  font-size: .75rem;
  letter-spacing: .04em;
  padding: .35rem .6rem;
}

/* ====== 帮助中心 ====== */
.page-home .home-help {
  background: var(--c-paper);
  padding: var(--space-section) 0;
}
.page-home .home-help__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.page-home .home-help__head h2 {
  font-family: var(--font-head);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .75rem;
  color: var(--c-text);
}
.page-home .home-help__desc {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-muted);
  max-width: 38rem;
  margin: 0 0 1.5rem;
}
.page-home .home-help__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
}
.page-home .home-help__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.page-home .home-help-card {
  display: block;
  border: 1px solid var(--c-border);
  background: var(--c-paper);
  padding: 1.25rem;
  text-decoration: none;
  color: var(--c-text);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.page-home .home-help-card:hover,
.page-home .home-help-card:focus-visible {
  border-color: var(--c-ink);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.page-home .home-help-card__num {
  display: inline-block;
  font-family: var(--font-data);
  font-size: .75rem;
  color: var(--c-accent);
  margin-bottom: .5rem;
}
.page-home .home-help-card h3 {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 .4rem;
  color: var(--c-text);
}
.page-home .home-help-card p {
  font-family: var(--font-body);
  font-size: .875rem;
  line-height: 1.6;
  color: var(--c-muted);
  margin: 0;
}

/* ====== 最新动态 ====== */
.page-home .home-journal {
  background: var(--c-cream);
  padding: var(--space-section) 0;
}
.page-home .home-journal__head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.page-home .home-journal__head h2 {
  font-family: var(--font-head);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .75rem;
  color: var(--c-text);
}
.page-home .home-journal__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.page-home .home-journal-card {
  background: var(--c-paper);
  border-top: 3px solid var(--c-teal);
  padding: 1.5rem 1.25rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.page-home .home-journal-card:hover,
.page-home .home-journal-card:focus-within {
  border-top-color: var(--c-accent);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.page-home .home-journal-card h3 {
  font-family: var(--font-head);
  font-size: 1.125rem;
  line-height: 1.35;
  margin: .75rem 0 .5rem;
  color: var(--c-text);
}
.page-home .home-journal-card p {
  font-family: var(--font-body);
  font-size: .875rem;
  line-height: 1.65;
  color: var(--c-muted);
  margin: 0 0 .875rem;
}
.page-home .home-journal-card__link {
  font-family: var(--font-data);
  font-size: .8125rem;
  text-decoration: none;
  color: var(--c-accent);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.page-home .home-journal-card__link:hover,
.page-home .home-journal-card__link:focus-visible {
  border-bottom-color: var(--c-accent);
}

/* ====== 响应式 ====== */
@media (min-width: 768px) {
  .page-home .home-stats__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .page-home .home-help__cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .home-journal__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-home .home-journal__head {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero {
    display: flex;
    align-items: center;
    min-height: min(92vh, 900px);
    padding-top: calc(var(--header-h) + 1rem);
    padding-bottom: 3rem;
  }
  .page-home .home-hero__inner {
    grid-template-columns: 7fr 5fr;
    gap: 3rem;
  }
  .page-home .home-core__grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 3rem;
  }
  .page-home .home-core--data .home-core__media {
    order: 2;
  }
  .page-home .home-core--data .home-core__body {
    order: 1;
  }
}
