/* ===== 页面专属：home ===== */
.page-home {
  --home-clip: polygon(4% 0, 100% 0, 100% 96%, 0 100%);
  position: relative;
  overflow-x: hidden;
  background: var(--color-field);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
}

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

.page-home .container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px) {
  .page-home .container {
    padding-inline: 32px;
  }
}

.page-home .home-hero {
  padding: 40px 0 72px;
}

.page-home .home-update,
.page-home .home-changes,
.page-home .home-match,
.page-home .home-entry,
.page-home .home-faq {
  padding: 56px 0;
}

@media (min-width: 768px) {
  .page-home .home-hero {
    padding: 64px 0 96px;
  }
  .page-home .home-update,
  .page-home .home-changes,
  .page-home .home-match,
  .page-home .home-entry,
  .page-home .home-faq {
    padding: 80px 0;
  }
}

/* ===== 滚动显现：无 JS 时可读 ===== */
.page-home [data-reveal] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .page-home [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
    transition-delay: var(--reveal-delay, 0ms);
  }
  .page-home [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-home .reveal-delay-1 {
  --reveal-delay: 80ms;
}

.page-home .reveal-delay-2 {
  --reveal-delay: 160ms;
}

.page-home .reveal-delay-3 {
  --reveal-delay: 240ms;
}

/* ===== 章节通用 ===== */
.page-home .section-head {
  margin-bottom: var(--space-4);
}

.page-home .section-intro {
  margin: 0 0 var(--space-1);
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.page-home .section-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.page-home .section-desc {
  margin: var(--space-2) 0 0;
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 56ch;
}

@media (min-width: 960px) {
  .page-home .section-head--split {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--space-4);
  }
}

/* ===== 首屏 Hero ===== */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(30, 45, 79, 0.22) 80px),
    linear-gradient(120deg, var(--color-field) 0%, var(--color-panel) 60%, var(--color-night) 100%);
  border-bottom: 1px solid var(--color-border);
}

.page-home .home-hero__breadcrumb {
  margin-bottom: 32px;
}

.page-home .home-hero__inner {
  display: grid;
  gap: 36px;
  align-items: center;
}

.page-home .home-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.page-home .home-hero__kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--color-primary);
}

.page-home .home-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(34px, 6.4vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 20px;
}

.page-home .home-hero__title-highlight {
  display: block;
  color: var(--color-primary);
}

.page-home .home-hero__lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-muted);
  max-width: 60ch;
  margin: 0 0 28px;
}

.page-home .home-hero__lead strong {
  color: var(--color-text);
  font-weight: 600;
}

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

.page-home .home-hero__classic {
  position: relative;
}

@media (prefers-reduced-motion: no-preference) {
  .page-home .home-hero__classic::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 2px solid var(--color-accent);
    opacity: 0;
    animation: home-pulse 2.4s ease-out infinite;
  }

  @keyframes home-pulse {
    0% {
      opacity: 0.6;
      transform: scale(1);
    }
    70% {
      opacity: 0;
      transform: scale(1.06);
    }
    100% {
      opacity: 0;
      transform: scale(1.06);
    }
  }
}

.page-home .home-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  list-style: none;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--color-border);
}

.page-home .home-hero__stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  color: var(--color-text);
}

.page-home .home-hero__stat-label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--color-muted);
}

.page-home .home-hero__visual {
  position: relative;
}

.page-home .home-hero__imgwrap {
  position: relative;
  overflow: hidden;
  height: 320px;
  min-height: 300px;
  clip-path: polygon(10% 0, 100% 0, 100% 92%, 0 100%);
  background: var(--color-panel);
}

.page-home .home-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.1) contrast(1.05);
}

.page-home .home-hero__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--color-accent);
  color: var(--color-night);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(255, 122, 26, 0.35);
}

.page-home .home-hero__status-card {
  position: absolute;
  left: 20px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--color-night);
  border: 1px solid rgba(0, 255, 136, 0.4);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.page-home .home-hero__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary);
}

.page-home .home-hero__speed-lines {
  position: absolute;
  left: 0;
  right: 0;
  top: 40px;
  width: 100%;
  height: 90px;
  opacity: 0.55;
  pointer-events: none;
}

@media (min-width: 900px) {
  .page-home .home-hero__inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
  }
  .page-home .home-hero__imgwrap {
    height: 520px;
  }
}

/* ===== 新版更新总览 ===== */
.page-home .home-update {
  position: relative;
  border-bottom: 1px solid var(--color-border);
}

.page-home .home-update__grid {
  display: grid;
  gap: 40px;
}

.page-home .home-update__panel-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 20px;
}

.page-home .home-update__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.page-home .home-update__steps::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-border));
}

.page-home .home-update__step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 0 0 20px;
}

.page-home .home-update__step:last-child {
  padding-bottom: 0;
}

.page-home .home-update__step-year {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--color-primary);
  background: var(--color-field);
  border: 2px solid var(--color-border);
  border-radius: 999px;
  text-align: center;
  width: 44px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-home .home-update__step--now .home-update__step-year {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-night);
}

.page-home .home-update__step-body strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.page-home .home-update__step-body p {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.page-home .home-update__classic {
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.page-home .home-update__classic::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, transparent 50%, rgba(255, 122, 26, 0.18) 50%, rgba(255, 122, 26, 0.18) 75%, transparent 75%);
}

.page-home .home-update__classic p {
  margin: 0 0 16px;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.8;
}

.page-home .home-update__highlight {
  color: var(--color-primary);
}

.page-home .home-update__points {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .home-update__points li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--color-text);
}

.page-home .home-update__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-primary);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

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

@media (min-width: 920px) {
  .page-home .home-update__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
  }
  .page-home .home-update__panel-title {
    font-size: 28px;
  }
}

/* ===== 核心变化索引 ===== */
.page-home .home-changes {
  background:
    linear-gradient(180deg, var(--color-night), var(--color-field) 90%),
    repeating-linear-gradient(45deg, transparent, transparent 18px, rgba(255, 255, 255, 0.03) 18px, rgba(255, 255, 255, 0.03) 19px);
}

.page-home .home-changes__grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

.page-home .home-changes__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-panel);
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
}

.page-home .home-changes__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(0, 255, 136, 0.14) 100%);
  pointer-events: none;
}

.page-home .home-changes__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 720px) {
  .page-home .home-changes__media {
    aspect-ratio: 4 / 5;
  }
}

.page-home .home-changes__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.page-home .home-changes__table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
}

.page-home .home-changes__table th,
.page-home .home-changes__table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.page-home .home-changes__table thead th {
  background: var(--color-panel);
  color: var(--color-text);
  font-weight: 700;
  white-space: nowrap;
}

.page-home .home-changes__table tbody tr:first-child td {
  border-top: 2px solid var(--color-border);
}

.page-home .home-changes__table tbody td:first-child {
  color: var(--color-text);
  font-weight: 600;
  white-space: nowrap;
}

.page-home .home-changes__table tbody td:last-child {
  color: var(--color-primary);
  font-weight: 600;
}

.page-home .home-changes__table tbody tr:hover td {
  background: rgba(18, 34, 74, 0.55);
}

@media (min-width: 920px) {
  .page-home .home-changes__grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
  }
}

/* ===== 今日赛事焦点 ===== */
.page-home .home-match__layout {
  display: grid;
  gap: 32px;
}

.page-home .home-match__board {
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
}

.page-home .home-match__tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.page-home .home-match__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.page-home .home-match__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 22px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-muted);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.page-home .home-match__radio:checked + .home-match__tab {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-night);
}

.page-home .home-match__radio:focus-visible + .home-match__tab {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.page-home .home-match__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-match__list--basketball {
  display: none;
}

.page-home #tab-football:checked ~ .home-match__list--football {
  display: block;
}

.page-home #tab-football:checked ~ .home-match__list--basketball {
  display: none;
}

.page-home #tab-basketball:checked ~ .home-match__list--football {
  display: none;
}

.page-home #tab-basketball:checked ~ .home-match__list--basketball {
  display: block;
}

.page-home .home-match__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.page-home .home-match__item:last-child {
  border-bottom: 0;
}

.page-home .home-match__item::after {
  content: "→";
  margin-left: auto;
  color: var(--color-primary);
  font-weight: 800;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity var(--transition), transform var(--transition);
}

.page-home .home-match__item:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.page-home .home-match__tag {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 255, 136, 0.12);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
}

.page-home .home-match__match {
  flex: 1;
  min-width: 0;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .home-match__score {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--color-text);
  white-space: nowrap;
}

.page-home .home-match__time {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--color-primary);
  background: rgba(0, 255, 136, 0.1);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}

.page-home .home-match__note {
  font-size: 13px;
  color: var(--color-muted);
  margin: 16px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-home .home-match__note::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary);
}

.page-home .home-match__visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-panel);
}

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

@media (min-width: 920px) {
  .page-home .home-match__layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
  }
  .page-home .home-match__visual img {
    aspect-ratio: auto;
  }
}

.page-home .home-match__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.page-home .home-match__stat {
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 18px;
}

.page-home .home-match__stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  color: var(--color-primary);
}

.page-home .home-match__stat-label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--color-muted);
}

@media (min-width: 720px) {
  .page-home .home-match__stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== 功能与内容入口 ===== */
.page-home .home-entry {
  background: var(--color-night);
  border-top: 1px solid var(--color-border);
}

.page-home .home-entry__grid {
  display: grid;
  gap: 20px;
}

.page-home .home-entry__card {
  position: relative;
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.page-home .home-entry__card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 255, 136, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.page-home .home-entry__index {
  display: inline-flex;
  align-items: center;
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 16px;
}

.page-home .home-entry__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
}

.page-home .home-entry__card p {
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.page-home .home-entry__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  border-radius: 999px;
  padding: 8px 16px;
  margin-left: -16px;
  transition: background var(--transition), color var(--transition);
}

.page-home .home-entry__link:hover {
  background: rgba(0, 255, 136, 0.12);
  color: var(--color-primary);
}

.page-home .home-entry__link::after {
  content: "→";
  transition: transform var(--transition);
}

.page-home .home-entry__link:hover::after {
  transform: translateX(4px);
}

@media (min-width: 720px) {
  .page-home .home-entry__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.page-home .home-entry__feature {
  margin-top: 32px;
  display: grid;
  gap: 24px;
  background: linear-gradient(120deg, var(--color-field), var(--color-panel));
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  overflow: hidden;
}

.page-home .home-entry__feature-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 12px;
}

.page-home .home-entry__feature-copy p {
  color: var(--color-muted);
  line-height: 1.8;
  margin: 0;
}

.page-home .home-entry__feature-media {
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.page-home .home-entry__feature-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

@media (min-width: 900px) {
  .page-home .home-entry__feature {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    padding: 32px;
  }
}

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

.page-home .home-entry__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--color-text);
  font-weight: 600;
}

.page-home .home-entry__trust-item::before {
  content: "✔";
  color: var(--color-primary);
  font-weight: 800;
}

/* ===== 常见问题速览 ===== */
.page-home .home-faq__list {
  display: grid;
  gap: 14px;
}

.page-home .home-faq__item {
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.page-home .home-faq__item[open] {
  border-color: rgba(0, 255, 136, 0.4);
}

.page-home .home-faq__question {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
}

.page-home .home-faq__question::-webkit-details-marker {
  display: none;
}

.page-home .home-faq__question::after {
  content: "+";
  flex-shrink: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  color: var(--color-primary);
  transition: transform var(--transition);
}

.page-home .home-faq__item[open] .home-faq__question::after {
  transform: rotate(45deg);
}

.page-home .home-faq__answer {
  padding: 0 22px 20px;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.8;
}

.page-home .home-faq__answer p {
  margin: 0;
}

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

@media (min-width: 768px) {
  .page-home .home-faq__list {
    max-width: 820px;
    margin-inline: auto;
  }
}
