.page-home {
  --home-border: rgba(255, 255, 255, 0.12);
  --home-border-soft: rgba(255, 255, 255, 0.07);
  --home-green-soft: rgba(57, 255, 20, 0.14);
  --home-orange-soft: rgba(255, 107, 0, 0.14);
  --home-blue-soft: rgba(30, 111, 255, 0.16);
  background: var(--color-deep);
  color: var(--color-white);
  font-family: var(--font-body);
  line-height: 1.6;
}

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

.page-home a {
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

/* ---------- 面包屑 ---------- */
.page-home .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-mist);
  margin-bottom: 22px;
}

.page-home .breadcrumb__link {
  color: var(--color-sky);
  text-decoration: none;
}

.page-home .breadcrumb__link:hover {
  color: var(--color-green);
}

.page-home .breadcrumb__current {
  color: var(--color-mist);
}

/* ---------- 悬浮胶囊按钮（本页局部增强） ---------- */
.page-home .pop-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
}

.page-home .pop-cta--primary {
  background: var(--color-green);
  color: var(--color-deep);
  box-shadow: 0 12px 32px -12px rgba(57, 255, 20, 0.6);
}

.page-home .pop-cta--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -12px rgba(57, 255, 20, 0.75);
}

.page-home .pop-cta--ghost {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: var(--color-white);
}

.page-home .pop-cta--ghost:hover {
  border-color: var(--color-green);
  color: var(--color-green);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  padding: 112px 0 42px;
  background: var(--color-deep);
  overflow: hidden;
  color: var(--color-white);
}

.page-home .home-hero__bg,
.page-home .home-hero__bg img {
  position: absolute;
  inset: 0;
}

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

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

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7, 18, 36, 0.55) 0%, rgba(11, 27, 61, 0.82) 70%, var(--color-deep) 100%);
  pointer-events: none;
}

.page-home .home-hero__lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.page-home .home-hero__grid,
.page-home .home-hero__preview,
.page-home .home-hero__scroll {
  position: relative;
  z-index: 3;
}

.page-home .home-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
  align-items: center;
}

.page-home .home-hero__content {
  max-width: 760px;
}

.page-home .home-hero__site {
  display: block;
  font-size: 0.52em;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-sky);
  margin-bottom: 10px;
}

.page-home .home-hero__sep {
  display: none;
}

.page-home .home-hero__slogan {
  display: block;
  color: var(--color-white);
}

.page-home .home-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.12;
  font-weight: 800;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

.page-home .home-hero__lead {
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-mist);
  max-width: 680px;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home .home-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--home-border-soft);
  position: relative;
  overflow: hidden;
}

.page-home .home-hero__stats::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-sport);
}

.page-home .home-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.page-home .home-stat:hover {
  transform: translateY(-3px);
}

.page-home .home-stat--green {
  box-shadow: inset 0 0 0 1px rgba(57, 255, 20, 0.24);
}

.page-home .home-stat--green:hover {
  background: var(--home-green-soft);
}

.page-home .home-stat--blue {
  box-shadow: inset 0 0 0 1px rgba(30, 111, 255, 0.24);
}

.page-home .home-stat--blue:hover {
  background: var(--home-blue-soft);
}

.page-home .home-stat--orange {
  box-shadow: inset 0 0 0 1px rgba(255, 107, 0, 0.24);
}

.page-home .home-stat--orange:hover {
  background: var(--home-orange-soft);
}

.page-home .home-stat--plain {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.page-home .home-stat--plain:hover {
  background: rgba(255, 255, 255, 0.08);
}

.page-home .home-stat__num {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.1;
}

.page-home .home-stat--green .home-stat__num {
  color: var(--color-green);
  text-shadow: 0 0 24px rgba(57, 255, 20, 0.35);
}

.page-home .home-stat--blue .home-stat__num {
  color: var(--color-blue);
}

.page-home .home-stat--orange .home-stat__num {
  color: var(--color-orange);
}

.page-home .home-stat--plain .home-stat__num {
  color: var(--color-white);
}

.page-home .home-stat__label {
  font-size: 13px;
  color: var(--color-mist);
  letter-spacing: 0.04em;
}

/* ---------- 章节预览 ---------- */
.page-home .home-hero__preview {
  margin-top: 48px;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.page-home .home-hero__preview::-webkit-scrollbar {
  display: none;
}

.page-home .preview-item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--home-border-soft);
  color: var(--color-white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.page-home .preview-item:hover {
  border-color: var(--color-green);
  background: var(--home-green-soft);
  color: var(--color-green);
}

.page-home .preview-item__no {
  font-size: 12px;
  font-weight: 800;
  color: var(--color-orange);
  letter-spacing: 0.1em;
}

.page-home .home-hero__scroll {
  margin-top: 28px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

/* ---------- 斜切色带 ---------- */
.page-home .home-strip {
  height: 72px;
  background: linear-gradient(105deg, transparent 0%, transparent 55%, var(--color-green) 55%, var(--color-green) 57%, transparent 57%),
    linear-gradient(75deg, transparent 0%, transparent 45%, var(--color-orange) 45%, var(--color-orange) 47%, transparent 47%);
  opacity: 0.9;
}

.page-home .home-strip--alt {
  background: linear-gradient(105deg, transparent 0%, transparent 30%, var(--color-blue) 30%, var(--color-blue) 32%, transparent 32%),
    linear-gradient(75deg, transparent 0%, transparent 65%, var(--color-green) 65%, var(--color-green) 67%, transparent 67%);
}

/* ---------- 通用章节框架 ---------- */
.page-home .home-section {
  position: relative;
  padding: clamp(72px, 10vw, 150px) 0;
  overflow: hidden;
}

.page-home .floor-label {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-green);
  margin: 0 0 16px;
  font-weight: 700;
}

.page-home .section-intro {
  color: var(--color-mist);
  font-size: 16px;
  line-height: 1.8;
  margin: 16px 0 0;
  max-width: 620px;
}

.page-home .section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-green);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  margin-top: 24px;
}

.page-home .section-link:hover {
  color: var(--color-white);
  border-bottom-color: var(--color-green);
}

/* ---------- 01 联赛导航 ---------- */
.page-home .section-league {
  background: var(--color-deep);
}

.page-home .section-league::after {
  content: "01";
  position: absolute;
  right: -15px;
  top: 32px;
  font-size: 130px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  font-family: var(--font-display);
  letter-spacing: -0.04em;
}

.page-home .section-league__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: start;
}

.page-home .section-league__heading {
  max-width: 560px;
}

.page-home .league-table {
  border-top: 1px solid var(--home-border);
  background: rgba(255, 255, 255, 0.02);
}

.page-home .league-table__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 18px 10px;
  border-bottom: 1px solid var(--home-border-soft);
  transition: background-color 0.2s ease, padding-left 0.2s ease;
}

.page-home .league-table__row:hover {
  background: var(--color-glass);
  padding-left: 18px;
}

.page-home .league-table__no {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  color: var(--color-orange);
}

.page-home .league-table__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--color-white);
}

.page-home .league-table__round {
  font-size: 13px;
  color: var(--color-mist);
  white-space: nowrap;
  text-align: right;
}

.page-home .league-table__badge {
  grid-column: 3;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: var(--home-green-soft);
  color: var(--color-green);
  border: 1px solid rgba(57, 255, 20, 0.24);
}

@media (min-width: 768px) {
  .page-home .league-table__row {
    grid-template-columns: auto 1fr auto auto;
    gap: 16px;
  }

  .page-home .league-table__badge {
    grid-column: auto;
  }
}

/* ---------- 02 球队库资源 ---------- */
.page-home .section-teams {
  background: var(--color-deeper);
}

.page-home .section-teams::after {
  content: "02";
  position: absolute;
  right: -15px;
  bottom: 24px;
  font-size: 130px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  font-family: var(--font-display);
  letter-spacing: -0.04em;
}

.page-home .section-teams__decor {
  display: none;
}

.page-home .section-teams__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: start;
}

.page-home .section-teams__heading {
  max-width: 560px;
}

.page-home .team-breakdown {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.page-home .team-breakdown__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border-left: 4px solid var(--color-blue);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.page-home .team-breakdown__item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
}

.page-home .team-breakdown__item--premier {
  border-left-color: var(--color-green);
}

.page-home .team-breakdown__item--laliga {
  border-left-color: var(--color-orange);
}

.page-home .team-breakdown__item--bundesliga {
  border-left-color: var(--color-blue);
}

.page-home .team-breakdown__item--seriea {
  border-left-color: var(--color-sky);
}

.page-home .team-breakdown__item--ligue1 {
  border-left-color: rgba(255, 255, 255, 0.6);
}

.page-home .team-breakdown__league {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--color-white);
}

.page-home .team-breakdown__count {
  font-size: 14px;
  color: var(--color-mist);
  font-weight: 600;
}

/* ---------- 03 开赛阵容实时刷新 ---------- */
.page-home .section-lineup {
  background: var(--color-deep);
}

.page-home .section-lineup::after {
  content: "03";
  position: absolute;
  left: -15px;
  top: 28px;
  font-size: 130px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  font-family: var(--font-display);
  letter-spacing: -0.04em;
}

.page-home .section-lineup__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.page-home .section-lineup__visual {
  position: relative;
  border-radius: 32px;
  padding: 16px;
  background: linear-gradient(145deg, var(--home-green-soft), rgba(11, 27, 61, 0.4));
  border: 1px solid rgba(57, 255, 20, 0.28);
  transform: rotate(-1.5deg);
  transition: transform 0.3s ease;
  max-width: 520px;
}

.page-home .section-lineup__visual:hover {
  transform: rotate(0deg);
}

.page-home .section-lineup__visual img {
  border-radius: 22px;
  width: 100%;
}

.page-home .section-lineup__figure {
  margin: 0;
}

.page-home .section-lineup__content {
  max-width: 600px;
}

.page-home .lineup-points {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.page-home .lineup-points li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid var(--home-border-soft);
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
}

.page-home .lineup-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 14px;
  height: 3px;
  background: var(--color-green);
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.5);
}

/* ---------- 04 数据面板收藏 ---------- */
.page-home .section-panel {
  background: var(--color-deeper);
}

.page-home .section-panel::after {
  content: "04";
  position: absolute;
  right: -15px;
  bottom: 24px;
  font-size: 130px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  font-family: var(--font-display);
  letter-spacing: -0.04em;
}

.page-home .section-panel__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.page-home .section-panel__content {
  max-width: 600px;
}

.page-home .panel-points {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.page-home .panel-points li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid var(--home-border-soft);
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
}

.page-home .panel-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 14px;
  height: 3px;
  background: var(--color-orange);
  box-shadow: 0 0 12px rgba(255, 107, 0, 0.45);
}

.page-home .section-panel__visual {
  border-radius: 28px;
  padding: 14px;
  background: var(--home-blue-soft);
  border: 1px solid rgba(30, 111, 255, 0.3);
  transform: rotate(1deg);
  transition: transform 0.3s ease;
}

.page-home .section-panel__visual:hover {
  transform: rotate(0deg);
}

.page-home .section-panel__visual img {
  border-radius: 18px;
  width: 100%;
}

.page-home .section-panel__figure {
  margin: 0;
}

/* ---------- 05 历史交锋筛选 ---------- */
.page-home .section-h2h {
  background: var(--color-deep);
}

.page-home .section-h2h::after {
  content: "05";
  position: absolute;
  left: -15px;
  top: 28px;
  font-size: 130px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  font-family: var(--font-display);
  letter-spacing: -0.04em;
}

.page-home .section-h2h__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.page-home .section-h2h__content {
  max-width: 600px;
}

.page-home .h2h-steps {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  counter-reset: h2h;
}

.page-home .h2h-steps li {
  position: relative;
  padding: 16px 16px 16px 58px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  margin-bottom: 12px;
  counter-increment: h2h;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
}

.page-home .h2h-steps li::before {
  content: counter(h2h, decimal-leading-zero);
  position: absolute;
  left: 10px;
  top: 8px;
  font-size: 26px;
  font-weight: 800;
  color: var(--color-orange);
  font-family: var(--font-display);
}

.page-home .section-h2h__visual {
  border-radius: 24px;
  padding: 14px;
  background: var(--home-orange-soft);
  border: 1px solid rgba(255, 107, 0, 0.28);
}

.page-home .section-h2h__visual img {
  border-radius: 16px;
  width: 100%;
}

.page-home .section-h2h__figure {
  margin: 0;
}

/* ---------- 图注 ---------- */
.page-home .figure-caption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--color-mist);
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0 8px;
}

/* ---------- 结尾区域 ---------- */
.page-home .home-outro {
  background: var(--color-deeper);
  text-align: center;
  padding-bottom: 44px;
}

.page-home .home-outro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(57, 255, 20, 0.08), transparent 60%);
  pointer-events: none;
}

.page-home .home-outro__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.page-home .home-outro__slogan {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.16;
  color: var(--color-white);
  margin: 0 0 20px;
}

.page-home .home-outro__text {
  color: var(--color-mist);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 16px;
}

.page-home .home-outro__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.page-home .outro-link {
  display: inline-flex;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  color: var(--color-white);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.page-home .outro-link:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
}

.page-home .home-outro__foot {
  position: relative;
  z-index: 1;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.2em;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- 响应式：768px ---------- */
@media (min-width: 768px) {
  .page-home .home-hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .page-home .home-hero__preview {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow: visible;
  }

  .page-home .preview-item {
    justify-content: center;
  }

  .page-home .section-league__grid,
  .page-home .section-teams__grid,
  .page-home .section-lineup__grid,
  .page-home .section-panel__grid,
  .page-home .section-h2h__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 56px;
  }

  .page-home .team-breakdown {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .page-home .section-lineup__visual {
    margin: 0 auto;
  }

  .page-home .section-panel__grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .section-panel__grid .section-panel__content {
    order: 1;
  }

  .page-home .section-panel__grid .section-panel__visual {
    order: 0;
  }
}

/* ---------- 响应式：1024px ---------- */
@media (min-width: 1024px) {
  .page-home .home-hero {
    padding-top: 136px;
  }

  .page-home .home-hero__grid {
    grid-template-columns: 1.4fr 0.9fr;
    gap: 72px;
  }

  .page-home .home-hero__stats {
    padding: 24px;
  }

  .page-home .section-league__grid,
  .page-home .section-teams__grid,
  .page-home .section-lineup__grid,
  .page-home .section-panel__grid,
  .page-home .section-h2h__grid {
    gap: 80px;
  }

  .page-home .section-teams__decor {
    display: block;
    position: absolute;
    right: -18px;
    top: 96px;
    writing-mode: vertical-rl;
    font-size: 14px;
    letter-spacing: 0.4em;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.12);
    text-transform: uppercase;
  }

  .page-home .home-hero__scroll {
    display: none;
  }
}
