.page-home {
  --home-card-bg: rgba(42, 42, 53, .72);
  --home-border: rgba(242, 240, 232, .08);
  background: var(--c-deep);
  color: var(--c-offwhite);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* ===== 页面上下文 ===== */
.page-home .page-context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
}

.page-home .ctx-badge {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  padding: .4rem .8rem;
  border: 1px solid rgba(57, 255, 20, .25);
  color: var(--c-neon);
  background: rgba(57, 255, 20, .06);
  border-radius: 999px;
}

.page-home .ctx-live {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  color: rgba(242, 240, 232, .55);
  font-family: var(--font-mono);
}

.page-home .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-neon);
  box-shadow: 0 0 8px rgba(57, 255, 20, .8);
  animation: home-live-pulse 1.6s ease-in-out infinite;
}

@keyframes home-live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.72); }
}

/* ===== 首屏分屏 ===== */
.page-home .home-hero {
  position: relative;
  padding: 6rem 0 4rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 18% 0%, rgba(255, 107, 53, .12) 0%, transparent 60%),
    radial-gradient(ellipse 70% 55% at 82% 18%, rgba(57, 255, 20, .06) 0%, transparent 62%),
    var(--c-deep);
}

.page-home .hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2.5rem;
}

.page-home .hero-copy {
  position: relative;
  z-index: 2;
}

.page-home .h1-kicker {
  display: block;
  font-size: clamp(.75rem, 2.5vw, 1rem);
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--c-neon);
  font-family: var(--font-mono);
  margin-bottom: .9rem;
}

.page-home .hero-copy h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.25rem, 8vw, 4.25rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
}

.page-home .hero-lead {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: rgba(242, 240, 232, .72);
  max-width: 34rem;
  margin: 0 0 2rem;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.page-home .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid rgba(242, 240, 232, .08);
  padding-top: 1.5rem;
  margin: 0;
  max-width: 34rem;
}

.page-home .hero-stat dt {
  font-size: .75rem;
  color: rgba(242, 240, 232, .55);
  font-family: var(--font-mono);
  letter-spacing: .06em;
  margin-bottom: .3rem;
}

.page-home .hero-stat dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--c-offwhite);
}

.page-home .hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.page-home .radar-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.page-home .radar-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.page-home .radar-grid {
  fill: none;
  stroke: rgba(242, 240, 232, .12);
  stroke-width: 1;
}

.page-home .radar-outer {
  fill: none;
  stroke: rgba(57, 255, 20, .22);
  stroke-dasharray: 4 8;
}

.page-home .radar-data {
  fill: rgba(57, 255, 20, .08);
  stroke: rgba(57, 255, 20, .5);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.page-home .radar-sweep {
  fill: url(#home-radar-grad);
  opacity: .32;
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: home-radar-rotate 7s linear infinite;
}

.page-home .radar-core {
  fill: var(--c-neon);
  filter: drop-shadow(0 0 8px rgba(57, 255, 20, .6));
}

.page-home .radar-label {
  fill: rgba(57, 255, 20, .7);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .2em;
}

@keyframes home-radar-rotate {
  to { transform: rotate(360deg); }
}

.page-home .float-card {
  position: absolute;
  padding: .6rem .9rem;
  background: rgba(42, 42, 53, .82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(57, 255, 20, .16);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--c-offwhite);
  box-shadow: var(--shadow-glass);
  z-index: 2;
}

.page-home .fc-top {
  top: 5%;
  right: 0;
  animation: home-float-y 4.5s ease-in-out infinite;
}

.page-home .fc-side {
  bottom: 9%;
  left: 0;
  animation: home-float-y 5.5s ease-in-out infinite 1.2s;
}

@keyframes home-float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.page-home .home-speed-lines {
  position: absolute;
  z-index: 0;
  inset: 8% -10% 0 30%;
  opacity: .7;
  pointer-events: none;
}

.page-home .hero-beams {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 40%, rgba(255, 107, 53, .06) 48%, transparent 56%),
    linear-gradient(65deg, transparent 60%, rgba(57, 255, 20, .04) 68%, transparent 76%),
    linear-gradient(135deg, transparent 50%, rgba(74, 101, 114, .1) 68%, transparent 74%);
}

/* ===== 章节通用 ===== */
.page-home .section-chapter {
  margin-bottom: 1.5rem;
}

.page-home .section-index {
  font-family: var(--font-mono);
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  line-height: 1;
  font-weight: 900;
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--c-orange), var(--c-terra));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.page-home .section-tag {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-neon);
  background: rgba(57, 255, 20, .06);
  border: 1px solid rgba(57, 255, 20, .18);
  padding: .25rem .7rem;
  border-radius: 999px;
  display: inline-block;
}

.page-home .section-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 900;
  margin: .35rem 0 0;
  line-height: 1.25;
}

.page-home .section-intro {
  margin: 1.25rem 0 2rem;
  max-width: 46rem;
  color: rgba(242, 240, 232, .72);
  font-size: 1rem;
  line-height: 1.8;
}

/* ===== 01 改版亮点 ===== */
.page-home .feature-layout {
  display: grid;
  gap: 2rem;
}

.page-home .feature-cards {
  display: grid;
  gap: 1.25rem;
}

.page-home .feature-card {
  background: var(--home-card-bg);
  border: 1px solid var(--home-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  transition: border-color .25s, transform .25s;
}

.page-home .feature-card:hover {
  border-color: rgba(255, 107, 53, .45);
  transform: translateX(6px);
}

.page-home .feature-no {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--c-orange);
  display: inline-block;
  margin-bottom: .75rem;
  letter-spacing: .12em;
}

.page-home .feature-card h3 {
  font-size: 1.25rem;
  margin: 0 0 .5rem;
  font-family: var(--font-head);
}

.page-home .feature-card p {
  margin: 0;
  color: rgba(242, 240, 232, .7);
  font-size: .9375rem;
  line-height: 1.7;
}

.page-home .feature-media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--home-border);
  position: relative;
}

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

.page-home .feature-media figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-size: .8125rem;
  color: rgba(242, 240, 232, .85);
  background: rgba(5, 8, 26, .62);
  padding: .35rem .8rem;
  border-radius: 999px;
  border: 1px solid rgba(242, 240, 232, .12);
}

/* ===== 02 周末赛程 ===== */
.page-home .schedule-layout {
  display: grid;
  gap: 2rem;
}

.page-home .schedule-board {
  padding: 1.5rem;
}

.page-home .schedule-day {
  display: grid;
  gap: .75rem;
  margin-bottom: 1.5rem;
}

.page-home .day-label {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--c-neon);
  letter-spacing: .12em;
}

.page-home .match-card {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.25rem;
  background: rgba(11, 16, 38, .6);
  border: 1px solid var(--home-border);
  border-radius: var(--radius-sm);
  transition: border-color .25s;
}

.page-home .match-card:hover {
  border-color: rgba(57, 255, 20, .4);
}

.page-home .match-time {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--c-orange);
  flex: 0 0 auto;
}

.page-home .match-info {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  flex: 1;
  min-width: 0;
}

.page-home .match-league {
  font-size: .75rem;
  color: rgba(242, 240, 232, .55);
}

.page-home .match-name {
  font-size: .9375rem;
  font-weight: 600;
}

.page-home .match-status {
  font-size: .7rem;
  color: var(--c-neon);
  border: 1px solid rgba(57, 255, 20, .3);
  border-radius: 999px;
  padding: .2rem .6rem;
  white-space: nowrap;
}

.page-home .subscribe-btn {
  font-family: var(--font-mono);
  font-size: .75rem;
  padding: .35rem .8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 107, 53, .4);
  background: rgba(255, 107, 53, .08);
  color: var(--c-orange);
  cursor: pointer;
  margin-left: auto;
  white-space: nowrap;
  transition: border-color .2s, background .2s, color .2s;
}

.page-home .subscribe-btn:hover {
  background: rgba(255, 107, 53, .16);
}

.page-home .subscribe-btn:focus,
.page-home .subscribe-btn:active {
  background: rgba(57, 255, 20, .12);
  border-color: var(--c-neon);
  color: var(--c-neon);
}

.page-home .subscribe-btn:focus::after,
.page-home .subscribe-btn:active::after {
  content: " ✓";
  color: var(--c-neon);
}

.page-home .board-note {
  margin: 1rem 0 0;
  font-size: .75rem;
  color: rgba(242, 240, 232, .45);
  text-align: right;
}

.page-home .schedule-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--home-border);
  display: block;
}

/* ===== 03 完赛五分钟 ===== */
.page-home .home-verify {
  background:
    radial-gradient(ellipse 60% 50% at 15% 25%, rgba(57, 255, 20, .06) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 85% 70%, rgba(255, 107, 53, .05) 0%, transparent 55%);
  border-top: 1px solid rgba(242, 240, 232, .05);
  border-bottom: 1px solid rgba(242, 240, 232, .05);
}

.page-home .verify-layout {
  display: grid;
  gap: 2rem;
}

.page-home .verify-clock {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.page-home .clock-label {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .18em;
  color: rgba(242, 240, 232, .55);
}

.page-home .clock-value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(3.5rem, 12vw, 6rem);
  font-weight: 900;
  color: var(--c-neon);
  line-height: 1.1;
  text-shadow: 0 0 30px rgba(57, 255, 20, .35);
  margin: .5rem 0;
}

.page-home .clock-unit {
  font-size: .4em;
  color: rgba(242, 240, 232, .6);
  margin-left: .2rem;
  vertical-align: .3em;
}

.page-home .clock-desc {
  max-width: 14rem;
  margin: 0 auto;
  font-size: .875rem;
  color: rgba(242, 240, 232, .65);
  line-height: 1.6;
}

.page-home .verify-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
}

.page-home .verify-steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(42, 42, 53, .5);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(242, 240, 232, .06);
}

.page-home .step-no {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--c-terra);
  flex: 0 0 auto;
}

.page-home .verify-steps h3 {
  font-size: 1rem;
  margin: 0 0 .3rem;
  font-family: var(--font-head);
}

.page-home .verify-steps p {
  margin: 0;
  font-size: .875rem;
  color: rgba(242, 240, 232, .65);
  line-height: 1.6;
}

/* ===== 04 完赛记录表 ===== */
.page-home .records-layout {
  display: grid;
  gap: 2rem;
}

.page-home .records-media {
  margin: 0;
}

.page-home .records-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--home-border);
  display: block;
}

.page-home .records-panel {
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.page-home .records-panel::after {
  content: "";
  position: absolute;
  width: 50%;
  height: 2px;
  top: 0;
  left: 0;
  background: linear-gradient(90deg, transparent, var(--c-neon), transparent);
  animation: home-records-scan 3s ease-in-out infinite;
  opacity: .7;
}

.page-home .records-panel:hover::after {
  animation-play-state: paused;
}

@keyframes home-records-scan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(300%); }
}

.page-home .records-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.page-home .records-title {
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 1.1rem;
}

.page-home .records-live {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  color: var(--c-neon);
  font-family: var(--font-mono);
}

.page-home .records-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: .6rem;
}

.page-home .records-list li {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  background: rgba(11, 16, 38, .5);
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--c-moss);
}

.page-home .rec-league {
  font-size: .78rem;
  color: rgba(242, 240, 232, .6);
  width: 4.5rem;
  flex: 0 0 auto;
}

.page-home .rec-score {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: .04em;
  flex: 1;
}

.page-home .rec-state {
  font-size: .72rem;
  color: var(--c-moss);
  border: 1px solid rgba(122, 139, 90, .3);
  padding: .15rem .55rem;
  border-radius: 999px;
  white-space: nowrap;
}

.page-home .records-note {
  font-size: .75rem;
  color: rgba(242, 240, 232, .45);
  margin: 0;
}

.page-home .records-collapse {
  margin-top: 1.25rem;
  border-top: 1px solid rgba(242, 240, 232, .08);
  padding-top: .75rem;
}

.page-home .records-collapse summary {
  cursor: pointer;
  font-size: .875rem;
  color: rgba(242, 240, 232, .75);
  list-style: none;
  padding: .3rem 0;
  transition: color .2s;
}

.page-home .records-collapse summary:hover {
  color: var(--c-orange);
}

.page-home .records-collapse summary::-webkit-details-marker {
  display: none;
}

.page-home .records-collapse summary::before {
  content: "+";
  display: inline-block;
  margin-right: .5rem;
  color: var(--c-orange);
  font-family: var(--font-mono);
}

.page-home .records-collapse[open] summary::before {
  content: "–";
}

.page-home .collapse-body {
  padding: .75rem 0 .25rem;
  font-size: .875rem;
  line-height: 1.7;
  color: rgba(242, 240, 232, .65);
}

/* ===== 05 下载区块 ===== */
.page-home .home-download {
  padding: 0;
}

.page-home .download-zone {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
}

.page-home .download-zone > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-home .download-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 16, 38, .88) 0%, rgba(11, 16, 38, .72) 55%, rgba(5, 8, 26, .94) 100%);
  z-index: 1;
}

.page-home .download-content {
  position: relative;
  z-index: 2;
  padding: 4.5rem 1.25rem;
  text-align: center;
}

.page-home .download-content .section-chapter {
  justify-content: center;
  margin-bottom: 1.5rem;
}

.page-home .download-content p {
  max-width: 38rem;
  margin: 0 auto 1.75rem;
  color: rgba(242, 240, 232, .78);
  line-height: 1.8;
}

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

/* ===== 06 全站索引 ===== */
.page-home .index-map {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.page-home .index-card {
  display: block;
  background: rgba(42, 42, 53, .6);
  border: 1px solid var(--home-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-decoration: none;
  color: var(--c-offwhite);
  transition: border-color .25s, transform .25s;
}

.page-home .index-card:hover {
  border-color: rgba(255, 107, 53, .5);
  transform: translateY(-4px);
}

.page-home .index-no {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--c-neon);
  opacity: .8;
}

.page-home .index-card h3 {
  font-size: 1.15rem;
  margin: .5rem 0 .4rem;
  font-family: var(--font-head);
}

.page-home .index-card p {
  margin: 0;
  font-size: .875rem;
  color: rgba(242, 240, 232, .6);
  line-height: 1.6;
}

.page-home .index-footnote {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1.25rem;
  font-size: .8rem;
  color: rgba(242, 240, 232, .5);
}

.page-home .index-footnote a {
  color: var(--c-neon);
  text-decoration: none;
  border-bottom: 1px solid rgba(57, 255, 20, .35);
  transition: border-color .2s;
}

.page-home .index-footnote a:hover {
  border-bottom-color: var(--c-neon);
}

/* ===== 底部赛事时间轴 ===== */
.page-home .home-timeline {
  background: var(--c-deeper);
  border-top: 1px solid rgba(242, 240, 232, .06);
  padding: 2.5rem 0 3rem;
}

.page-home .timeline-title {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .14em;
  color: rgba(242, 240, 232, .5);
  margin: 0 0 1.5rem;
  text-transform: uppercase;
}

.page-home .timeline-inner {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.page-home .tl-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .75rem 0;
  position: relative;
}

.page-home .tl-item::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-orange);
  box-shadow: 0 0 10px rgba(255, 107, 53, .5);
  flex: 0 0 auto;
}

.page-home .tl-time {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--c-neon);
  min-width: 3.6rem;
}

.page-home .tl-text {
  font-size: .875rem;
  color: rgba(242, 240, 232, .72);
}

/* ===== 桌面端增强 ===== */
@media (min-width: 768px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
  }

  .page-home .feature-layout {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
  }

  .page-home .schedule-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }

  .page-home .verify-layout {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: center;
  }

  .page-home .records-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }

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

@media (min-width: 1024px) {
  .page-home .home-hero {
    padding: 8.5rem 0 5rem;
  }

  .page-home .hero-grid {
    gap: 3.5rem;
  }

  .page-home .hero-copy h1 {
    font-size: clamp(3rem, 4.5vw, 4.5rem);
  }

  .page-home .feature-cards {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .page-home .feature-card:first-child {
    margin-top: 2rem;
  }

  .page-home .index-map {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .page-home .download-zone {
    min-height: 520px;
  }

  .page-home .timeline-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
  }

  .page-home .tl-item {
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    text-align: center;
    padding: 0 1rem;
  }

  .page-home .tl-item::before {
    margin-bottom: .75rem;
  }

  .page-home .tl-item + .tl-item {
    border-left: 1px solid rgba(242, 240, 232, .1);
  }

  .page-home .tl-time {
    min-width: 0;
  }
}
