.page-home {
  --home-deep: #0A1F44;
  --home-deep-2: #07162E;
  --home-neon: #39FF14;
  --home-orange: #FF6B35;
  --home-light: #F4F7FB;
  --home-white: #ffffff;
  --home-muted: #5A6B8A;
  --home-gold: #F6C453;
  --home-green: #2BB673;
  --home-border: rgba(255, 255, 255, 0.2);
  --home-border-dark: rgba(10, 31, 68, 0.12);
  position: relative;
  overflow-x: hidden;
}

/* ============================================================
   首屏 Hero：分屏叙事 + 数据仪表盘
   ============================================================ */
.page-home .home-hero {
  position: relative;
  background: var(--home-deep);
  color: var(--c-text-inverse);
  overflow: hidden;
}

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

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

.page-home .hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(10, 31, 68, 0.96) 10%, rgba(7, 22, 46, 0.82) 62%, rgba(10, 31, 68, 0.94) 100%);
}

.page-home .hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: linear-gradient(rgba(57, 255, 20, 0.05) 1px, transparent 1px);
  background-size: 100% 48px;
  opacity: 0.6;
}

.page-home .hero-split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  padding-top: 36px;
  padding-bottom: 48px;
}

.page-home .hero-copy {
  max-width: 620px;
}

.page-home .hero-context {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--home-neon);
  margin: 0 0 18px;
}

.page-home .hero-context-sep {
  color: rgba(255, 255, 255, 0.38);
  margin: 0 4px;
}

.page-home .hero-eyebrow {
  color: var(--home-neon);
  margin-bottom: 12px;
}

.page-home h1 {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 6vw, 3.1rem);
  line-height: 1.12;
  margin: 0 0 18px;
  max-width: 13em;
}

.page-home .hero-lead {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  max-width: 29em;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-home .hero-actions .cta-btn,
.page-home .hero-actions .ghost-btn {
  min-width: 150px;
  text-align: center;
}

.page-home .hero-facts {
  list-style: none;
  margin: 32px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--home-border);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.page-home .hero-facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-home .hero-fact-num {
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--c-white);
}

.page-home .hero-fact-label {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.68);
}

/* ---- 仪表盘 ---- */
.page-home .hero-board {
  background: rgba(7, 22, 46, 0.66);
  border: 1px solid var(--home-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  max-width: 560px;
  width: 100%;
}

.page-home .board-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--home-border);
}

.page-home .live-dot {
  animation: page-home-live 1.6s ease-in-out infinite;
}

@keyframes page-home-live {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.page-home .board-live {
  flex: 1;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.82);
}

.page-home .board-refresh {
  color: var(--home-neon);
  font-size: 0.76rem;
  background: rgba(57, 255, 20, 0.08);
  border: 1px solid rgba(57, 255, 20, 0.24);
  padding: 3px 10px;
  border-radius: 999px;
}

.page-home .board-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 0;
}

.page-home .board-ring-wrap {
  text-align: center;
}

.page-home .board-ring {
  width: 168px;
  height: 168px;
  display: inline-block;
  overflow: visible;
}

.page-home .ring-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.09);
  stroke-width: 8;
}

.page-home .ring-progress {
  fill: none;
  stroke: var(--home-neon);
  stroke-width: 8;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 75px 75px;
}

.page-home .ring-value {
  fill: var(--c-white);
  font-family: var(--font-mono);
  font-size: 38px;
  font-weight: 700;
}

.page-home .ring-label {
  fill: rgba(255, 255, 255, 0.55);
  font-family: var(--font-body);
  font-size: 13px;
}

.page-home .board-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.page-home .board-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.page-home .board-item-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.62);
}

.page-home .board-item-value {
  font-size: 0.86rem;
  color: var(--home-neon);
}

.page-home .board-foot {
  border-top: 1px solid var(--home-border);
  padding-top: 14px;
}

.page-home .flow-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
  padding: 6px 0;
}

.page-home .flow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.page-home .flow-dot--green {
  background: var(--home-neon);
  box-shadow: 0 0 10px var(--home-neon);
}

.page-home .flow-dot--orange {
  background: var(--home-orange);
  box-shadow: 0 0 10px var(--home-orange);
}

.page-home .flow-dot--blue {
  background: #2F93FF;
  box-shadow: 0 0 10px #2F93FF;
}

.page-home .flow-note {
  color: var(--home-neon);
  font-size: 0.7rem;
  white-space: nowrap;
}

.page-home .hero-cut {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 56px;
  background: var(--home-light);
  clip-path: polygon(0 0, 100% 55%, 100% 100%, 0 100%);
  z-index: 3;
  pointer-events: none;
}

/* ============================================================
   核心功能矩阵 Bento
   ============================================================ */
.page-home .home-features {
  background: var(--home-light);
  padding-top: 64px;
  padding-bottom: 80px;
}

.page-home .section-title-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 32px;
}

.page-home .section-title-row .eyebrow {
  color: var(--home-green);
}

.page-home .section-title-row .section-heading {
  margin: 0;
  color: var(--home-deep);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
}

.page-home .section-side-note {
  margin: 0;
  max-width: 360px;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--home-muted);
}

.page-home .feature-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-home .bento-card {
  background: var(--home-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--trans-smooth), box-shadow 0.3s var(--trans-smooth);
}

@media (hover: hover) {
  .page-home .bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }

  .page-home .bento-card:hover .mini-stat-num,
  .page-home .bento-card:hover .stats-donut-num,
  .page-home .bento-card:hover .bento-foot {
    animation: page-home-pulse 0.45s ease;
  }
}

@keyframes page-home-pulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.page-home .bento-card--score {
  background: linear-gradient(145deg, #0B1F3E 0%, var(--home-deep-2) 100%);
  color: var(--c-white);
}

.page-home .bento-card--score .bento-tag {
  background: rgba(255, 255, 255, 0.88);
  color: var(--home-deep);
}

.page-home .bento-card--score .bento-index {
  color: rgba(255, 255, 255, 0.5);
}

.page-home .bento-card--score h3 {
  color: var(--c-white);
}

.page-home .bento-card--score p {
  color: rgba(255, 255, 255, 0.72);
}

.page-home .bento-card--score .mini-stat {
  background: rgba(255, 255, 255, 0.08);
}

.page-home .bento-card--score .mini-stat-num {
  color: var(--c-white);
}

.page-home .bento-card--score .mini-stat-label {
  color: rgba(255, 255, 255, 0.55);
}

.page-home .bento-card--score .bento-media {
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-home .bento-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.page-home .bento-index {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--home-muted);
}

.page-home .bento-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--home-deep);
  background: rgba(10, 31, 68, 0.06);
  border-radius: 999px;
  padding: 4px 10px;
}

.page-home .bento-card h3 {
  font-family: var(--font-head);
  font-size: 1.08rem;
  line-height: 1.25;
  margin: 0 0 8px;
}

.page-home .bento-card p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--home-muted);
  margin: 0 0 14px;
}

.page-home .bento-media {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 8px;
  aspect-ratio: 3 / 2;
}

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

.page-home .bento-media--square {
  aspect-ratio: 1 / 1;
}

.page-home .bento-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--home-border-dark);
}

.page-home .bento-card--score .bento-stat-row {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.page-home .mini-stat {
  background: var(--home-light);
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
}

.page-home .mini-stat-num {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--home-deep);
}

.page-home .mini-stat-label {
  display: block;
  font-size: 0.66rem;
  color: var(--home-muted);
  margin-top: 2px;
}

.page-home .bento-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--home-orange);
  margin-top: 12px;
  text-decoration: none;
}

.page-home .bento-link:hover {
  color: var(--home-deep);
}

.page-home .lineup-flex {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-home .lineup-copy {
  flex: 1;
}

.page-home .lineup-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.page-home .lineup-meta-item {
  font-size: 0.78rem;
  padding: 4px 10px;
  background: rgba(10, 31, 68, 0.05);
  border-radius: 999px;
  color: var(--home-deep);
}

.page-home .lineup-meta-item .mono-text {
  font-size: 0.72rem;
  color: var(--home-green);
}

.page-home .lineup-media {
  flex: 1;
  border-radius: 14px;
  overflow: hidden;
  min-width: 0;
}

.page-home .lineup-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-height: 260px;
}

.page-home .rank-visual {
  display: flex;
  align-items: stretch;
  gap: 8px;
  height: 110px;
  margin: 14px 0 10px;
}

.page-home .rank-bar {
  flex: 1;
  position: relative;
  background: rgba(10, 31, 68, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

.page-home .rank-bar-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, var(--home-green), var(--home-neon));
  border-radius: 4px 4px 0 0;
}

.page-home .bento-foot {
  display: block;
  font-size: 0.72rem;
  color: var(--home-muted);
  margin-top: 4px;
}

.page-home .stats-donut-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 10px;
}

.page-home .stats-donut {
  position: relative;
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
}

.page-home .stats-donut svg {
  width: 100%;
  height: 100%;
}

.page-home .donut-track {
  fill: none;
  stroke: rgba(10, 31, 68, 0.08);
  stroke-width: 8;
}

.page-home .donut-fill {
  fill: none;
  stroke: var(--home-green);
  stroke-width: 8;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 40px 40px;
}

.page-home .stats-donut-num {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--home-deep);
}

.page-home .stats-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.page-home .stats-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--home-muted);
}

.page-home .stats-list .mono-text {
  color: var(--home-deep);
}

/* ============================================================
   最新动态
   ============================================================ */
.page-home .home-news {
  background: var(--home-deep-2);
  color: var(--c-text-inverse);
  padding-top: 64px;
  padding-bottom: 80px;
}

.page-home .home-news .eyebrow {
  color: var(--home-neon);
}

.page-home .home-news .section-heading {
  color: var(--c-white);
}

.page-home .home-news .section-side-note {
  color: rgba(255, 255, 255, 0.6);
}

.page-home .section-title-row--invert {
  align-items: flex-start;
}

.page-home .section-title-row--invert .outline-btn {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--c-white);
}

.page-home .news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-home .news-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--home-border);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-home .news-tag {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--home-neon);
  text-transform: uppercase;
}

.page-home .news-card h3 {
  font-family: var(--font-head);
  font-size: 1.02rem;
  line-height: 1.3;
  color: var(--c-white);
  margin: 0;
}

.page-home .news-card p {
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  flex: 1;
}

.page-home .news-link {
  color: var(--home-orange);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
}

.page-home .news-link span {
  display: inline-block;
  transition: transform 0.2s ease;
}

.page-home .news-link:hover span {
  transform: translateX(4px);
}

/* ============================================================
   数据信任声明
   ============================================================ */
.page-home .home-trust {
  background: var(--home-light);
  padding-top: 64px;
  padding-bottom: 80px;
}

.page-home .trust-copy {
  max-width: 640px;
}

.page-home .trust-copy .eyebrow {
  color: var(--home-green);
}

.page-home .trust-copy .section-heading {
  color: var(--home-deep);
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.page-home .trust-lead {
  color: var(--home-muted);
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.65;
}

.page-home .trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 32px;
}

.page-home .trust-cell {
  background: var(--home-white);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.page-home .trust-cell::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--bar-color, var(--home-neon));
}

.page-home .trust-cell:nth-child(1) { --bar-color: var(--home-neon); }
.page-home .trust-cell:nth-child(2) { --bar-color: #2F93FF; }
.page-home .trust-cell:nth-child(3) { --bar-color: var(--home-orange); }
.page-home .trust-cell:nth-child(4) { --bar-color: var(--home-gold); }
.page-home .trust-cell:nth-child(5) { --bar-color: var(--home-green); }
.page-home .trust-cell:nth-child(6) { --bar-color: var(--home-orange); }

.page-home .trust-num {
  display: block;
  font-size: 1.9rem;
  line-height: 1.1;
  font-weight: 700;
  color: var(--home-deep);
}

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

.page-home .trust-note {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--home-border-dark);
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--home-muted);
  max-width: 720px;
}

/* ============================================================
   布局响应：移动优先 → 桌面
   ============================================================ */
.page-home .feature-bento .bento-card--score { grid-area: score; }
.page-home .feature-bento .bento-card--replay { grid-area: replay; }
.page-home .feature-bento .bento-card--lineup { grid-area: lineup; }
.page-home .feature-bento .bento-card--rank { grid-area: rank; }
.page-home .feature-bento .bento-card--stats { grid-area: stats; }

@media (min-width: 640px) {
  .page-home .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .lineup-flex {
    flex-direction: row;
    align-items: center;
  }

  .page-home .lineup-media {
    max-width: 48%;
  }

  .page-home .lineup-media img {
    max-height: 240px;
  }
}

@media (min-width: 900px) {
  .page-home .hero-split {
    grid-template-columns: 1.08fr 1fr;
    gap: 56px;
    padding-top: 56px;
    padding-bottom: 88px;
  }

  .page-home .hero-board {
    max-width: 560px;
    justify-self: end;
  }

  .page-home .section-title-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .page-home .section-title-row--invert {
    align-items: center;
  }

  .page-home .feature-bento {
    grid-template-columns: 1.3fr 1fr 1fr;
    grid-template-areas:
      "score score replay"
      "score score replay"
      "lineup lineup rank"
      "stats stats stats";
    gap: 24px;
  }

  .page-home .bento-card {
    padding: 26px;
  }

  .page-home .lineup-flex {
    align-items: stretch;
  }

  .page-home .lineup-media img {
    max-height: 300px;
  }

  .page-home .news-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1200px) {
  .page-home .hero-board {
    max-width: 580px;
  }
}
