/* ============================================
   88体育首页 .page-home 专属样式
   作用域：仅限 page-home
============================================ */
.page-home {
  background: var(--color-warm-paper);
  color: var(--color-space-ink);
}

/* ---------- 01 Hero ---------- */
.home-hero {
  position: relative;
  background: var(--color-warm-paper);
  overflow: hidden;
}
.home-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
}
.home-hero__copy {
  padding: 36px 20px 8px;
}
.home-hero__kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-gray-blue);
  letter-spacing: 0.04em;
  margin: 0 0 18px;
}
.home-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 8.5vw, 84px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  text-wrap: balance;
}
.home-hero__lede {
  font-size: 17px;
  line-height: 1.75;
  max-width: 34em;
  color: var(--color-deep-slate);
  margin: 0 0 28px;
}
.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.home-hero__visual {
  position: relative;
  min-height: 320px;
  background: var(--color-space-ink);
  overflow: hidden;
  margin-top: 24px;
  clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
}
.home-hero__visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  opacity: 0.55;
  display: block;
}
.home-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(7, 16, 31, 0.28) 0%, rgba(7, 16, 31, 0) 45%);
  pointer-events: none;
}
.home-hero__tags {
  position: absolute;
  top: 24px;
  left: 12px;
  right: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 1;
}
.home-hero__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-warm-paper);
  background: rgba(7, 16, 31, 0.82);
  border-left: 2px solid var(--color-active-orange);
  padding: 6px 10px;
  line-height: 1.4;
}
.home-hero__coord {
  position: absolute;
  right: 14px;
  bottom: 12px;
  display: flex;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(245, 239, 227, 0.75);
  letter-spacing: 0.06em;
  z-index: 1;
}
.home-hero__strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: var(--color-space-ink);
  color: var(--color-warm-paper);
  padding: 18px 20px 22px;
  gap: 18px;
}
.home-hero__strip-item strong {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  color: var(--color-signal-green);
}
.home-hero__strip-item span {
  font-size: 13px;
  color: var(--color-gray-blue);
  margin-top: 6px;
  display: block;
}

/* ---------- 通用 section 基础 ---------- */
.home-version,
.home-calendar,
.home-compare,
.home-legacy,
.home-detail,
.home-insight,
.home-source {
  padding: 60px 20px;
}
.home-version__inner,
.home-calendar__inner,
.home-compare__inner,
.home-legacy__inner,
.home-detail__inner,
.home-insight__inner,
.home-source__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}
.home-version .section-head,
.home-calendar .section-head,
.home-compare .section-head,
.home-legacy .section-head,
.home-detail .section-head,
.home-insight .section-head,
.home-source .section-head {
  margin-bottom: 36px;
}

/* 深色区块 */
.home-version,
.home-insight {
  background: var(--color-space-ink);
  color: var(--color-warm-paper);
}
.home-compare {
  background: var(--color-deep-slate);
  color: var(--color-warm-paper);
}
.home-detail {
  background: var(--color-sand);
}
.home-version .section-title,
.home-compare .section-title,
.home-insight .section-title {
  color: var(--color-warm-paper);
}
.home-version .section-index,
.home-compare .section-index,
.home-insight .section-index {
  color: var(--color-signal-green);
}

/* ---------- 02 2026新版 ---------- */
.home-version__grid {
  display: grid;
  gap: 28px;
}
.home-version__lead {
  font-size: 18px;
  line-height: 1.8;
  max-width: 46em;
  margin: 0;
}
.home-version__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.home-version__list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid rgba(245, 239, 227, 0.16);
}
.home-version__list li:last-child {
  border-bottom: 1px solid rgba(245, 239, 227, 0.16);
}
.home-version__list li > div {
  flex: 1;
}
.home-version__num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--color-signal-green);
  flex-shrink: 0;
  padding-top: 4px;
}
.home-version__list strong {
  display: block;
  font-size: 18px;
  color: var(--color-warm-paper);
  font-weight: 700;
}
.home-version__list p {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-gray-blue);
}

/* ---------- 03 体育赛事日历费用 ---------- */
.home-calendar {
  background: var(--color-warm-paper);
}
.home-calendar__grid {
  display: grid;
  gap: 28px;
}
.home-calendar__figure,
.home-compare__figure,
.home-insight__figure {
  margin: 0;
}
.home-calendar__figure img,
.home-compare__figure img,
.home-insight__figure img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.home-calendar__figure figcaption,
.home-compare__figure figcaption,
.home-insight__figure figcaption {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-gray-blue);
  margin-top: 8px;
  line-height: 1.5;
}
.home-calendar__table-wrap,
.home-compare__table-wrap,
.home-detail__table-wrap {
  overflow-x: auto;
}
.page-home .data-table th {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.page-home .data-table td {
  font-size: 15px;
  line-height: 1.6;
}
.page-home .data-table tbody tr:hover {
  background: rgba(29, 91, 200, 0.08);
}
.home-calendar__note,
.home-compare__note,
.home-detail__note {
  font-size: 13px;
  color: var(--color-gray-blue);
  margin: 14px 0 0;
}

/* ---------- 04 赛事价格对照两个版本 ---------- */
.page-home .badge--new {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--color-active-orange);
  color: var(--color-space-ink);
  padding: 3px 8px;
  border-radius: 2px;
  white-space: nowrap;
}
.page-home .badge--legacy {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--color-legacy-red);
  color: #fff;
  padding: 3px 8px;
  border-radius: 2px;
  white-space: nowrap;
}
.home-compare__grid {
  display: grid;
  gap: 28px;
}
.home-compare .data-table {
  background: rgba(255, 255, 255, 0.04);
}
.home-compare .data-table th {
  background: rgba(7, 16, 31, 0.55);
}
.home-compare .data-table th,
.home-compare .data-table td {
  color: var(--color-warm-paper);
  border-color: rgba(245, 239, 227, 0.16);
}
.home-compare .data-table tbody tr:hover {
  background: rgba(255, 90, 46, 0.14);
}
.home-compare__note {
  color: rgba(245, 239, 227, 0.7);
}

/* ---------- 05 旧版入口才有的赛事套餐费用 ---------- */
.home-legacy {
  background: var(--color-warm-paper);
}
.home-legacy__lead {
  font-size: 17px;
  line-height: 1.75;
  max-width: 52em;
  margin: 0 0 32px;
}
.home-legacy__cards {
  display: grid;
  gap: 20px;
}
.home-legacy__card {
  position: relative;
  background: var(--color-warm-paper);
  border: 1px dashed var(--color-line-muted);
  border-radius: 4px;
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-soft);
}
.home-legacy__card--feature {
  border-color: rgba(255, 90, 46, 0.55);
}
.home-legacy__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--color-legacy-red);
  background: rgba(198, 43, 46, 0.08);
  border-left: 2px solid var(--color-legacy-red);
  padding: 4px 8px;
  margin-bottom: 14px;
}
.home-legacy__price {
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
  color: var(--color-space-ink);
  margin-bottom: 18px;
}
.home-legacy__price small {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-gray-blue);
  margin-left: 4px;
}
.home-legacy__card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.home-legacy__card li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-deep-slate);
  padding: 7px 0;
  border-bottom: 1px solid var(--color-line-muted);
}
.home-legacy__card li:last-child {
  border-bottom: 0;
}
.home-legacy__order {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-legacy-red);
  letter-spacing: 0.04em;
  margin: 16px 0 0;
}
.home-legacy__note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-gray-blue);
  margin: 24px 0 0;
}

/* ---------- 06 体育体育赛事价格明细 ---------- */
.home-detail__table {
  min-width: 760px;
  width: 100%;
}
.home-detail__table td:nth-child(3) {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--color-active-orange);
  white-space: nowrap;
}

/* ---------- 07 站内检索与射门统计 ---------- */
.home-insight__grid {
  display: grid;
  gap: 28px;
}
.home-insight__content p {
  font-size: 17px;
  line-height: 1.75;
  margin: 0 0 22px;
}
.home-insight__fields {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  padding: 20px;
  margin: 0 0 24px;
}
.home-insight__fields h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-signal-green);
  margin: 0 0 14px;
}
.home-insight__fields ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 14px;
}
.home-insight__fields li {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--color-warm-paper);
  padding-left: 18px;
  position: relative;
}
.home-insight__fields li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--color-signal-green);
  transform: translateY(-50%);
}
.home-insight__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 08 持续更新与数据源头 ---------- */
.home-source {
  background: var(--color-warm-paper);
}
.home-source__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 34px;
}
.home-source__stat {
  background: var(--color-warm-paper);
  border: 1px solid var(--color-line-muted);
  border-radius: 4px;
  padding: 18px 16px;
}
.home-source__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  color: var(--color-space-ink);
}
.home-source__stat span {
  display: block;
  font-size: 13px;
  color: var(--color-gray-blue);
  margin-top: 6px;
}
.home-source__text {
  max-width: 68em;
}
.home-source__text p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-deep-slate);
  margin: 0 0 14px;
}
.home-source__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding-top: 18px;
  margin-top: 20px;
  border-top: 1px solid var(--color-line-muted);
}
.home-source__links a {
  font-size: 14px;
  color: var(--color-link-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 桌面端布局 ---------- */
@media (min-width: 860px) {
  .home-hero__inner {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    min-height: min(88vh, 860px);
  }
  .home-hero__copy {
    padding: 72px 40px 64px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .home-hero h1 {
    font-size: clamp(54px, 6.4vw, 92px);
    line-height: 1.08;
  }
  .home-hero__lede {
    font-size: 18px;
  }
  .home-hero__visual {
    margin-top: 0;
    min-height: 640px;
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
    margin-left: -9%;
    padding-left: 9%;
  }
  .home-hero__visual img {
    min-height: 640px;
  }
  .home-hero__tags {
    top: 40px;
    left: 7%;
    right: auto;
    flex-direction: column;
    gap: 10px;
  }
  .home-hero__coord {
    right: 24px;
    bottom: 18px;
  }
  .home-hero__strip {
    grid-template-columns: repeat(4, 1fr);
    padding: 20px 64px 24px;
  }
  .home-hero__strip-item strong {
    font-size: 44px;
  }

  .home-version,
  .home-calendar,
  .home-compare,
  .home-legacy,
  .home-detail,
  .home-insight,
  .home-source {
    padding: 88px 48px;
  }
  .home-version .section-head,
  .home-calendar .section-head,
  .home-compare .section-head,
  .home-legacy .section-head,
  .home-detail .section-head,
  .home-insight .section-head,
  .home-source .section-head {
    margin-bottom: 48px;
  }

  .home-version__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: start;
  }
  .home-version__lead {
    font-size: 20px;
  }
  .home-version__list li {
    padding: 22px 0;
  }

  .home-calendar__grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 48px;
    align-items: start;
  }

  .home-compare__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
  }

  .home-legacy__cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
  }

  .home-detail__table {
    min-width: 0;
  }

  .home-insight__grid {
    grid-template-columns: 1fr 0.9fr;
    gap: 48px;
    align-items: center;
  }

  .home-source__stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}
