.page-home {
  --hero-title: clamp(2.6rem, 9vw, 6.4rem);
  --section-block-pad: clamp(56px, 8vw, 104px);
  background: var(--c-white);
  color: var(--c-dark);
}

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

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

.page-home a:focus-visible,
.page-home summary:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ===== 01 主视觉封面 ===== */
.page-home .hero-cover {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: 72px 0 52px;
  background: var(--c-primary);
  color: var(--c-white);
  isolation: isolate;
  overflow: hidden;
}

.page-home .hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.page-home .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(10, 31, 68, 0.96) 0%, rgba(10, 31, 68, 0.78) 48%, rgba(10, 31, 68, 0.34) 100%),
    linear-gradient(to top, var(--c-primary) 4%, transparent 42%);
}

.page-home .hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
  padding-top: 48px;
}

.page-home .hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-electric);
}

.page-home .page-context {
  color: rgba(255, 255, 255, 0.6);
}

.page-home .hero-meta .status-clock {
  margin-left: auto;
}

.page-home .hero-cover h1 {
  margin: 0;
  font-family: var(--font-headline);
  font-size: var(--hero-title);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--c-white);
}

.page-home .hero-cover h1 em {
  display: block;
  font-style: normal;
  color: var(--c-gold);
}

.page-home .hero-lead {
  max-width: 58ch;
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.86);
}

.page-home .hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 44px;
  margin-top: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.page-home .hero-stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-headline);
}

.page-home .stat-num {
  font-family: var(--font-headline);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--c-gold);
}

.page-home .hero-stat sup {
  font-size: 1rem;
  color: var(--c-accent);
  line-height: 1;
}

.page-home .hero-stat label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.03em;
}

.page-home .hero-cta {
  align-self: flex-start;
  margin-top: 8px;
}

/* ===== 章节索引条 ===== */
.page-home .chapter-strip {
  background: var(--c-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .chapter-strip-inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.page-home .chapter-strip-inner::-webkit-scrollbar {
  display: none;
}

.page-home .chapter-strip a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  white-space: nowrap;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, color 0.2s ease;
}

.page-home .chapter-strip a span {
  font-weight: 700;
  color: var(--c-accent);
}

.page-home .chapter-strip a:hover,
.page-home .chapter-strip a.is-active {
  background: var(--c-primary);
  color: var(--c-white);
}

/* ===== 通用章节头 ===== */
.page-home .section {
  padding-block: var(--section-block-pad);
}

.page-home .section-head {
  margin-bottom: 34px;
}

.page-home .section-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.page-home .section-title {
  margin: 0;
  font-family: var(--font-headline);
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  line-height: 1.08;
  text-transform: uppercase;
  color: var(--c-dark);
}

.page-home .section-desc {
  max-width: 74ch;
  margin: 14px 0 0;
  font-size: 0.98rem;
  line-height: 1.72;
  color: var(--c-gray);
}

/* ===== 02 数据看板 ===== */
.page-home .data-board {
  background: var(--c-light);
}

.page-home .board-grid {
  display: grid;
  gap: 28px;
  align-items: start;
}

.page-home .board-plaque {
  padding: 26px 24px;
}

.page-home .board-intro {
  margin: 0 0 24px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-dark);
}

.page-home .meter-list {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--c-border);
}

.page-home .meter-row {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
  color: var(--c-dark);
}

.page-home .meter-row strong {
  font-weight: 700;
  color: var(--c-gold);
}

.page-home .meter-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-electric);
  box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.55);
  animation: qhm-pulse 2s infinite;
}

@keyframes qhm-pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(0, 229, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

.page-home .data-big-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--c-border);
}

.page-home .data-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .data-cell .data-number {
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1;
  color: var(--c-primary);
}

.page-home .data-number em {
  font-style: normal;
  color: var(--c-accent);
}

.page-home .data-unit {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-gray);
}

.page-home .board-visual {
  position: relative;
  margin-left: 12px;
}

.page-home .board-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  clip-path: polygon(0 5%, 100% 0, 100% 93%, 0 100%);
}

.page-home .board-visual .diagonal-accent {
  position: absolute;
  top: -14px;
  right: 20px;
  width: 58px;
  height: 10px;
  transform: rotate(-6deg);
  background: var(--c-accent);
}

.page-home .board-visual .rotate-note {
  position: absolute;
  left: 10px;
  top: 26px;
  color: var(--c-white);
  mix-blend-mode: overlay;
  font-size: 13px;
}

/* ===== 03 赛程回看 ===== */
.page-home .replay-wall {
  background: var(--c-primary);
}

.page-home .replay-wall .section-title {
  color: var(--c-white);
}

.page-home .replay-wall .section-desc {
  color: rgba(255, 255, 255, 0.72);
}

.page-home .replay-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.page-home .replay-list {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.page-home .replay-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 16px;
  align-items: center;
  padding: 18px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.page-home .replay-time {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--c-gray);
}

.page-home .replay-teams {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-headline);
  font-size: 1.14rem;
  font-weight: 600;
  color: var(--c-white);
}

.page-home .replay-teams em {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--c-accent);
}

.page-home .replay-detail {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.66);
}

.page-home .replay-status {
  justify-self: start;
}

.page-home .replay-note {
  max-width: 64ch;
  margin: 20px 0 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
}

.page-home .replay-cta {
  margin-top: 22px;
}

/* ===== 04 球队库索引 ===== */
.page-home .teams-index {
  background: var(--c-light);
}

.page-home .index-browser {
  padding: 20px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
}

.page-home .alpha-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--c-border);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-gray);
}

.page-home .alpha-strip strong {
  color: var(--c-accent);
}

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

.page-home .team-item {
  border: 1px solid var(--c-border);
  background: var(--c-white);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.page-home .team-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.page-home .team-item summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

.page-home .team-item summary::-webkit-details-marker {
  display: none;
}

.page-home .team-code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--c-accent);
}

.page-home .team-name {
  font-family: var(--font-headline);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--c-dark);
}

.page-home .team-tag {
  margin-left: auto;
  font-size: 12px;
  color: var(--c-gray);
}

.page-home .team-mini {
  margin: 0 16px 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--c-border);
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--c-gray);
}

.page-home .team-mini-label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-electric);
}

.page-home .team-mini p {
  margin: 0 0 10px;
}

/* ===== 05 复盘专栏 ===== */
.page-home .review-gallery {
  background: var(--c-white);
}

.page-home .review-gallery .section-head {
  margin-bottom: 26px;
}

.page-home .review-grid {
  display: grid;
  gap: 24px;
}

.page-home .review-card {
  padding: 0 0 20px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
}

.page-home .review-frame {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--c-primary);
}

.page-home .review-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 18px 0;
}

.page-home .review-card h3 {
  margin: 10px 18px 0;
  font-family: var(--font-headline);
  font-size: 1.22rem;
  line-height: 1.3;
  color: var(--c-dark);
}

.page-home .review-card p {
  margin: 8px 18px 14px;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--c-gray);
}

.page-home .review-card .btn {
  margin: 0 18px;
  align-self: flex-start;
}

/* ===== 06 移动端体验 ===== */
.page-home .mobile-experience {
  background: var(--c-primary);
}

.page-home .mobile-experience .section-title {
  color: var(--c-white);
}

.page-home .mobile-experience .section-desc {
  color: rgba(255, 255, 255, 0.74);
}

.page-home .mobile-layout {
  display: grid;
  gap: 30px;
  align-items: center;
}

.page-home .mobile-fig {
  position: relative;
  max-width: 360px;
  margin: 0;
}

.page-home .mobile-fig img {
  display: block;
  width: 100%;
  height: auto;
  clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 94%);
}

.page-home .mobile-fig .diagonal-accent {
  position: absolute;
  right: -14px;
  bottom: 28%;
  width: 54px;
  height: 10px;
  transform: rotate(8deg);
  background: var(--c-accent);
}

.page-home .mobile-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-home .mobile-features {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .mobile-features li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding-left: 18px;
  border-left: 2px solid var(--c-accent);
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
}

.page-home .mobile-features strong {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--c-gold);
  white-space: nowrap;
}

.page-home .mobile-cta {
  align-self: flex-start;
}

/* ===== 07 阅读节奏 ===== */
.page-home .reading-rhythm {
  background: var(--c-light);
}

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

.page-home .rhythm-stat {
  position: relative;
  padding: 34px 26px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.page-home .rhythm-num {
  font-family: var(--font-headline);
  font-size: clamp(3.4rem, 10vw, 5.8rem);
  font-weight: 700;
  line-height: 1;
  color: var(--c-primary);
}

.page-home .rhythm-num em {
  font-size: 0.5em;
  font-style: normal;
  color: var(--c-accent);
  vertical-align: super;
  margin-left: 2px;
}

.page-home .rhythm-label {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--c-gray);
}

.page-home .rhythm-note {
  max-width: 74ch;
  margin: 28px 0 0;
  padding: 20px 24px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--c-dark);
}

/* ===== 08 更新状态 ===== */
.page-home .update-status {
  background: var(--c-dark);
}

.page-home .update-status .section-title {
  color: var(--c-white);
}

.page-home .status-panel {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 42px 26px;
  text-align: center;
  background: linear-gradient(135deg, rgba(10, 31, 68, 0.92), rgba(13, 13, 13, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.12);
  clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 93%);
}

.page-home .status-clock-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.page-home .status-note {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.66);
}

.page-home .countdown-ticker {
  font-family: var(--font-headline);
  font-size: clamp(2.4rem, 9vw, 4.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--c-gold);
}

.page-home .update-status .btn {
  margin-top: 6px;
}

/* ===== 桌面端增强 ===== */
@media (min-width: 768px) {
  .page-home .container {
    padding-inline: 28px;
  }

  .page-home .hero-cover {
    min-height: 88vh;
  }

  .page-home .hero-inner {
    padding-bottom: 8px;
  }

  .page-home .hero-stats {
    gap: 24px 56px;
  }

  .page-home .board-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 36px;
  }

  .page-home .board-visual {
    margin-top: 64px;
    margin-left: 0;
  }

  .page-home .replay-row {
    grid-template-columns: 150px 1fr 190px 110px;
    gap: 20px;
  }

  .page-home .replay-status {
    justify-self: end;
  }

  .page-home .team-ledger {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .mobile-layout {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 44px;
  }

  .page-home .rhythm-panel {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .status-panel {
    padding-inline: 48px;
  }
}

@media (min-width: 1024px) {
  .page-home .hero-cover h1 {
    max-width: 16ch;
  }

  .page-home .hero-lead {
    max-width: 64ch;
  }

  .page-home .chapter-strip {
    border-bottom-width: 1px;
  }

  .page-home .chapter-strip a {
    padding-inline: 22px;
  }

  .page-home .board-grid {
    gap: 48px;
  }

  .page-home .review-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .review-card:nth-child(2) {
    margin-top: 28px;
  }

  .page-home .mobile-layout {
    gap: 64px;
  }

  .page-home .index-browser {
    padding: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .meter-dot {
    animation: none;
  }

  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
