.page-home {
  --ph-card: rgba(13, 39, 64, .78);
  --ph-card-deep: rgba(6, 21, 37, .92);
  color: var(--text);
  overflow-x: hidden;
}

.page-home .shell {
  width: var(--shell);
  margin-inline: auto;
}

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

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  overflow: hidden;
  padding: clamp(1.6rem, 5vw, 3rem) 0 clamp(2rem, 5vw, 3.4rem);
  background:
    radial-gradient(115% 85% at 88% -12%, rgba(39, 230, 245, .18), transparent 62%),
    linear-gradient(158deg, var(--ink-950) 0%, var(--ink-900) 56%, #08203a 100%);
}

.page-home .hero::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -26%;
  width: 78%;
  height: 62%;
  background: linear-gradient(90deg, transparent, rgba(39, 230, 245, .12));
  transform: skewY(-9deg);
  pointer-events: none;
}

.page-home .hero-shell {
  position: relative;
  z-index: 1;
}

.page-home .hero-grid {
  display: grid;
  gap: clamp(1.4rem, 4vw, 2.6rem);
  margin-top: 1rem;
}

.page-home .hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 8.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.02em;
  color: var(--white);
}

.page-home .hero-title-line {
  display: block;
  margin-top: .28em;
  color: var(--cyan);
  text-shadow: 0 0 34px rgba(39, 230, 245, .35);
}

.page-home .hero-lead {
  margin: 1.2rem 0 0;
  max-width: 36em;
  font-size: clamp(.98rem, 2.4vw, 1.08rem);
  line-height: 1.8;
  color: var(--text-soft);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.5rem;
}

.page-home .hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home .hero-visual {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-cyan);
  background: var(--ink-950);
  box-shadow: var(--shadow-float);
}

.page-home .hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: .92;
}

.page-home .hero-visual-tag {
  position: absolute;
  right: .9rem;
  top: .9rem;
}

.page-home .hero-flow {
  position: absolute;
  left: .8rem;
  bottom: .8rem;
  width: min(58%, 260px);
  height: auto;
}

/* ---------- 兼容卡片 ---------- */
.page-home .compat-card {
  display: grid;
  gap: 1.2rem;
  margin-top: clamp(1.6rem, 4vw, 2.6rem);
  padding: clamp(1.1rem, 3.2vw, 1.9rem);
  border: 1px solid var(--line-cyan);
  background: linear-gradient(148deg, rgba(13, 39, 64, .96), rgba(4, 14, 24, .96));
}

.page-home .compat-title {
  margin: .7rem 0 .5rem;
  font-family: var(--font-display);
  font-size: clamp(1.22rem, 3.6vw, 1.6rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--white);
}

.page-home .compat-body p {
  margin: 0;
  font-size: .96rem;
  line-height: 1.8;
  color: var(--text-soft);
}

.page-home .compat-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 1rem;
}

.page-home .mono-chip {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .02em;
  padding: .3rem .6rem;
  border-radius: var(--r-xs);
  color: var(--cyan-glow);
  background: rgba(39, 230, 245, .1);
  border: 1px solid var(--line-cyan);
}

.page-home .compat-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.2rem;
}

.page-home .compat-visual {
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line-soft);
}

.page-home .compat-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- 区块通用 ---------- */
.page-home .index-section,
.page-home .lineup-section,
.page-home .member-section,
.page-home .upgrade-section,
.page-home .next-section {
  padding: clamp(2.4rem, 6vw, 4.2rem) 0;
}

.page-home .section-head {
  max-width: 46rem;
  margin-bottom: clamp(1.4rem, 3.6vw, 2.2rem);
}

.page-home .section-head h2,
.page-home .lineup-copy h2,
.page-home .next-title {
  margin: .55rem 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.55rem, 4.6vw, 2.4rem);
  line-height: 1.22;
  letter-spacing: -.01em;
  color: var(--white);
}

.page-home .section-sub {
  margin: .85rem 0 0;
  font-size: .98rem;
  line-height: 1.8;
  color: var(--text-soft);
}

/* ---------- 问题索引 ---------- */
.page-home .index-section {
  background: linear-gradient(180deg, var(--ink-900), var(--ink-950));
}

.page-home .index-map {
  display: grid;
  gap: 1rem;
}

.page-home .index-card {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  padding: clamp(1.15rem, 3vw, 1.7rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-soft);
  background: linear-gradient(152deg, var(--ph-card), var(--ph-card-deep));
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.page-home .index-card:hover,
.page-home .index-card:focus-within {
  transform: translateY(-4px);
  border-color: var(--line-cyan);
}

.page-home .index-head {
  display: flex;
  align-items: baseline;
  gap: .7rem;
}

.page-home .index-no {
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 700;
  color: var(--ink-950);
  background: var(--cyan);
  border-radius: var(--r-pill);
  padding: .18rem .55rem;
}

.page-home .index-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  font-weight: 800;
  color: var(--white);
}

.page-home .index-card p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.78;
  color: var(--text-soft);
}

.page-home .index-card .link-more {
  margin-top: auto;
  align-self: flex-start;
}

.page-home .index-card--wide {
  border-color: var(--line-cyan);
  background: linear-gradient(140deg, rgba(20, 58, 92, .92), rgba(4, 14, 24, .94));
}

/* ---------- 赛前十分钟 ---------- */
.page-home .lineup-section {
  background: var(--ink-950);
}

.page-home .lineup-shell {
  display: grid;
  gap: clamp(1.4rem, 4vw, 2.6rem);
  align-items: start;
}

.page-home .lineup-lead {
  margin: .9rem 0 1.3rem;
  font-size: .98rem;
  line-height: 1.8;
  color: var(--text-soft);
}

.page-home .lineup-list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .9rem;
}

.page-home .lineup-list li {
  position: relative;
  padding-left: 1.5rem;
  border-left: 2px solid rgba(39, 230, 245, .34);
}

.page-home .lineup-list strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .25rem;
}

.page-home .lineup-list span {
  display: block;
  font-size: .93rem;
  line-height: 1.75;
  color: var(--text-soft);
}

.page-home .lineup-visual {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.page-home .lineup-visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* ---------- 会员步骤 ---------- */
.page-home .member-section {
  background:
    radial-gradient(90% 60% at 12% 0%, rgba(39, 230, 245, .09), transparent 60%),
    linear-gradient(180deg, var(--ink-900), var(--ink-950));
}

.page-home .member-grid {
  display: grid;
  gap: clamp(1.2rem, 3.6vw, 2.2rem);
  align-items: start;
}

.page-home .steps {
  display: grid;
  gap: .7rem;
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}

.page-home .step {
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: rgba(13, 39, 64, .62);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-home .step[open] {
  border-color: var(--line-cyan);
  background: rgba(20, 58, 92, .62);
}

.page-home .step summary {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .95rem 1.05rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: .98rem;
  font-weight: 700;
  color: var(--white);
}

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

.page-home .step-no {
  flex: none;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--ink-950);
  background: var(--cyan);
  border-radius: var(--r-pill);
  padding: .18rem .5rem;
  transition: background var(--dur) var(--ease);
}

.page-home .step[open] .step-no {
  background: var(--lime);
}

.page-home .step p {
  margin: 0;
  padding: 0 1.05rem 1.05rem;
  font-size: .93rem;
  line-height: 1.78;
  color: var(--text-soft);
}

.page-home .member-visual {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.page-home .member-visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* ---------- 版本能力与信任 ---------- */
.page-home .upgrade-section {
  background: var(--ink-950);
}

.page-home .upgrade-grid {
  display: grid;
  gap: .9rem;
}

.page-home .upgrade-item {
  padding: clamp(1.05rem, 2.8vw, 1.5rem);
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  background: linear-gradient(160deg, rgba(13, 39, 64, .7), rgba(6, 21, 37, .9));
}

.page-home .upgrade-item h3 {
  margin: .65rem 0 .45rem;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 800;
  color: var(--white);
}

.page-home .upgrade-item p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.76;
  color: var(--text-soft);
}

.page-home .trust-strip {
  display: grid;
  gap: .8rem;
  margin-top: clamp(1.4rem, 4vw, 2.2rem);
  padding: clamp(1.1rem, 3vw, 1.6rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line-cyan);
  background: linear-gradient(140deg, rgba(39, 230, 245, .1), rgba(4, 14, 24, .94));
}

.page-home .trust-item {
  display: flex;
  align-items: baseline;
  gap: .6rem;
}

.page-home .trust-num {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 4.4vw, 1.9rem);
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
}

.page-home .trust-num em {
  font-style: normal;
  font-size: .62em;
  color: var(--cyan-glow);
}

.page-home .trust-label {
  font-size: .88rem;
  line-height: 1.6;
  color: var(--text-soft);
}

.page-home .trust-note {
  margin: 1.1rem 0 0;
  font-size: .92rem;
  line-height: 1.8;
  color: var(--text-dim);
}

.page-home .trust-note .link-more {
  margin-left: .5rem;
}

/* ---------- 下一步 ---------- */
.page-home .next-section {
  background:
    linear-gradient(140deg, rgba(20, 58, 92, .55), rgba(4, 14, 24, .96) 62%),
    var(--ink-950);
  border-top: 1px solid var(--line-cyan);
}

.page-home .quick-list {
  display: grid;
  gap: .7rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home .quick-pill {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: .95rem 1.2rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-soft);
  background: rgba(13, 39, 64, .8);
  text-decoration: none;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.page-home .quick-pill:hover,
.page-home .quick-pill:focus-visible {
  transform: translateY(-3px);
  border-color: var(--cyan);
  background: rgba(39, 230, 245, .12);
}

.page-home .quick-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
}

.page-home .quick-desc {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .01em;
  color: var(--text-dim);
}

/* ---------- 断点 ---------- */
@media (min-width: 720px) {
  .page-home .compat-card {
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: center;
  }

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

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

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

@media (min-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
  }

  .page-home .hero-visual {
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
    border-radius: 0 var(--r-lg) var(--r-lg) 0;
  }

  .page-home .lineup-shell {
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
  }

  .page-home .lineup-visual {
    border-radius: var(--r-xl);
  }

  .page-home .member-grid {
    grid-template-columns: 1.25fr .75fr;
    align-items: center;
  }

  .page-home .index-map {
    grid-template-columns: 1.12fr .88fr;
  }

  .page-home .index-card:nth-child(2) {
    margin-top: 2.4rem;
  }

  .page-home .index-card--wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 2rem;
    row-gap: .6rem;
    align-items: center;
    margin-top: -.6rem;
  }

  .page-home .index-card--wide .index-head,
  .page-home .index-card--wide p {
    grid-column: 1;
  }

  .page-home .index-card--wide .link-more {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    margin-top: 0;
  }
}

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

  .page-home .trust-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-home .quick-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .index-card,
  .page-home .quick-pill,
  .page-home .step,
  .page-home .step-no {
    transition: none;
  }

  .page-home .index-card:hover,
  .page-home .index-card:focus-within,
  .page-home .quick-pill:hover,
  .page-home .quick-pill:focus-visible {
    transform: none;
  }
}
