.page-home {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
}

/* ---------- 首屏 ---------- */
.page-home .hero-home {
  position: relative;
  padding-top: clamp(36px, 6.5vw, 84px);
  padding-bottom: clamp(44px, 7vw, 88px);
}

.page-home .hero-home::before {
  content: "";
  position: absolute;
  inset: -20% -26% 24% -28%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(58% 60% at 22% 22%, rgba(123, 79, 214, .46), transparent 64%),
    radial-gradient(46% 52% at 86% 8%, rgba(63, 227, 255, .20), transparent 62%),
    radial-gradient(40% 46% at 66% 88%, rgba(230, 201, 141, .13), transparent 68%);
}

.page-home .hero-home::after {
  content: "";
  position: absolute;
  top: 10%;
  right: -8%;
  width: min(44vw, 420px);
  height: 1px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--line-strong));
  transform: rotate(-24deg);
}

.page-home .hero-home-inner {
  display: grid;
  gap: clamp(30px, 5vw, 52px);
  align-items: center;
}

.page-home .hero-title {
  margin: clamp(14px, 2vw, 22px) 0 clamp(16px, 2.4vw, 26px);
  line-height: 1.04;
  letter-spacing: -.02em;
}

.page-home .hero-title-line {
  display: block;
}

.page-home .hero-title-line--accent {
  padding-bottom: .06em;
  background: linear-gradient(96deg, var(--cyan) 0%, var(--nebula-soft) 46%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.page-home .hero-lead {
  max-width: 46ch;
}

.page-home .hero-actions {
  margin-top: clamp(22px, 3vw, 32px);
}

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

.page-home .hero-figure::before {
  content: "";
  position: absolute;
  inset: 16px -14px -20px 20px;
  z-index: -1;
  border-radius: var(--radius-l);
  background: linear-gradient(140deg, rgba(63, 227, 255, .30), rgba(123, 79, 214, .30) 52%, rgba(230, 201, 141, .16));
  filter: blur(24px);
}

.page-home .hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(34px, 5vw, 56px) 0 0;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.page-home .hero-stat {
  padding: clamp(16px, 2.4vw, 24px);
  background: rgba(8, 11, 38, .78);
}

.page-home .hero-stat-key {
  margin: 0 0 8px;
  font-size: .76rem;
  letter-spacing: .14em;
  color: var(--text-mute);
}

.page-home .hero-stat-num {
  margin: 0;
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  line-height: 1.1;
  color: var(--cyan);
  letter-spacing: .01em;
}

/* ---------- 玩法列表 ---------- */
.page-home .type-list {
  margin-top: clamp(28px, 4vw, 46px);
  border-bottom: 1px solid var(--line);
}

.page-home .type-row {
  position: relative;
  display: grid;
  gap: 8px 20px;
  padding: clamp(22px, 3vw, 34px) 0;
  border-top: 1px solid var(--line);
}

.page-home .type-row::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--nebula-soft));
  transition: width .5s var(--ease);
}

.page-home .type-row:hover::before,
.page-home .type-row:focus-within::before {
  width: 100%;
}

.page-home .type-num {
  font-size: .82rem;
  letter-spacing: .2em;
  color: var(--text-mute);
}

.page-home .type-row .h-card {
  margin: 0;
}

.page-home .type-text {
  margin: 0;
  color: var(--text-dim);
  line-height: 1.85;
}

.page-home .type-row .pill {
  justify-self: start;
}

/* ---------- 记录明细 ---------- */
.page-home .records-inner {
  display: grid;
  gap: clamp(30px, 5vw, 56px);
  align-items: start;
}

.page-home .records-kv {
  margin-top: clamp(24px, 3.4vw, 36px);
}

.page-home .records-figure {
  margin: 0;
}

/* ---------- 真人视讯 ---------- */
.page-home .live-inner {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.page-home .live-figure {
  margin: 0;
}

.page-home .live-copy .prose {
  margin-top: clamp(14px, 2vw, 20px);
}

.page-home .live-points {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: clamp(18px, 2.6vw, 26px) 0 0;
  padding: 0;
}

.page-home .live-points li {
  position: relative;
  padding-left: 26px;
  color: var(--text-dim);
  line-height: 1.8;
}

.page-home .live-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 14px;
  height: 1px;
  background: var(--gold);
}

.page-home .live-metric {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin: clamp(20px, 3vw, 30px) 0 0;
  padding: 12px 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: linear-gradient(120deg, rgba(63, 227, 255, .10), rgba(123, 79, 214, .12));
}

.page-home .live-metric-num {
  font-size: clamp(1.4rem, 3.6vw, 2rem);
  line-height: 1;
  color: var(--cyan);
}

.page-home .live-metric-label {
  font-size: .86rem;
  letter-spacing: .06em;
  color: var(--text-dim);
}

/* ---------- 第一次进站 ---------- */
.page-home .first-cards {
  margin-top: clamp(26px, 4vw, 44px);
}

.page-home .first-card {
  position: relative;
  overflow: hidden;
  padding-top: clamp(26px, 3.6vw, 38px);
}

.page-home .first-card::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--nebula) 55%, transparent);
  opacity: .7;
}

.page-home .first-card-num {
  display: block;
  margin-bottom: 12px;
  font-size: .78rem;
  letter-spacing: .22em;
  color: var(--gold);
}

/* ---------- 站点信息 ---------- */
.page-home .trust-inner {
  display: grid;
  gap: clamp(28px, 4.5vw, 52px);
  align-items: center;
}

.page-home .trust-panel {
  padding: clamp(24px, 3.6vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: linear-gradient(155deg, rgba(27, 31, 94, .55), rgba(8, 11, 38, .88));
}

.page-home .trust-kv {
  margin-top: clamp(22px, 3vw, 32px);
}

.page-home .trust-actions {
  margin-top: clamp(22px, 3vw, 30px);
}

.page-home .trust-figure {
  margin: 0;
}

/* ---------- 常见问题 ---------- */
.page-home .home-faq {
  display: grid;
  gap: 10px;
  margin-top: clamp(24px, 3.6vw, 40px);
}

.page-home .faq-more {
  margin-top: clamp(22px, 3vw, 32px);
}

/* ---------- 断点 ---------- */
@media (max-width: 430px) {
  .page-home .hero-stats {
    grid-template-columns: 1fr;
  }
}

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

@media (min-width: 900px) {
  .page-home .type-row {
    grid-template-columns: 84px minmax(150px, .75fr) minmax(0, 1.7fr) auto;
    align-items: center;
    gap: 0 32px;
  }

  .page-home .type-num {
    align-self: start;
    padding-top: 6px;
  }
}

@media (min-width: 960px) {
  .page-home .hero-home-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
    gap: clamp(36px, 5vw, 76px);
    align-items: end;
  }

  .page-home .hero-copy {
    padding-bottom: clamp(6px, 2vw, 26px);
  }

  .page-home .live-inner {
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  }

  .page-home .live-figure {
    order: -1;
  }
}

@media (min-width: 980px) {
  .page-home .records-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  }

  .page-home .records-figure {
    position: sticky;
    top: calc(var(--header-h) + 28px);
  }
}

@media (min-width: 1040px) {
  .page-home .trust-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .type-row::before {
    transition: none;
  }
}
