/* ================= 首页专属样式 · page-home ================= */

.page-home {
  --home-glow-a: rgba(75, 240, 206, 0.20);
  --home-glow-b: rgba(138, 107, 255, 0.26);
  --home-soft: rgba(233, 241, 255, 0.78);
  display: block;
}

/* ---------- 首屏 ---------- */

.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 6vw, 80px);
  background:
    radial-gradient(115% 85% at 90% 6%, var(--home-glow-b) 0%, rgba(6, 10, 24, 0) 58%),
    radial-gradient(85% 70% at 4% 104%, var(--home-glow-a) 0%, rgba(6, 10, 24, 0) 62%),
    var(--night);
}

.page-home .hero-grid {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.page-home .hero-copy {
  min-width: 0;
}

.page-home .hero-context {
  margin: 0 0 20px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--mist);
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.page-home .hero-title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(38px, 6.4vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ice);
}

.page-home .hero-title-accent {
  display: block;
  background: linear-gradient(96deg, var(--neon) 0%, var(--violet) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-home .hero-lede {
  margin: 0;
  max-width: 34ch;
  font-size: 17px;
  line-height: 1.75;
  color: var(--home-soft);
}

.page-home .hero-entries {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  max-width: 460px;
  border-top: 1px solid var(--line);
}

.page-home .hero-entries li {
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.page-home .hero-entries a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 2px;
  font-size: 17px;
  color: var(--ice);
  text-decoration: none;
  transition: color 0.16s var(--ease), padding-left 0.16s var(--ease);
}

.page-home .hero-entries a:hover,
.page-home .hero-entries a:focus-visible {
  color: var(--neon);
  padding-left: 8px;
}

.page-home .hero-entries .idx {
  flex: none;
  padding: 2px 9px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--neon);
  border: 1px solid rgba(75, 240, 206, 0.36);
  border-radius: var(--r-pill);
}

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

.page-home .hero-visual {
  position: relative;
  min-width: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--deep);
}

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

.page-home .hero-visual-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(118deg,
      rgba(75, 240, 206, 0.26) 0%,
      rgba(6, 10, 24, 0) 42%,
      rgba(138, 107, 255, 0.30) 100%);
  mix-blend-mode: screen;
  animation: page-home-drift 12s var(--ease) infinite alternate;
}

@keyframes page-home-drift {
  from { transform: translate3d(-3%, 0, 0) scale(1.02); }
  to   { transform: translate3d(3%, -2%, 0) scale(1.06); }
}

/* ---------- 通用区块 ---------- */

.page-home .section {
  padding: clamp(48px, 7vw, 96px) 0;
}

.page-home .section--deep {
  background: linear-gradient(180deg, rgba(13, 20, 48, 0.85) 0%, rgba(13, 20, 48, 0.35) 100%);
}

.page-home .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.page-home .eyebrow .num {
  font-family: var(--font-mono);
  color: var(--neon);
  border: 1px solid rgba(75, 240, 206, 0.36);
  border-radius: var(--r-pill);
  padding: 2px 9px;
}

.page-home .section-title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--ice);
}

.page-home .section-lede {
  margin: 0;
  max-width: 62ch;
  font-size: 17px;
  line-height: 1.75;
  color: var(--home-soft);
}

.page-home .section-head {
  margin-bottom: clamp(32px, 5vw, 56px);
}

/* ---------- 三大频道 ---------- */

.page-home .channel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.page-home .channel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: linear-gradient(158deg, rgba(13, 20, 48, 0.92) 0%, rgba(6, 10, 24, 0.55) 100%);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), background 0.2s var(--ease);
}

.page-home .channel:hover,
.page-home .channel:focus-visible {
  border-color: var(--neon);
  transform: translateY(-2px);
  background: linear-gradient(158deg, rgba(18, 60, 58, 0.72) 0%, rgba(6, 10, 24, 0.6) 100%);
}

.page-home .channel-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-family: var(--font-editorial);
  font-size: 20px;
  color: var(--violet);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.page-home .channel:hover .channel-mark,
.page-home .channel:focus-visible .channel-mark {
  border-color: var(--neon);
  color: var(--neon);
}

.page-home .channel-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24px;
  color: var(--ice);
}

.page-home .channel-tag {
  margin: -8px 0 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--neon);
}

.page-home .channel-desc {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--home-soft);
}

.page-home .channel-foot {
  margin-top: auto;
  padding-top: 12px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--mist);
  transition: color 0.2s var(--ease);
}

.page-home .channel:hover .channel-foot {
  color: var(--neon);
}

.page-home .channel-figure {
  margin: clamp(36px, 5vw, 64px) 0 0;
}

/* ---------- 图片容器 ---------- */

.page-home .media-frame img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
}

.page-home .media-frame figcaption {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}

/* ---------- 干净在线 ---------- */

.page-home .clean-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.page-home .clean-copy .lead {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--home-soft);
}

.page-home .clean-copy p {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--mist);
}

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

.page-home .clean-list li {
  padding-left: 18px;
  border-left: 2px solid var(--line);
  transition: border-color 0.2s var(--ease);
}

.page-home .clean-list li:hover {
  border-left-color: var(--neon);
}

.page-home .clean-key {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--neon);
}

.page-home .clean-val {
  display: block;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
}

.page-home .clean-figure {
  margin: clamp(36px, 5vw, 64px) 0 0;
}

/* ---------- 打开指引 ---------- */

.page-home .guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.page-home .guide-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  object-fit: cover;
}

.page-home .guide-body .section-lede {
  margin-bottom: 30px;
}

.page-home .steps {
  list-style: none;
  counter-reset: home-step;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 26px;
}

.page-home .step {
  position: relative;
  padding-left: 52px;
}

.page-home .step::before {
  counter-increment: home-step;
  content: "0" counter(home-step);
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--neon);
  border: 1px solid rgba(75, 240, 206, 0.4);
  border-radius: var(--r-pill);
}

.page-home .step-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--ice);
}

.page-home .step-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--mist);
}

/* ---------- 会馆速览 ---------- */

.page-home .stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  background: var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
}

.page-home .stat {
  margin: 0;
  padding: 24px 20px;
  background: var(--deep);
}

.page-home .stat dt {
  margin-bottom: 12px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.page-home .stat dd {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1;
  color: var(--ice);
}

.page-home .stat-num {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.page-home .stat-unit {
  font-size: 14px;
  font-weight: 500;
  color: var(--neon);
}

.page-home .stats-note {
  margin: 28px 0 0;
  max-width: 68ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--mist);
}

/* ---------- 入口异常 ---------- */

.page-home .issue-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.page-home .issue {
  display: block;
  padding: 28px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: rgba(6, 10, 24, 0.6);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.page-home .issue:hover,
.page-home .issue:focus-visible {
  border-color: var(--neon);
  transform: translateY(-2px);
}

.page-home .issue .panel-title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 21px;
  color: var(--ice);
}

.page-home .issue .panel-text {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--home-soft);
}

.page-home .issue-foot {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--neon);
}

.page-home .issue-tail {
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.page-home .issue-tail p {
  margin: 0;
  max-width: 60ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mist);
}

/* ---------- 焦点可见 ---------- */

.page-home a:focus-visible,
.page-home .channel:focus-visible,
.page-home .issue:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
}

/* ---------- 响应式 ---------- */

@media (min-width: 760px) {
  .page-home .clean-grid {
    grid-template-columns: 7fr 5fr;
    gap: 48px;
  }

  .page-home .guide-grid {
    grid-template-columns: 5fr 7fr;
    gap: 48px;
  }

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

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

@media (min-width: 900px) {
  .page-home .hero-grid {
    grid-template-columns: 55fr 45fr;
    gap: 56px;
  }
}

@media (min-width: 1000px) {
  .page-home .channel-grid {
    grid-template-columns: 5fr 4fr 3fr;
    gap: 22px;
  }

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

@media (max-width: 480px) {
  .page-home .hero-actions .btn {
    flex: 1 1 100%;
    text-align: center;
  }

  .page-home .stat {
    padding: 20px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-visual-veil,
  .page-home .channel,
  .page-home .issue {
    animation: none !important;
    transition: none !important;
  }
}
