.page-home {
  --home-gold: #FFD700;
  --home-red: #E63946;
  --home-cyan: #4DC3FF;
  --home-ink: #E8EDF5;
  --home-muted: #A0AEC0;
  --home-line: #2A3560;
  --home-card: #111633;
  background: var(--bg-primary);
  color: var(--text-light);
  overflow-x: hidden;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-primary);
  isolation: isolate;
}

.page-home .hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-home .hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.page-home .hero-slant {
  position: absolute;
  inset: auto 0 0 auto;
  z-index: -1;
  height: 72vh;
  width: 66%;
  background: linear-gradient(155deg, rgba(255, 215, 0, 0.28), rgba(255, 215, 0, 0.04));
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.page-home .hero-slant--red {
  inset: 0 auto auto 0;
  height: 56vh;
  width: 42%;
  background: linear-gradient(235deg, rgba(230, 57, 70, 0.32), rgba(230, 57, 70, 0.05));
  clip-path: polygon(0 0, 100% 0, 0 72%);
}

.page-home .hero-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.page-home .hero-kicker {
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.28em;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.page-home .hero-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-light);
  line-height: 1.1;
}

.page-home .hero-lead {
  margin: 1.2rem 0 0;
  font-family: var(--font-body);
  color: var(--text-silver);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 34rem;
  line-height: 1.8;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.page-home .hero-coord {
  position: absolute;
  z-index: 2;
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--home-muted);
}

.page-home .hero-coord--tl {
  top: 6.5rem;
  left: 1.25rem;
  writing-mode: vertical-rl;
  color: rgba(232, 237, 245, 0.7);
}

.page-home .hero-coord--br {
  right: 1.25rem;
  bottom: 1.5rem;
  color: rgba(255, 215, 0, 0.6);
}

/* ---------- 章节通用 ---------- */
.page-home .section-block {
  position: relative;
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.page-home .section-head {
  max-width: var(--container-narrow);
  margin-bottom: 3rem;
}

.page-home .section-index {
  display: block;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--accent-gold);
  margin-bottom: 0.6rem;
}

.page-home .section-kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--line-grid);
  border-left: 3px solid var(--accent-red);
  color: var(--text-silver);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.page-home .section-head h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: var(--text-h2);
  line-height: 1.35;
  color: var(--text-light);
}

.page-home .section-desc {
  margin: 0;
  color: var(--text-silver);
  line-height: 1.8;
}

/* ---------- 首发名单 ---------- */
.page-home .lineup-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.page-home .lineup-section::before,
.page-home .news-section::before,
.page-home .table-section::before {
  content: "";
  display: block;
  width: 5rem;
  height: 0.5rem;
  background: linear-gradient(90deg, var(--accent-gold), rgba(255, 215, 0, 0.2));
  margin-bottom: 2.5rem;
}

.page-home .lineup-ticker {
  margin: 0 0 3.5rem;
  border-top: 1px solid var(--line-grid);
  border-bottom: 1px solid var(--line-grid);
}

.page-home .lineup-grid {
  align-items: center;
}

.page-home .lineup-copy,
.page-home .lineup-media,
.page-home .team-copy,
.page-home .team-media,
.page-home .calendar-media,
.page-home .calendar-copy {
  grid-column: 1 / -1;
}

.page-home .lineup-subtitle {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  margin: 0 0 1rem;
  color: var(--text-light);
}

.page-home .lineup-text {
  color: var(--text-silver);
  line-height: 1.8;
  margin: 0 0 1.5rem;
}

.page-home .lineup-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
}

.page-home .lineup-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.page-home .lineup-list .legend-key {
  margin-top: 0.35rem;
  flex-shrink: 0;
}

.page-home .lineup-media {
  margin-top: 2rem;
}

.page-home .image-frame figcaption {
  margin-top: 0.8rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-silver);
  text-align: center;
}

/* ---------- 球队库 ---------- */
.page-home .team-section {
  background: var(--bg-primary);
}

.page-home .team-grid {
  align-items: center;
}

.page-home .team-subtitle {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  margin: 0 0 1rem;
  color: var(--text-light);
}

.page-home .team-text {
  color: var(--text-silver);
  line-height: 1.8;
  margin: 0 0 1.5rem;
}

.page-home .team-stats {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-home .team-stats li {
  flex: 1 1 6rem;
  background: var(--bg-secondary);
  border-top: 2px solid var(--accent-gold);
  padding: 1rem 0.8rem;
  text-align: center;
}

.page-home .team-stats b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent-gold);
}

.page-home .team-stats span {
  font-size: 0.8rem;
  color: var(--text-silver);
}

.page-home .team-media {
  margin-top: 2rem;
}

.page-home .team-chart-figure {
  margin: 0 auto;
  max-width: 540px;
  background: var(--bg-secondary);
  border: 1px solid var(--line-grid);
  padding: 1rem;
}

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

.page-home .team-chart-figure figcaption {
  margin-top: 0.8rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-silver);
}

/* ---------- 赛事日历 ---------- */
.page-home .calendar-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(77, 195, 255, 0.08) 180%);
  border-top: 1px solid var(--line-grid);
}

.page-home .calendar-grid {
  align-items: center;
}

.page-home .calendar-subtitle {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  color: var(--text-light);
  margin: 0 0 1rem;
}

.page-home .calendar-text {
  color: var(--text-silver);
  line-height: 1.8;
  margin: 0 0 1.2rem;
}

.page-home .calendar-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.page-home .calendar-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.4rem;
  color: var(--text-light);
}

.page-home .calendar-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  transform: rotate(45deg);
}

.page-home .calendar-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-home .calendar-media {
  margin-bottom: 2rem;
}

/* ---------- 赛事资讯 ---------- */
.page-home .news-section {
  background: var(--bg-secondary);
}

.page-home .news-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.page-home .news-grid {
  row-gap: 1.5rem;
}

.page-home .news-card {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  background: var(--bg-primary);
  border: 1px solid var(--line-grid);
  border-top: 3px solid var(--accent-cyan);
  padding: 1.5rem 1.2rem;
}

.page-home .news-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.45;
  margin: 0.9rem 0 0.6rem;
  color: var(--text-light);
}

.page-home .news-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-silver);
  margin: 0;
}

.page-home .news-card .tag-chip {
  align-self: flex-start;
}

.page-home .chart-note {
  margin-top: 2.5rem;
  padding: 1.5rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--line-grid);
}

.page-home .chart-note-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.page-home .chart-note-head p {
  margin: 0;
  font-weight: 600;
  color: var(--text-light);
}

.page-home .chart-svg {
  width: 100%;
  height: auto;
  display: block;
}

.page-home .news-cta {
  margin-top: 2.5rem;
  text-align: center;
}

/* ---------- 积分榜 ---------- */
.page-home .table-section {
  background: var(--bg-primary);
}

.page-home .table-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--line-grid);
  padding: 1rem;
}

.page-home .table-filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-bottom: 1px solid var(--line-grid);
  padding-bottom: 0.8rem;
  margin-bottom: 1rem;
}

.page-home .table-scroll {
  overflow-x: auto;
}

.page-home .standings-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 420px;
}

.page-home .standings-table th {
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-silver);
  padding: 0.7rem 0.6rem;
  border-bottom: 1px solid var(--line-grid);
}

.page-home .standings-table td {
  padding: 0.7rem 0.6rem;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(42, 53, 96, 0.55);
}

.page-home .standing-row--top {
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.13), rgba(255, 215, 0, 0.02) 40%, transparent 70%);
}

.page-home .standing-row--mid {
  background: linear-gradient(90deg, rgba(77, 195, 255, 0.1), transparent 50%);
}

.page-home .rank-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  background: var(--bg-primary);
  border: 1px solid var(--line-grid);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
}

.page-home .standing-row--top .rank-chip {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(255, 215, 0, 0.06);
}

.page-home .standing-row--mid .rank-chip {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(77, 195, 255, 0.06);
}

/* ---------- 支持与连接 ---------- */
.page-home .support-cta {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.12), rgba(255, 215, 0, 0.02));
}

.page-home .support-banner {
  border: 1px solid rgba(255, 215, 0, 0.25);
  padding: 2.5rem 1.2rem;
  text-align: center;
}

.page-home .support-title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  margin: 0 0 1rem;
  color: var(--text-light);
}

.page-home .support-desc {
  color: var(--text-silver);
  margin: 0 auto 1.5rem;
  max-width: 36rem;
  line-height: 1.7;
}

.page-home .support-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.page-home .support-meta {
  margin: 2rem 0 0;
  color: var(--text-silver);
  font-size: 0.8rem;
}

.page-home .support-meta a {
  color: var(--accent-gold);
  text-decoration-color: rgba(255, 215, 0, 0.4);
}

/* ---------- 滚动显现 ---------- */
.js .page-home [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-race), transform 0.8s var(--ease-race);
}

.js .page-home [data-reveal][data-reveal-delay] {
  transition-delay: 120ms;
}

.js .page-home [data-reveal].is-inview {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .page-home [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- 桌面端增强 ---------- */
@media (min-width: 768px) {
  .page-home .hero-coord--tl {
    top: 7rem;
    left: 2rem;
  }

  .page-home .hero-coord--br {
    right: 2rem;
    bottom: 2rem;
  }

  .page-home .lineup-copy,
  .page-home .lineup-media {
    grid-column: span 6;
  }

  .page-home .team-copy {
    grid-column: span 5;
  }

  .page-home .team-media {
    grid-column: span 7;
  }

  .page-home .calendar-media,
  .page-home .calendar-copy {
    grid-column: span 6;
  }

  .page-home .lineup-media,
  .page-home .team-media {
    margin-top: 0;
  }

  .page-home .calendar-media {
    margin-bottom: 0;
  }

  .page-home .team-grid,
  .page-home .calendar-grid {
    column-gap: 3rem;
  }

  .page-home .news-card {
    grid-column: span 4;
  }

  .page-home .news-grid {
    column-gap: 1.5rem;
  }

  .page-home .table-panel {
    padding: 1.5rem;
  }

  .page-home .support-banner {
    padding: 3.5rem 2.5rem;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero {
    min-height: 94vh;
  }

  .page-home .lineup-grid,
  .page-home .team-grid,
  .page-home .calendar-grid {
    column-gap: 4rem;
  }

  .page-home .team-chart-figure {
    max-width: 560px;
  }
}
