.page-home {
  display: block;
  overflow-x: clip;
}

/* ============ 封面 ============ */
.page-home .home-cover {
  padding-top: clamp(30px, 6vw, 68px);
  padding-bottom: clamp(8px, 2vw, 20px);
}

.page-home .home-cover__grid {
  display: grid;
  gap: clamp(32px, 6vw, 60px);
  align-items: end;
}

@media (min-width: 900px) {
  .page-home .home-cover__grid {
    grid-template-columns: minmax(0, 1.7fr) minmax(230px, 1fr);
    gap: clamp(40px, 6vw, 92px);
  }
}

.page-home .home-cover__title {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: clamp(44px, 7.4vw, 78px);
  font-weight: 200;
  line-height: 1.02;
  letter-spacing: 0.015em;
  color: var(--ink-blue);
}

.page-home .home-cover__lede {
  margin: 22px 0 0;
  max-width: 44ch;
  font-size: clamp(16px, 1.6vw, 17.5px);
  line-height: 1.75;
  color: var(--ink);
}

.page-home .home-cover__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.page-home .home-cover__index {
  border-top: 1px solid var(--rule-strong);
  padding-top: 18px;
}

.page-home .home-cover__index-head {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
}

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

.page-home .home-cover__index-list a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 2px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.page-home .home-cover__index-list a:hover,
.page-home .home-cover__index-list a:focus-visible {
  color: var(--sunset);
  padding-left: 6px;
}

.page-home .home-cover__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--sunset);
}

.page-home .home-cover__figure {
  margin: clamp(34px, 6vw, 62px) 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.page-home .home-cover__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* ============ 通用章节间距 ============ */
.page-home .home-entry,
.page-home .home-compare,
.page-home .home-mobile,
.page-home .home-leagues,
.page-home .home-euro,
.page-home .home-reach {
  margin-top: clamp(64px, 11vw, 132px);
}

.page-home .home-entry .section__head,
.page-home .home-compare .section__head,
.page-home .home-leagues .section__head,
.page-home .home-reach .section__head {
  max-width: 62ch;
}

/* ============ 01 进场 ============ */
.page-home .home-entry__grid {
  display: grid;
  gap: 18px;
  margin-top: clamp(28px, 4vw, 46px);
}

@media (min-width: 820px) {
  .page-home .home-entry__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .page-home .home-entry__item:nth-child(2) {
    transform: translateY(18px);
  }

  .page-home .home-entry__item:nth-child(3) {
    transform: translateY(-8px);
  }
}

.page-home .home-entry__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  color: var(--ink);
  text-decoration: none;
  transition: box-shadow 0.24s var(--ease), background-color 0.24s var(--ease);
}

.page-home .home-entry__item:hover,
.page-home .home-entry__item:focus-visible {
  background: #FFFDF8;
  box-shadow: var(--shadow-float);
}

.page-home .home-entry__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--sunset);
}

.page-home .home-entry__title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-blue);
}

.page-home .home-entry__text {
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--gray);
}

.page-home .home-entry__go {
  margin-top: auto;
  padding-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--lake);
}

/* ============ 02 控球与半场 ============ */
.page-home .home-compare__switch {
  margin-top: clamp(24px, 4vw, 38px);
}

.page-home .home-compare__panel {
  margin-top: 24px;
  display: grid;
  gap: 24px;
  align-items: center;
}

@media (min-width: 840px) {
  .page-home .home-compare__panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(28px, 4.5vw, 56px);
  }

  .page-home .home-compare__panel + .home-compare__panel {
    margin-top: 54px;
  }
}

.page-home .home-compare__figure,
.page-home .home-compare__chart {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.page-home .home-compare__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.page-home .home-line {
  display: block;
  width: 100%;
  height: auto;
  padding: 18px 14px 8px;
  box-sizing: border-box;
}

.page-home .home-compare__note h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 700;
  line-height: 1.28;
  color: var(--ink-blue);
}

.page-home .home-compare__note p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.78;
  color: var(--ink);
  max-width: 46ch;
}

.page-home .home-compare__legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}

.page-home .home-compare__legend li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray);
}

.page-home .home-compare__dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-pill);
  flex: 0 0 auto;
}

.page-home .home-compare__dot--home { background: var(--ink-blue); }
.page-home .home-compare__dot--away { background: var(--sunset); }
.page-home .home-compare__dot--tip { background: var(--neon); }

/* ============ 03 移动端 ============ */
.page-home .home-mobile__shell {
  width: min(1180px, 100% - 2 * clamp(20px, 5vw, 72px));
  margin-inline: auto;
  padding: clamp(34px, 6vw, 62px) 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(152deg, rgba(199, 220, 232, 0.92) 0%, rgba(199, 220, 232, 0.3) 100%);
}

.page-home .home-mobile__grid {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
  padding-inline: clamp(22px, 4vw, 52px);
}

@media (min-width: 880px) {
  .page-home .home-mobile__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
  }
}

.page-home .home-mobile__copy .section__title {
  margin-top: 8px;
}

.page-home .home-mobile__copy .section__lede {
  color: var(--ink);
}

.page-home .home-mobile__list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .home-mobile__list li {
  position: relative;
  padding-left: 22px;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--ink);
}

.page-home .home-mobile__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 2px;
  background: var(--sunset);
  border-radius: 2px;
}

.page-home .home-mobile__note {
  margin: 24px 0 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-blue);
  font-weight: 600;
}

.page-home .home-mobile__figure {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-float);
}

.page-home .home-mobile__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* ============ 04 联赛版本 ============ */
.page-home .home-leagues__grid {
  display: grid;
  gap: 20px;
  margin-top: clamp(26px, 4vw, 42px);
}

@media (min-width: 780px) {
  .page-home .home-leagues__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
  }
}

.page-home .home-leagues__card {
  padding: 22px 22px 26px;
  background: var(--white);
  border-top: 3px solid var(--lake);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-card);
}

.page-home .home-leagues__card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.36;
  color: var(--ink-blue);
}

.page-home .home-leagues__card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray);
}

.page-home .home-leagues__stat {
  margin: clamp(28px, 4vw, 40px) 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--rule-strong);
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.7;
  color: var(--ink);
}

.page-home .home-leagues__stat strong {
  font-family: var(--font-display);
  font-size: 1.32em;
  font-weight: 700;
  color: var(--sunset);
  font-variant-numeric: tabular-nums;
}

/* ============ 05 欧冠 ============ */
.page-home .home-euro {
  width: min(1180px, 100% - 2 * clamp(20px, 5vw, 72px));
  margin-inline: auto;
  padding: clamp(22px, 3.4vw, 34px);
  border-radius: var(--radius-lg);
  background: var(--ink-blue);
  box-sizing: border-box;
}

.page-home .home-euro__figure {
  margin: 0 0 clamp(26px, 4vw, 40px);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.page-home .home-euro__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.page-home .home-euro__copy {
  padding: 0 clamp(4px, 1.6vw, 20px) clamp(8px, 1.6vw, 18px);
  max-width: 68ch;
}

.page-home .home-euro__copy .section__index {
  color: var(--sunset-soft);
}

.page-home .home-euro__copy .section__title {
  color: var(--paper);
}

.page-home .home-euro__copy p {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.78;
  color: rgba(246, 241, 230, 0.82);
}

.page-home .home-euro__list {
  list-style: none;
  margin: 24px 0 30px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .home-euro__list li {
  position: relative;
  padding-left: 24px;
  font-size: 15.5px;
  line-height: 1.72;
  color: rgba(246, 241, 230, 0.9);
}

.page-home .home-euro__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: var(--radius-pill);
  background: var(--neon);
}

/* ============ 06 合作与答疑 ============ */
.page-home .home-reach__list {
  list-style: none;
  margin: clamp(26px, 4vw, 42px) 0 0;
  padding: 0;
  border-top: 1px solid var(--rule-strong);
}

.page-home .home-reach__row a {
  display: grid;
  gap: 10px;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.22s var(--ease);
}

@media (min-width: 860px) {
  .page-home .home-reach__row a {
    grid-template-columns: 108px minmax(0, 0.92fr) minmax(0, 1.25fr) auto;
    align-items: center;
    gap: 26px;
    padding: 28px 0;
  }

  .page-home .home-reach__row a:hover,
  .page-home .home-reach__row a:focus-visible {
    background: rgba(199, 220, 232, 0.32);
  }
}

.page-home .home-reach__row .pill {
  justify-self: start;
}

.page-home .home-reach__title {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.2vw, 23px);
  font-weight: 700;
  line-height: 1.34;
  color: var(--ink-blue);
}

.page-home .home-reach__text {
  font-size: 15px;
  line-height: 1.74;
  color: var(--gray);
}

.page-home .home-reach__go {
  font-size: 14px;
  font-weight: 600;
  color: var(--sunset);
  white-space: nowrap;
}

/* ============ 窄屏收口 ============ */
@media (max-width: 480px) {
  .page-home .home-cover__title {
    font-size: clamp(38px, 12vw, 52px);
  }

  .page-home .home-compare__note p,
  .page-home .home-entry__text,
  .page-home .home-reach__text {
    font-size: 15px;
  }

  .page-home .home-euro__copy .section__title {
    font-size: clamp(26px, 8vw, 32px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-entry__item,
  .page-home .home-reach__row a,
  .page-home .home-cover__index-list a {
    transition: none;
  }

  .page-home .home-entry__item:nth-child(2),
  .page-home .home-entry__item:nth-child(3) {
    transform: none;
  }
}
