.page-home {
  --home-grid: rgba(143, 169, 184, 0.13);
  background: var(--night);
  color: var(--paper);
  font-family: var(--font-body);
  overflow-x: clip;
}

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

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

.page-home .media-frame {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* ---------- 页面上下文 ---------- */
.page-home .page-context {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: clamp(14px, 2vw, 22px);
  padding-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--mist);
}

.page-home .ctx-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(46, 211, 198, 0.16);
  flex: none;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  margin-top: clamp(12px, 2vw, 20px);
  padding: clamp(26px, 5vw, 58px) 0 clamp(38px, 6vw, 74px);
  background:
    radial-gradient(120% 92% at 84% 0%, rgba(18, 76, 64, 0.88) 0%, rgba(7, 23, 38, 0) 62%),
    linear-gradient(168deg, #071726 0%, #082a26 48%, #0c3b2e 100%);
  border-top: 2px solid var(--line-strong);
  border-bottom: 2px solid var(--line-strong);
  overflow: hidden;
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, var(--home-grid) 0 1px, transparent 1px 78px),
    repeating-linear-gradient(0deg, var(--home-grid) 0 1px, transparent 1px 78px);
  pointer-events: none;
}

.page-home .hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 46px);
}

.page-home .hero-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--lime);
}

.page-home .status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(200, 255, 61, 0.65);
  flex: none;
  animation: home-pulse 2.4s ease-in-out infinite;
}

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

.page-home .hero h1 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 7vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--paper);
  text-wrap: balance;
}

.page-home .hl {
  background: linear-gradient(180deg, transparent 64%, rgba(200, 255, 61, 0.32) 64%);
}

.page-home .hero .lede {
  max-width: 38rem;
  margin: 0 0 26px;
  font-size: clamp(0.96rem, 1.4vw, 1.06rem);
  line-height: 1.8;
  color: rgba(242, 247, 240, 0.82);
}

.page-home .hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  margin: 30px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
}

.page-home .stat dt {
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--mist);
}

.page-home .stat dd {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 700;
  color: var(--lime);
}

.page-home .stat-unit {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--mist);
}

/* 首屏控制台面板 */
.page-home .hero-board {
  position: relative;
  padding: 16px;
  background: rgba(3, 11, 18, 0.72);
  border: 2px solid var(--line-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hard);
}

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

.page-home .board-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.page-home .board-chip {
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--orange);
  border: 1px solid rgba(255, 138, 61, 0.55);
  border-radius: var(--radius-pill);
}

.page-home .board-media {
  margin-bottom: 12px;
}

.page-home .board-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .board-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  font-size: 0.86rem;
  color: rgba(242, 247, 240, 0.88);
  border-bottom: 1px dashed var(--line);
}

.page-home .board-list li:last-child {
  border-bottom: 0;
}

.page-home .board-idx {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--mist);
}

.page-home .board-state {
  padding: 2px 9px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  border: 1px solid currentColor;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.page-home .board-state.is-ready {
  color: var(--lime);
}

.page-home .board-state.is-todo {
  color: var(--orange);
}

.page-home .board-foot {
  margin: 12px 0 0;
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- 公共章节排布 ---------- */
.page-home .section {
  padding: clamp(46px, 7vw, 86px) 0;
}

.page-home .section-head {
  display: grid;
  gap: 12px;
  max-width: 58rem;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.page-home .section-head .index-tag {
  justify-self: start;
}

.page-home .section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home .section-head .lede {
  margin: 0;
  max-width: 48rem;
  font-size: 0.96rem;
  line-height: 1.8;
  color: rgba(242, 247, 240, 0.75);
}

/* ---------- 价格 ---------- */
.page-home .pricing {
  background: var(--ink);
  border-bottom: 2px solid var(--line-strong);
}

.page-home .price-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(22px, 3vw, 34px);
}

.page-home .price-intro {
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-home .price-note {
  padding: 16px;
  background: rgba(18, 76, 64, 0.4);
  border: 2px solid var(--line-strong);
  border-radius: var(--radius-md);
}

.page-home .price-note-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--lime);
}

.page-home .price-note p:not(.price-note-title) {
  margin: 0 0 14px;
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(242, 247, 240, 0.8);
}

.page-home .price-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.page-home .price-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2.4vw, 26px);
  color: var(--paper);
  background: linear-gradient(160deg, rgba(12, 59, 46, 0.92) 0%, rgba(7, 23, 38, 0.96) 100%);
  border: 2px solid var(--line-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hard);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.page-home .price-card:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 255, 61, 0.5);
}

.page-home .price-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}

.page-home .price-head .card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.page-home .price-desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(242, 247, 240, 0.78);
}

.page-home .price-figure {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.page-home .price-figure .num {
  font-family: var(--font-mono);
  font-size: clamp(2.1rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--orange);
}

.page-home .price-unit {
  font-size: 0.8rem;
  color: var(--mist);
}

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

.page-home .price-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.86rem;
  line-height: 1.7;
  color: rgba(242, 247, 240, 0.8);
}

.page-home .price-list li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  background: var(--lime);
  transform: rotate(45deg);
}

.page-home .price-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.page-home .price-option {
  padding: 10px 6px;
  text-align: center;
  background: rgba(3, 11, 18, 0.45);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
}

.page-home .price-option .num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--orange);
}

.page-home .opt-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.page-home .opt-unit {
  font-size: 0.68rem;
  color: var(--mist);
}

.page-home .price-card-media {
  margin-top: 2px;
}

.page-home .price-link {
  align-self: flex-start;
  margin-top: auto;
  padding-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 255, 61, 0.4);
}

.page-home .price-link:hover,
.page-home .price-link:focus-visible {
  border-bottom-color: var(--lime);
}

/* ---------- 赛程时间轴 ---------- */
.page-home .phase {
  background: linear-gradient(180deg, #0c3b2e 0%, #0a2f2b 55%, #071726 100%);
  border-bottom: 2px solid var(--line-strong);
}

.page-home .timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 26px;
}

.page-home .timeline-item:last-child {
  padding-bottom: 0;
}

.page-home .timeline-item::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 26px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(200, 255, 61, 0.85), rgba(200, 255, 61, 0.06));
}

.page-home .timeline-item:last-child::before {
  display: none;
}

.page-home .timeline-rail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 2px;
}

.page-home .timeline-dot {
  width: 14px;
  height: 14px;
  margin-left: 10px;
  border: 2px solid var(--lime);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 4px rgba(200, 255, 61, 0.12);
}

.page-home .timeline-when {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--lime);
}

.page-home .timeline-body {
  padding: 15px 16px;
  background: rgba(3, 11, 18, 0.4);
  border: 1px solid var(--line);
  border-left: 3px solid rgba(200, 255, 61, 0.5);
  border-radius: var(--radius-sm);
}

.page-home .timeline-body h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.page-home .timeline-body p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(242, 247, 240, 0.78);
}

/* ---------- 登录状态 ---------- */
.page-home .account {
  background: var(--night);
  border-bottom: 2px solid var(--line-strong);
}

.page-home .account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: center;
}

.page-home .account-body h2 {
  margin: 12px 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.2vw, 2.1rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home .account-body > p {
  margin: 0;
  max-width: 36rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(242, 247, 240, 0.78);
}

.page-home .check-list {
  list-style: none;
  display: grid;
  gap: 11px;
  margin: 22px 0 26px;
  padding: 0;
}

.page-home .check-list li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(242, 247, 240, 0.85);
}

.page-home .check-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.6em;
  background: var(--cyan);
  transform: rotate(45deg);
}

.page-home .account-visual {
  margin: 0;
}

.page-home .account-visual figcaption {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--mist);
}

/* ---------- 帮助通道 ---------- */
.page-home .support {
  background: var(--ink);
  border-bottom: 2px solid var(--line-strong);
}

.page-home .support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.page-home .support-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  color: var(--paper);
  text-decoration: none;
  background: linear-gradient(160deg, rgba(12, 59, 46, 0.85) 0%, rgba(7, 23, 38, 0.95) 100%);
  border: 2px solid var(--line-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hard);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.page-home .support-card:hover,
.page-home .support-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(200, 255, 61, 0.5);
}

.page-home .support-tag {
  align-self: flex-start;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
  border: 1px solid rgba(46, 211, 198, 0.5);
  border-radius: var(--radius-pill);
}

.page-home .support-card .card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--paper);
}

.page-home .support-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(242, 247, 240, 0.78);
}

.page-home .support-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.page-home .support-go {
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--lime);
}

/* ---------- 收尾 ---------- */
.page-home .closing {
  padding: clamp(40px, 6vw, 70px) 0;
  background: var(--lime);
  color: var(--ink);
  border-top: 2px solid var(--ink);
}

.page-home .closing-kicker {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: rgba(3, 11, 18, 0.65);
}

.page-home .closing h2 {
  margin: 0 0 22px;
  max-width: 26ch;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4vw, 2.5rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.page-home .closing .btn-primary {
  background: var(--ink);
  color: var(--lime);
  border-color: var(--ink);
  box-shadow: 6px 6px 0 0 rgba(3, 11, 18, 0.22);
}

.page-home .closing .btn-ghost {
  color: var(--ink);
  border-color: var(--ink);
  background: transparent;
}

/* ---------- 断点 ---------- */
@media (min-width: 640px) {
  .page-home .hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 700px) {
  .page-home .price-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .price-card--wide {
    grid-column: span 2;
  }

  .page-home .price-card--offset {
    margin-top: 26px;
  }

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

@media (min-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    align-items: start;
  }

  .page-home .account-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .page-home .price-layout {
    grid-template-columns: 318px minmax(0, 1fr);
    align-items: start;
  }

  .page-home .timeline-item {
    grid-template-columns: 152px minmax(0, 1fr);
    gap: 26px;
    padding-bottom: 30px;
  }

  .page-home .timeline-body {
    padding: 18px 22px;
  }
}

@media (min-width: 1180px) {
  .page-home .price-layout {
    grid-template-columns: 356px minmax(0, 1fr);
  }
}

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

  .page-home .price-card,
  .page-home .support-card {
    transition: none;
  }

  .page-home .price-card:hover,
  .page-home .support-card:hover {
    transform: none;
  }
}
