.page-home {
  --page-green-glow: rgba(0, 200, 83, 0.35);
  --page-cyan-glow: rgba(0, 240, 255, 0.30);
  background: var(--dark);
  color: var(--text-primary);
}

/* 首屏分屏 */
.page-home .home-hero {
  position: relative;
  padding: 132px 0 60px;
  background:
    radial-gradient(ellipse at 80% 10%, var(--page-cyan-glow), transparent 55%),
    radial-gradient(ellipse at 10% 90%, var(--page-green-glow), transparent 50%);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}
.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(192, 192, 192, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 192, 192, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.page-home .home-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.page-home .hero-copy h1 {
  margin: 18px 0 22px;
  font-size: clamp(42px, 9vw, 78px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.page-home .hero-accent {
  color: var(--green);
}
.page-home .hero-copy .lede {
  max-width: 560px;
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: var(--gray);
}
.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.page-home .hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 40px 0 0;
  padding: 0;
  background: var(--border-color);
  border: 1px solid var(--border-color);
  max-width: 560px;
}
.page-home .hero-stats .stat {
  margin: 0;
  padding: 16px 18px;
  background: var(--carbon);
}
.page-home .hero-stats .stat-value {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 28px;
  line-height: 1;
  color: var(--cyan);
}
.page-home .hero-stats .stat-label {
  margin: 0;
  font-size: 13px;
  color: var(--gray);
}
.page-home .hero-viz {
  position: relative;
}
.page-home .hero-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
}
.page-home .hero-panel {
  position: relative;
  z-index: 2;
  padding: 24px;
  background: rgba(20, 26, 36, 0.94);
  border: 1px solid rgba(192, 192, 192, 0.24);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.page-home .hero-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--cyan) 60%, transparent);
}
.page-home .panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.page-home .panel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: home-pulse-dot 1.8s infinite;
}
.page-home .panel-title {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray);
}
.page-home .panel-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
  border: 1px solid rgba(0, 240, 255, 0.45);
  padding: 3px 8px;
}
.page-home .led-display {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 14px;
}
.page-home .led-number {
  font-family: var(--font-mono);
  font-size: clamp(72px, 16vw, 108px);
  font-weight: 800;
  line-height: 0.85;
  color: var(--white);
  text-shadow: 0 0 30px var(--page-green-glow);
  animation: home-led-breathe 2.8s ease-in-out infinite;
}
.page-home .led-side {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 6px;
}
.page-home .led-round {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--green);
}
.page-home .led-batch {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gray-dark);
}
.page-home .led-data {
  display: grid;
  gap: 4px;
}
.page-home .led-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-family: var(--font-mono);
  font-size: 14px;
  border-bottom: 1px dashed rgba(192, 192, 192, 0.14);
}
.page-home .led-label {
  color: var(--gray);
}
.page-home .led-value {
  color: var(--white);
  font-weight: 700;
}
.page-home .hero-scanlines {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  stroke: rgba(192, 192, 192, 0.12);
  stroke-width: 1px;
  pointer-events: none;
}
.page-home .home-hero .track-line {
  margin-top: 18px;
}

/* 章节头 */
.page-home .home-features,
.page-home .home-membership {
  scroll-margin-top: 80px;
}
.page-home .section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.page-home .section-head h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.page-home .section-head .section-desc {
  max-width: 640px;
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray);
}

/* 核心功能矩阵 */
.page-home .feature-matrix {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}
.page-home .feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--carbon);
  border: 1px solid var(--border-color);
  min-height: 300px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.page-home .feature-card:hover,
.page-home .feature-card:focus-within {
  border-color: rgba(0, 240, 255, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
}
.page-home .feature-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(var(--green), var(--cyan));
  opacity: 0;
  transition: opacity 0.25s;
}
.page-home .feature-card:hover::before {
  opacity: 1;
}
.page-home .feature-card::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.06), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}
.page-home .feature-card:hover::after {
  opacity: 1;
}
.page-home .feature-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  color: var(--green);
}
.page-home .feature-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
.page-home .feature-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
}
.page-home .feature-card p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray);
}
.page-home .feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.page-home .feature-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border: 1px solid var(--border-color);
  margin: 20px 0 10px;
}
.page-home .feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
  text-decoration: none;
}
.page-home .feature-link span {
  transition: transform 0.2s;
}
.page-home .feature-card:hover .feature-link span {
  transform: translateX(5px);
}

/* 更新批次时间线 */
.page-home .home-updates {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(0, 240, 255, 0.05), transparent 50%),
    var(--bg-secondary);
}
.page-home .update-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-top: 52px;
}
.page-home .update-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.page-home .update-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--green), var(--cyan));
}
.page-home .timeline-item {
  position: relative;
  padding-left: 32px;
  margin-bottom: 34px;
}
.page-home .timeline-item:last-child {
  margin-bottom: 0;
}
.page-home .timeline-dot {
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  background: var(--dark);
  border: 2px solid var(--green);
  border-radius: 50%;
}
.page-home .timeline-dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--cyan);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.25s;
}
.page-home .timeline-item:hover .timeline-dot::after {
  transform: scale(1);
}
.page-home .timeline-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--cyan);
}
.page-home .timeline-content h3 {
  margin: 8px 0 6px;
  font-size: 17px;
  font-weight: 800;
}
.page-home .timeline-content p {
  margin: 0;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.75;
}
.page-home .update-visual {
  display: grid;
  gap: 16px;
}
.page-home .update-podium {
  background: var(--carbon);
  border: 1px solid var(--border-color);
  padding: 24px;
}
.page-home .update-podium h3 {
  margin: 10px 0 20px;
  font-size: 20px;
  font-weight: 800;
}
.page-home .podium-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  height: 200px;
}
.page-home .podium-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.page-home .podium-col-bar {
  display: block;
  width: 100%;
  max-width: 80px;
  background: linear-gradient(to top, var(--green), var(--cyan));
}
.page-home .podium-col-bar--1 {
  height: 18%;
}
.page-home .podium-col-bar--2 {
  height: 100%;
}
.page-home .podium-col-bar--3 {
  height: 62%;
}
.page-home .podium-col-value {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}
.page-home .podium-col-label {
  font-size: 13px;
  color: var(--gray);
}
.page-home .update-podium img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border-color);
  margin-top: 14px;
}

/* 会员中心 */
.page-home .membership-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 40px 24px;
  background: linear-gradient(135deg, var(--carbon), var(--dark));
  border: 1px solid var(--border-color);
  overflow: hidden;
}
.page-home .membership-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--green), var(--cyan));
}
.page-home .membership-copy h2 {
  margin: 10px 0 14px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
}
.page-home .membership-copy .lede {
  font-size: 15px;
}
.page-home .membership-list {
  list-style: none;
  margin: 24px 0 32px;
  padding: 0;
  display: grid;
  gap: 14px;
}
.page-home .membership-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray);
}
.page-home .membership-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--green);
}
.page-home .membership-list strong {
  color: var(--white);
  font-weight: 700;
}
.page-home .membership-visual {
  position: relative;
}
.page-home .membership-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border-color);
}
.page-home .membership-float {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -18px;
  padding: 16px 20px;
  background: rgba(10, 14, 23, 0.96);
  border: 1px solid rgba(0, 240, 255, 0.35);
}
.page-home .membership-float-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
}
.page-home .membership-float-value {
  display: block;
  margin-top: 4px;
  font-size: 17px;
  font-weight: 800;
}
.page-home .membership-float-sub {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--gray);
}

/* 动画 */
@keyframes home-pulse-dot {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.4);
  }
  50% {
    opacity: 0.65;
    box-shadow: 0 0 0 8px rgba(0, 200, 83, 0);
  }
}
@keyframes home-led-breathe {
  0%, 100% {
    color: var(--white);
    text-shadow: 0 0 28px rgba(0, 200, 83, 0.35);
  }
  50% {
    color: var(--green);
    text-shadow: 0 0 44px rgba(0, 240, 255, 0.3);
  }
}

/* 桌面端布局 */
@media (min-width: 900px) {
  .page-home .home-hero {
    padding-top: 160px;
    padding-bottom: 88px;
  }
  .page-home .home-hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  .page-home .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .page-home .feature-matrix {
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    margin-top: 64px;
  }
  .page-home .feature-card--injury {
    grid-column: span 7;
  }
  .page-home .feature-card--score {
    grid-column: span 5;
  }
  .page-home .feature-card--standings {
    grid-column: span 5;
  }
  .page-home .feature-card--rules {
    grid-column: span 7;
  }
  .page-home .feature-card--injury.feature-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: start;
  }
  .page-home .feature-card--injury .feature-icon {
    grid-column: 1;
    grid-row: 1;
  }
  .page-home .feature-card--injury h3 {
    grid-column: 1;
    grid-row: 2;
  }
  .page-home .feature-card--injury p {
    grid-column: 1;
    grid-row: 3;
  }
  .page-home .feature-card--injury .feature-meta {
    grid-column: 1;
    grid-row: 4;
  }
  .page-home .feature-card--injury .feature-card-img {
    grid-column: 2;
    grid-row: 1 / 5;
    height: 100%;
    margin: 0;
  }
  .page-home .feature-card--injury .feature-link {
    grid-column: 1 / -1;
    grid-row: 5;
    margin-top: 8px;
  }
  .page-home .update-layout {
    grid-template-columns: 7fr 5fr;
    gap: 56px;
  }
  .page-home .membership-panel {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 56px 48px;
  }
  .page-home .membership-float {
    left: auto;
    right: -12px;
    bottom: 32px;
    width: 240px;
  }
}

/* 动效降级 */
@media (prefers-reduced-motion: reduce) {
  .page-home .led-number,
  .page-home .panel-dot {
    animation: none;
  }
  .page-home .feature-card,
  .page-home .feature-card::before,
  .page-home .feature-card::after,
  .page-home .feature-link span,
  .page-home .timeline-dot::after {
    transition: none;
  }
}
