.page-home {
  --home-line: rgba(245, 241, 232, .12);
  --home-amber-edge: rgba(224, 164, 88, .55);
  --home-panel: #0A1826;
}

.page-home section[id],
.page-home .hero {
  scroll-margin-top: 5.5rem;
}

/* ---------- 首屏：站台视角 ---------- */
.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(2.75rem, 8vw, 5rem) 0;
  background: linear-gradient(180deg, #0B1A2A 0%, #08131f 82%, #0B1A2A 100%);
}

.page-home .hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .36;
  filter: saturate(.85) contrast(1.06);
}

.page-home .hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(70% 55% at 80% 16%, rgba(139, 92, 246, .20), transparent 62%),
    radial-gradient(62% 52% at 10% 84%, rgba(111, 162, 135, .18), transparent 68%),
    linear-gradient(90deg, rgba(8, 19, 31, .96) 0%, rgba(8, 19, 31, .80) 48%, rgba(8, 19, 31, .40) 100%);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  height: 46%;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(245, 241, 232, .06) 0 1px, transparent 1px 74px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 72%);
  mask-image: linear-gradient(180deg, transparent, #000 72%);
}

.page-home .hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  height: 3px;
  background: linear-gradient(90deg, var(--celadon), var(--amber) 46%, var(--violet));
  opacity: .8;
}

.page-home .hero .wrap {
  position: relative;
  z-index: 3;
}

.page-home .hero__inner {
  display: grid;
  gap: 1rem;
  max-width: 44rem;
  padding-bottom: clamp(1.75rem, 5vw, 3rem);
}

.page-home .hero__inner .crumbs {
  margin-bottom: .25rem;
}

.page-home .hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.125rem, 7vw, 3.875rem);
  line-height: 1.16;
  letter-spacing: -.02em;
  color: var(--cream);
}

.page-home .hero__lead {
  max-width: 38rem;
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.1875rem);
  line-height: 1.78;
  color: var(--text);
}

.page-home .hero__acts {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: .65rem;
}

.page-home .hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 clamp(1.5rem, 4vw, 2.25rem);
  background: var(--home-line);
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.page-home .hero__facts > div {
  padding: .95rem 1rem 1.05rem;
  background: var(--home-panel);
}

.page-home .hero__facts dt {
  font-size: .8125rem;
  letter-spacing: .05em;
  color: var(--text-dim);
}

.page-home .hero__facts dd {
  margin: .35rem 0 0;
  font-family: var(--font-mono);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--amber);
}

.page-home .hero__route {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding: .9rem var(--gutter) 1.15rem;
  border-top: 1px solid var(--home-line);
  background: rgba(8, 19, 31, .68);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.page-home .hero__route::-webkit-scrollbar {
  display: none;
}

.page-home .hero__route a {
  flex: 0 0 auto;
  padding: .45rem .9rem;
  border: 1px solid var(--home-line);
  border-radius: 999px;
  font-size: .875rem;
  color: var(--text);
  text-decoration: none;
  transition: color .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease);
}

.page-home .hero__route a:hover,
.page-home .hero__route a:focus-visible {
  color: var(--amber);
  border-color: var(--home-amber-edge);
  background: rgba(224, 164, 88, .10);
}

/* ---------- 通用：区块内间距 ---------- */
.page-home .section-head {
  display: grid;
  gap: .8rem;
  max-width: 46rem;
  margin-bottom: clamp(1.75rem, 4.5vw, 2.75rem);
}

.page-home .section-lead {
  max-width: 44rem;
}

.page-home .more-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.75rem;
  margin: clamp(1.5rem, 3.5vw, 2.25rem) 0 0;
}

.page-home .more-links a {
  font-weight: 700;
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(224, 164, 88, .35);
  padding-bottom: 3px;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}

.page-home .more-links a:hover,
.page-home .more-links a:focus-visible {
  color: var(--gold-soft);
  border-color: var(--gold-soft);
}

/* ---------- 更新速览：错位网格 ---------- */
.page-home .deck {
  display: grid;
  gap: 1.1rem;
}

.page-home .deck__figure {
  display: grid;
  gap: .7rem;
  margin: 0;
}

.page-home .deck__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
}

.page-home .deck__figure figcaption {
  font-size: .875rem;
  line-height: 1.65;
  color: var(--text-dim);
}

.page-home .tile {
  display: grid;
  gap: .5rem;
  padding: 1.4rem 1.35rem 1.5rem;
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(31, 41, 51, .86), rgba(11, 26, 42, .94));
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.page-home .tile:hover {
  transform: translateY(-4px);
  border-color: var(--home-amber-edge);
  box-shadow: 0 20px 44px -26px rgba(224, 164, 88, .6);
}

.page-home .tile__kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .14em;
  color: var(--celadon);
}

.page-home .tile__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--cream);
}

.page-home .tile p {
  margin: 0;
  font-size: .9688rem;
  line-height: 1.75;
  color: var(--text);
}

/* ---------- 移动端：图文左右 ---------- */
.page-home .split {
  display: grid;
  gap: clamp(1.5rem, 4.5vw, 3rem);
}

.page-home .split__text {
  display: grid;
  gap: .9rem;
  align-content: start;
}

.page-home .split__text .section-title,
.page-home .split__text .section-lead {
  margin: 0;
}

.page-home .split__media {
  margin: 0;
}

.page-home .checks {
  display: grid;
  gap: .65rem;
  margin: .6rem 0 1.1rem;
  padding: 0;
  list-style: none;
}

.page-home .checks li {
  position: relative;
  padding-left: 1.6rem;
  font-size: .9688rem;
  line-height: 1.7;
  color: var(--text);
}

.page-home .checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: .6rem;
  height: .6rem;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--celadon), var(--amber));
}

.page-home .split__text .btn {
  justify-self: start;
}

/* ---------- 会员规则：折叠面板 ---------- */
.page-home .rules {
  display: grid;
  gap: .7rem;
  margin-bottom: clamp(1.5rem, 3.5vw, 2.25rem);
}

.page-home .rule-fold {
  border: 1px solid var(--home-line);
  border-radius: var(--radius-sm);
  background: rgba(31, 41, 51, .62);
  overflow: hidden;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}

.page-home .rule-fold[open] {
  border-color: rgba(224, 164, 88, .42);
  background: rgba(31, 41, 51, .82);
}

.page-home .rule-fold summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  font-weight: 700;
  color: var(--cream);
  cursor: pointer;
  list-style: none;
}

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

.page-home .rule-fold summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.15rem;
  line-height: 1;
  color: var(--amber);
  transition: transform .25s var(--ease);
}

.page-home .rule-fold[open] summary::after {
  transform: rotate(45deg);
}

.page-home .rule-fold p {
  margin: 0;
  padding: 0 1.15rem 1.15rem;
  font-size: .9688rem;
  line-height: 1.78;
  color: var(--text);
}

/* ---------- 新手三步 ---------- */
.page-home .steps {
  display: grid;
  gap: .9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .step {
  position: relative;
  padding: 1.25rem 1.2rem 1.35rem;
  border-left: 2px solid rgba(111, 162, 135, .5);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: linear-gradient(100deg, rgba(74, 93, 78, .30), rgba(31, 41, 51, .58));
}

.page-home .step__num {
  display: block;
  font-family: var(--font-mono);
  font-size: .8125rem;
  letter-spacing: .12em;
  color: var(--amber);
}

.page-home .step__title {
  margin: .4rem 0 .45rem;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  line-height: 1.4;
  color: var(--cream);
}

.page-home .step p {
  margin: 0;
  font-size: .9688rem;
  line-height: 1.75;
  color: var(--text);
}

.page-home .guide__figure {
  display: grid;
  gap: .7rem;
  margin: clamp(1.5rem, 4vw, 2.35rem) 0 0;
}

.page-home .guide__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
}

.page-home .guide__figure figcaption {
  font-size: .875rem;
  line-height: 1.65;
  color: var(--text-dim);
}

/* ---------- 收藏直达 ---------- */
.page-home .bookmark {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--home-line);
  border-radius: var(--radius);
  background:
    radial-gradient(85% 120% at 100% 0%, rgba(139, 92, 246, .16), transparent 62%),
    linear-gradient(150deg, rgba(31, 41, 51, .86), rgba(8, 19, 31, .95));
}

.page-home .bookmark .section-title {
  margin: 0 0 .8rem;
}

.page-home .bookmark .section-lead {
  margin: 0;
}

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

.page-home .quick li {
  display: grid;
  gap: .25rem;
}

.page-home .quick a {
  width: fit-content;
  padding-bottom: 2px;
  font-weight: 700;
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid rgba(224, 164, 88, .35);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}

.page-home .quick a:hover,
.page-home .quick a:focus-visible {
  color: var(--amber);
  border-color: var(--amber);
}

.page-home .quick span {
  font-size: .875rem;
  line-height: 1.6;
  color: var(--text-dim);
}

/* ---------- 收尾 ---------- */
.page-home .closing__inner {
  display: grid;
  gap: .8rem;
  max-width: 46rem;
}

.page-home .closing .section-title {
  margin: 0;
}

.page-home .closing .section-lead {
  margin: 0;
}

.page-home .closing__acts {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: .6rem;
}

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

  .page-home .hero__facts > div {
    padding: 1.05rem 1.15rem 1.15rem;
  }

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

  .page-home .step {
    border-left: 0;
    border-top: 2px solid rgba(111, 162, 135, .5);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  }
}

@media (min-width: 900px) {
  .page-home .deck {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.25rem 1.5rem;
    align-items: start;
  }

  .page-home .deck__figure {
    grid-column: 1 / span 5;
    grid-row: 1 / span 3;
    align-self: stretch;
  }

  .page-home .deck__figure img {
    height: 100%;
    aspect-ratio: auto;
    min-height: 15rem;
  }

  .page-home .deck__a {
    grid-column: 7 / span 6;
    grid-row: 1;
  }

  .page-home .deck__b {
    grid-column: 8 / span 5;
    grid-row: 2;
  }

  .page-home .deck__c {
    grid-column: 6 / span 6;
    grid-row: 3;
  }

  .page-home .split {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .78fr);
    align-items: center;
  }

  .page-home .bookmark {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    align-items: start;
  }

  .page-home .quick {
    gap: 1rem;
  }
}

@media (min-width: 1100px) {
  .page-home .hero__inner {
    max-width: 46rem;
  }

  .page-home .deck__figure {
    grid-column: 1 / span 6;
  }

  .page-home .deck__a {
    grid-column: 8 / span 5;
  }

  .page-home .deck__b {
    grid-column: 9 / span 4;
  }

  .page-home .deck__c {
    grid-column: 7 / span 5;
  }
}
