.page-home {
  --home-rail: 264px;
  --home-gap: clamp(16px, 2.4vw, 32px);
  --home-pad: clamp(52px, 8vw, 108px);
  color: var(--paper);
  padding-bottom: clamp(48px, 7vw, 96px);
  background:
    radial-gradient(115% 62% at 84% -6%, rgba(84, 224, 198, 0.12), transparent 62%),
    radial-gradient(85% 48% at 2% 18%, rgba(215, 164, 71, 0.08), transparent 64%);
}

.page-home :focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

/* 首屏 */
.page-home .hero {
  padding-top: clamp(104px, 14vw, 168px);
}

.page-home .hero-grid {
  display: grid;
  gap: var(--home-gap);
  margin-top: clamp(18px, 3vw, 34px);
}

.page-home .hero-rail {
  padding: 20px 18px 22px;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: rgba(27, 41, 66, 0.72);
  backdrop-filter: blur(8px);
}

.page-home .rail-kicker {
  margin: 0 0 12px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--teal);
}

.page-home .rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 12px;
  font-size: 0.9rem;
}

.page-home .rail-list li {
  position: relative;
  padding: 5px 0 5px 13px;
}

.page-home .rail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.75;
}

.page-home .rail-meta-line {
  margin: 14px 0 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.7;
  color: var(--mist);
}

.page-home .rail-cta {
  display: inline-flex;
  width: 100%;
  justify-content: center;
}

.page-home .hero-stage {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  min-height: clamp(360px, 52vw, 520px);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--ink-deep);
}

.page-home .hero-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 0.58;
}

.page-home .hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 14, 22, 0.28) 0%, rgba(10, 14, 22, 0.82) 58%, rgba(16, 26, 46, 0.98) 100%);
}

.page-home .hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(20px, 4vw, 46px);
}

.page-home .hero-copy .eyebrow {
  margin: 0;
}

.page-home .hero-copy h1 {
  margin: 8px 0 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 5.6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.page-home .hero-lede {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.78;
  color: rgba(237, 231, 216, 0.86);
}

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

.page-home .hero-paths {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.page-home .path-card {
  display: block;
  padding: 18px 18px 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(27, 41, 66, 0.6);
  color: inherit;
  text-decoration: none;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.page-home .path-card:hover {
  transform: translateY(-3px);
  border-color: var(--teal);
  background: rgba(34, 49, 76, 0.92);
}

.page-home .path-index {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--teal);
}

.page-home .path-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.page-home .path-desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.72;
  color: var(--mist);
}

/* 通用章节 */
.page-home .band {
  padding-top: var(--home-pad);
  scroll-margin-top: 92px;
}

.page-home .band-head {
  max-width: 62ch;
  margin-bottom: clamp(20px, 3vw, 34px);
}

.page-home .band-head h2 {
  margin: 6px 0 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.65rem, 3.6vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.page-home .band-head p:not(.eyebrow) {
  margin: 0;
  max-width: 58ch;
  line-height: 1.78;
  color: var(--mist);
}

/* 费用 */
.page-home .fee-layout {
  display: grid;
  gap: 14px;
}

.page-home .fee-members {
  display: grid;
  gap: 14px;
}

.page-home .fee-card {
  position: relative;
  overflow: hidden;
  padding: 22px 20px 24px;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: linear-gradient(168deg, var(--panel) 0%, var(--panel-soft) 100%);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .fee-card::before {
  content: "";
  position: absolute;
  top: -46px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 164, 71, 0.22), transparent 70%);
  pointer-events: none;
}

.page-home .fee-card:hover {
  transform: translateY(-3px);
  border-color: rgba(215, 164, 71, 0.55);
}

.page-home .fee-name {
  margin: 0 0 12px;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--sand);
}

.page-home .fee-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: clamp(2.1rem, 4.4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}

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

.page-home .fee-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
  font-size: 0.87rem;
  line-height: 1.6;
  color: rgba(237, 231, 216, 0.82);
}

.page-home .fee-points li {
  position: relative;
  padding-left: 14px;
}

.page-home .fee-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

.page-home .fee-side {
  display: grid;
  gap: 14px;
  align-content: start;
}

.page-home .side-panel {
  padding: 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(27, 41, 66, 0.66);
}

.page-home .side-title {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--sand);
}

.page-home .side-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.78;
  color: var(--mist);
}

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

.page-home .pack-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 9px;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 0.9rem;
}

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

.page-home .pack-list .num {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
}

/* 赛前资料 */
.page-home .pre-grid {
  display: grid;
  gap: 16px;
}

.page-home .pre-figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--ink-deep);
}

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

.page-home .pre-cards {
  display: grid;
  gap: 12px;
}

.page-home .pre-card {
  padding: 18px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-soft);
  background: rgba(27, 41, 66, 0.55);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.page-home .pre-card:hover {
  border-color: rgba(47, 175, 154, 0.6);
  background: rgba(34, 49, 76, 0.85);
}

.page-home .pre-tag {
  display: inline-block;
  margin: 0 0 8px;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: rgba(47, 175, 154, 0.16);
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page-home .pre-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 800;
}

.page-home .pre-card p:last-child {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.72;
  color: var(--mist);
}

/* 联赛切换 */
.page-home .league-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.page-home .league-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: rgba(27, 41, 66, 0.72);
  color: var(--paper);
  font-size: 0.88rem;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.page-home .league-chip:hover {
  border-color: var(--teal);
  background: var(--panel-soft);
  color: var(--sand);
}

.page-home .league-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.page-home .league-chip::after {
  content: "新版 30 天窗口";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 9px);
  transform: translate(-50%, 4px);
  padding: 6px 11px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(47, 175, 154, 0.55);
  background: var(--ink-deep);
  color: var(--volt);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.page-home .league-chip:hover::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.page-home .cycle-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(47, 175, 154, 0.12), rgba(27, 41, 66, 0.8) 55%);
}

.page-home .status-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 0 5px rgba(84, 224, 198, 0.16);
}

.page-home .cycle-body {
  flex: 1 1 260px;
  min-width: 0;
}

.page-home .cycle-title {
  margin: 0 0 5px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--volt);
}

.page-home .cycle-text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.72;
  color: var(--mist);
}

.page-home .cycle-link {
  flex: 0 0 auto;
}

/* 赛后统计 */
.page-home .post-layout {
  display: grid;
  gap: 14px;
}

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

.page-home .post-stats li {
  padding: 16px 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--clay);
  background: rgba(27, 41, 66, 0.62);
}

.page-home .post-key {
  margin: 0 0 6px;
  font-size: 0.96rem;
  font-weight: 800;
}

.page-home .post-desc {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.72;
  color: var(--mist);
}

.page-home .device-card {
  align-self: start;
  padding: 22px;
  border-radius: var(--r-xl);
  border: 1px solid rgba(197, 102, 59, 0.45);
  background: linear-gradient(158deg, rgba(197, 102, 59, 0.16), rgba(27, 41, 66, 0.9));
}

.page-home .device-kicker {
  margin: 0 0 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--clay);
}

.page-home .device-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 4.6vw, 3rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}

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

.page-home .device-text {
  margin: 0 0 14px;
  font-size: 0.87rem;
  line-height: 1.78;
  color: rgba(237, 231, 216, 0.84);
}

.page-home .device-link {
  display: inline-block;
  padding-bottom: 2px;
  font-size: 0.85rem;
  color: var(--volt);
  text-decoration: none;
  border-bottom: 1px solid rgba(84, 224, 198, 0.45);
}

.page-home .device-link:hover {
  color: var(--sand);
  border-color: var(--sand);
}

/* 更新节奏 */
.page-home .cadence {
  display: grid;
  gap: 12px;
}

.page-home .cadence-item {
  padding: 20px 22px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(27, 41, 66, 0.62);
}

.page-home .cadence-num {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(2.4rem, 5.4vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}

.page-home .cadence-item:nth-child(2) .cadence-num {
  color: var(--teal);
}

.page-home .cadence-label {
  margin: 6px 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.page-home .cadence-desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(237, 231, 216, 0.84);
}

.page-home .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.page-home .trust-strip {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.page-home .trust-strip p {
  margin: 0;
  max-width: 70ch;
  font-size: 0.85rem;
  line-height: 1.85;
  color: var(--mist);
}

/* 响应式 */
@media (min-width: 560px) {
  .page-home .hero-paths {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .pre-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .post-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 760px) {
  .page-home .fee-members {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-home .path-title {
    font-size: 1.15rem;
  }
}

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

  .page-home .hero-rail {
    position: sticky;
    top: 96px;
  }

  .page-home .pre-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: stretch;
  }

  .page-home .pre-figure {
    aspect-ratio: auto;
    height: 100%;
    min-height: 320px;
  }
}

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

  .page-home .post-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .path-card,
  .page-home .fee-card,
  .page-home .pre-card,
  .page-home .league-chip,
  .page-home .league-chip::after {
    transition: none;
  }

  .page-home .path-card:hover,
  .page-home .fee-card:hover,
  .page-home .league-chip:hover::after {
    transform: none;
  }

  .page-home .league-chip:hover::after {
    transform: translate(-50%, 0);
  }
}
