.page-home {
  --home-line: rgba(138, 151, 163, .22);
  --home-line-soft: rgba(138, 151, 163, .12);
  overflow-x: clip;
  color: var(--fog);
}

.page-home .mono {
  font-family: var(--font-mono);
  letter-spacing: .06em;
}

.page-home .section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 3.6vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: .02em;
  margin: 0 0 .6em;
}

.page-home .section-lead {
  max-width: 62ch;
  color: rgba(242, 245, 247, .78);
  line-height: 1.75;
  margin: 0;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(26px, 6vw, 62px)) 0 clamp(34px, 6vw, 60px);
  background:
    radial-gradient(90% 70% at 88% 2%, rgba(255, 90, 42, .22), transparent 62%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink) 72%, var(--ink-2) 100%);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -18%;
  right: -26%;
  width: clamp(340px, 74vw, 940px);
  height: clamp(340px, 74vw, 940px);
  background: linear-gradient(145deg, rgba(255, 90, 42, .20), rgba(45, 226, 255, .10) 58%, transparent 78%);
  clip-path: polygon(46% 0, 100% 0, 100% 100%, 0 100%);
  transform: rotate(-7deg);
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: repeating-linear-gradient(102deg, rgba(138, 151, 163, .16) 0 1px, transparent 1px 92px);
  opacity: .5;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .85), transparent 72%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .85), transparent 72%);
  pointer-events: none;
}

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

.page-home .hero-copy h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 6.4vw, 3.9rem);
  line-height: 1.1;
  letter-spacing: .02em;
  margin: .34em 0 .5em;
}

.page-home .hero-lead {
  max-width: 46ch;
  color: rgba(242, 245, 247, .82);
  line-height: 1.8;
  margin: 0 0 1.5em;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(20px, 4vw, 34px);
}

.page-home .hero-metrics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  border-top: 1px solid var(--home-line);
  padding-top: 18px;
}

.page-home .hero-metrics li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 2px solid var(--line-lava);
  padding-left: 10px;
}

.page-home .metric-num {
  font-family: var(--font-mono);
  font-size: clamp(1.1rem, 3.2vw, 1.5rem);
  color: var(--lava);
  letter-spacing: .04em;
  line-height: 1;
}

.page-home .metric-label {
  font-size: .78rem;
  color: var(--metal);
  letter-spacing: .06em;
}

.page-home .hero-visual {
  position: relative;
  margin: 0;
}

.page-home .hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  clip-path: var(--cut-lg);
  filter: saturate(1.05) contrast(1.03);
}

.page-home .hero-visual::after {
  content: "";
  position: absolute;
  inset: auto -6px -6px auto;
  width: 42%;
  height: 42%;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  opacity: .5;
  pointer-events: none;
}

.page-home .hero-tag {
  position: absolute;
  left: 0;
  bottom: 0;
  background: rgba(11, 13, 16, .9);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 8px 12px;
  clip-path: var(--cut-sm);
}

/* ---------- 路径带 ---------- */
.page-home .path-band {
  list-style: none;
  margin: clamp(26px, 5vw, 50px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.page-home .path-card {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 18px 20px 16px;
  background: linear-gradient(160deg, rgba(28, 35, 43, .96), rgba(20, 24, 29, .96));
  clip-path: var(--cut-md);
  text-decoration: none;
  color: var(--fog);
  transition: transform .22s ease, background .22s ease;
}

.page-home .path-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(255, 90, 42, .16));
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}

.page-home .path-card:hover,
.page-home .path-card:focus-visible {
  transform: translateY(-3px);
}

.page-home .path-card:hover::before,
.page-home .path-card:focus-visible::before {
  opacity: 1;
}

.page-home .path-no {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .2em;
  color: var(--metal);
}

.page-home .path-title {
  font-family: var(--font-heading);
  font-size: 1.06rem;
  letter-spacing: .04em;
}

.page-home .path-desc {
  font-size: .84rem;
  line-height: 1.65;
  color: rgba(242, 245, 247, .7);
}

.page-home .path-go {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--cyan);
}

/* ---------- 赛程与订阅 ---------- */
.page-home .schedule-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 34px);
  margin-top: clamp(22px, 4vw, 40px);
}

.page-home .filter-row {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .filter-row li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 14px;
  background: rgba(28, 35, 43, .85);
  clip-path: var(--cut-sm);
  min-width: 92px;
}

.page-home .filter-no {
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .12em;
  color: var(--ember);
}

.page-home .filter-name {
  font-family: var(--font-heading);
  font-size: .95rem;
  letter-spacing: .06em;
}

.page-home .schedule-note {
  color: rgba(242, 245, 247, .78);
  line-height: 1.75;
  margin: 0 0 18px;
  max-width: 60ch;
}

.page-home .shot {
  position: relative;
  margin: 0;
  background: var(--ink-2);
  clip-path: var(--cut-md);
  overflow: hidden;
}

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

.page-home .shot-cap {
  padding: 10px 14px;
  background: rgba(11, 13, 16, .88);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--metal);
}

.page-home .side-panel {
  padding: 20px;
  background: var(--panel);
  clip-path: var(--cut-md);
  border-top: 3px solid var(--ember);
}

.page-home .side-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  letter-spacing: .04em;
  margin: 0 0 6px;
}

.page-home .side-lead {
  font-size: .84rem;
  line-height: 1.65;
  color: var(--metal);
  margin: 0 0 14px;
}

.page-home .region-group {
  border-top: 1px solid var(--home-line);
  padding: 10px 0;
}

.page-home .region-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: .95rem;
  letter-spacing: .04em;
  list-style: none;
}

.page-home .region-group summary::-webkit-details-marker {
  display: none;
}

.page-home .region-group summary::marker {
  content: "";
}

.page-home .rg-count {
  font-size: .82rem;
  color: var(--lava);
}

.page-home .region-group[open] summary .rg-name {
  color: var(--ember);
}

.page-home .region-group p {
  font-size: .82rem;
  line-height: 1.7;
  color: rgba(242, 245, 247, .7);
  margin: 8px 0 0;
}

.page-home .side-action {
  margin-top: 14px;
  width: 100%;
}

/* ---------- 回放专区 ---------- */
.page-home .replay-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
}

.page-home .replay-copy {
  order: 1;
}

.page-home .replay-figure {
  order: 2;
  margin: 0;
  clip-path: var(--cut-lg);
  background: var(--ink-2);
}

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

.page-home .replay-figure .shot-cap {
  background: transparent;
}

.page-home .replay-list {
  list-style: none;
  margin: 20px 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-home .replay-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--home-line-soft);
}

.page-home .replay-no {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--cyan);
  letter-spacing: .08em;
  padding-top: 2px;
}

.page-home .replay-text {
  font-size: .88rem;
  line-height: 1.7;
  color: rgba(242, 245, 247, .8);
}

/* ---------- 版本说明第二栏 ---------- */
.page-home .version-frame {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: clamp(20px, 4vw, 42px);
  background: linear-gradient(135deg, rgba(28, 35, 43, .98), rgba(11, 13, 16, .98));
  clip-path: var(--cut-lg);
}

.page-home .version-frame::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--lava), var(--lava-deep));
}

.page-home .version-rail {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--lava);
}

.page-home .version-list {
  margin: clamp(18px, 3vw, 28px) 0 0;
  display: grid;
  gap: 10px;
}

.page-home .version-item {
  background: rgba(11, 13, 16, .55);
  border-left: 2px solid rgba(255, 90, 42, .35);
  padding: 14px 16px;
  transition: border-color .2s ease, background .2s ease;
}

.page-home .version-item[open] {
  background: rgba(20, 24, 29, .9);
  border-left-color: var(--lava);
}

.page-home .version-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

.page-home .version-item summary::-webkit-details-marker {
  display: none;
}

.page-home .version-item summary::marker {
  content: "";
}

.page-home .v-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: .04em;
}

.page-home .v-body p {
  font-size: .86rem;
  line-height: 1.75;
  color: rgba(242, 245, 247, .78);
  margin: 12px 0 0;
}

.page-home .step-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: vstep;
  display: grid;
  gap: 8px;
}

.page-home .step-list li {
  counter-increment: vstep;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 8px;
  font-size: .84rem;
  line-height: 1.65;
  color: rgba(242, 245, 247, .82);
}

.page-home .step-list li::before {
  content: counter(vstep, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--ember);
  letter-spacing: .06em;
  padding-top: 2px;
}

.page-home .version-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(16px, 3vw, 26px);
}

/* ---------- 转会期 ---------- */
.page-home .window {
  padding-top: clamp(30px, 5vw, 56px);
  padding-bottom: clamp(30px, 5vw, 56px);
}

.page-home .window-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 3vw, 36px);
  align-items: center;
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
  padding: clamp(20px, 4vw, 34px) 0;
}

.page-home .window-date {
  display: grid;
  gap: 6px;
  padding-left: 16px;
  border-left: 4px solid var(--lava);
}

.page-home .date-label {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--metal);
}

.page-home .date-num {
  font-family: var(--font-mono);
  font-size: clamp(3rem, 13vw, 5.5rem);
  line-height: .9;
  letter-spacing: -.02em;
  color: var(--lava);
}

.page-home .date-note {
  font-size: .82rem;
  line-height: 1.7;
  color: rgba(242, 245, 247, .72);
}

.page-home .date-note .mono {
  color: var(--warn);
  font-size: .78rem;
  letter-spacing: .12em;
}

.page-home .window-copy p {
  line-height: 1.8;
  color: rgba(242, 245, 247, .78);
  margin: 0 0 18px;
  max-width: 56ch;
}

/* ---------- 双场景 ---------- */
.page-home .device-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: clamp(22px, 4vw, 36px);
}

.page-home .device-card {
  position: relative;
  padding: 22px 20px;
  background: var(--ink-2);
  clip-path: var(--cut-md);
}

.page-home .device-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
}

.page-home .device-card--screen::before {
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.page-home .device-card--mobile::before {
  background: linear-gradient(90deg, var(--lava), transparent);
}

.page-home .device-kicker {
  font-size: .66rem;
  letter-spacing: .2em;
  color: var(--metal);
  margin: 0 0 10px;
}

.page-home .device-card h3 {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  letter-spacing: .04em;
  margin: 0 0 10px;
}

.page-home .device-card p {
  font-size: .86rem;
  line-height: 1.75;
  color: rgba(242, 245, 247, .76);
  margin: 0 0 14px;
}

.page-home .device-link {
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .06em;
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(45, 226, 255, .35);
  padding-bottom: 2px;
}

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

.page-home .device-shot {
  margin-top: 14px;
}

/* ---------- 收尾 ---------- */
.page-home .cta-band {
  padding-top: clamp(34px, 6vw, 64px);
  padding-bottom: clamp(40px, 7vw, 78px);
}

.page-home .cta-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: clamp(22px, 4vw, 42px);
  background: linear-gradient(115deg, rgba(255, 90, 42, .2), rgba(28, 35, 43, .92) 58%, rgba(11, 13, 16, .96));
  clip-path: var(--cut-lg);
  border-left: 5px solid var(--lava);
}

.page-home .cta-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3.4vw, 2rem);
  letter-spacing: .02em;
  margin: .3em 0 .5em;
}

.page-home .cta-copy p {
  line-height: 1.78;
  color: rgba(242, 245, 247, .8);
  margin: 0;
  max-width: 56ch;
}

.page-home .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: center;
}

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

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

@media (min-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  }

  .page-home .hero-visual {
    transform: translateY(-8px);
  }

  .page-home .schedule-grid {
    grid-template-columns: minmax(0, 1.34fr) minmax(0, .66fr);
    align-items: start;
  }

  .page-home .replay-grid {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  }

  .page-home .replay-figure {
    grid-column: 1;
    grid-row: 1;
    order: 0;
  }

  .page-home .replay-copy {
    grid-column: 2;
    grid-row: 1;
    order: 0;
  }

  .page-home .version-frame {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 24px;
  }

  .page-home .version-rail {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: .34em;
    border-right: 1px solid var(--home-line);
    padding-right: 10px;
  }

  .page-home .window-grid {
    grid-template-columns: minmax(0, .52fr) minmax(0, 1.48fr);
  }

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

  .page-home .cta-inner {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    align-items: center;
  }
}

@media (min-width: 1100px) {
  .page-home .home-hero {
    padding-bottom: clamp(46px, 5vw, 72px);
  }

  .page-home .path-card {
    padding: 22px 24px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .path-card,
  .page-home .path-card::before,
  .page-home .version-item,
  .page-home .hero-visual {
    transition: none;
    transform: none;
  }
}
