.page-home {
  --home-radius: 28px;
  --home-radius-sm: 18px;
  display: block;
}

.page-home [id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  padding: clamp(18px, 3.6vw, 44px) 0 clamp(36px, 6vw, 72px);
  overflow: hidden;
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58% 48% at 84% 14%, rgba(57, 240, 218, 0.16), transparent 70%),
    radial-gradient(48% 44% at 8% 88%, rgba(243, 196, 107, 0.11), transparent 72%),
    radial-gradient(34% 30% at 62% 62%, rgba(255, 79, 154, 0.07), transparent 70%);
  pointer-events: none;
}

.page-home .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 48px);
}

.page-home .hero-kicker {
  margin: 0 0 12px;
}

.page-home .hero-title {
  margin: 0 0 16px;
  max-width: 15ch;
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--text);
}

.page-home .hero-lead {
  margin: 0 0 24px;
  max-width: 46ch;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.8;
  color: var(--muted);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(24px, 3.6vw, 40px);
}

/* 入口矩阵 */
.page-home .entry-block {
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  padding: clamp(15px, 2.2vw, 22px);
  background: linear-gradient(180deg, rgba(16, 26, 58, 0.94), rgba(7, 11, 26, 0.94));
}

.page-home .entry-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.page-home .entry-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 21px);
  letter-spacing: -0.01em;
  color: var(--text);
}

.page-home .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .entry-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.page-home .entry {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 100%;
  padding: 14px 13px 13px;
  border: 1px solid var(--line);
  border-radius: var(--home-radius-sm);
  background: var(--ink-800);
  color: var(--text);
  text-decoration: none;
  transition: border-color var(--ease), background var(--ease), transform var(--ease);
}

.page-home .entry:hover,
.page-home .entry:focus-visible {
  border-color: var(--cyan);
  background: var(--ink-700);
  transform: translateY(-2px);
  outline: none;
}

.page-home .entry:focus-visible {
  box-shadow: 0 0 0 3px rgba(57, 240, 218, 0.28);
}

.page-home .entry__index {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  transition: color var(--ease);
}

.page-home .entry:hover .entry__index,
.page-home .entry:focus-visible .entry__index {
  color: var(--gold);
}

.page-home .entry__label {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
}

.page-home .entry__meta {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.page-home .hero-shot {
  margin: 18px 0 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink-800);
}

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

.page-home .hero-shot figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

/* 右侧品牌符号 */
.page-home .hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  padding: 28px 20px 56px;
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  overflow: hidden;
  background: radial-gradient(120% 100% at 50% 0%, #14224e 0%, #070b1a 72%);
  isolation: isolate;
}

.page-home .hero-visual__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: -1;
}

.page-home .hero-visual__symbol {
  position: relative;
  display: block;
  width: min(82%, 360px);
  height: auto;
  filter: drop-shadow(0 0 28px rgba(57, 240, 218, 0.32));
}

.page-home .symbol-ring {
  fill: none;
  stroke: rgba(57, 240, 218, 0.34);
  stroke-width: 1.2;
  transform-origin: 200px 200px;
}

.page-home .symbol-ring--outer {
  stroke-dasharray: 6 14;
  animation: home-spin 46s linear infinite;
}

.page-home .symbol-ring--inner {
  stroke: rgba(243, 196, 107, 0.42);
  stroke-dasharray: 2 10;
  animation: home-spin 30s linear infinite reverse;
}

.page-home .symbol-trail {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 440;
  stroke-dashoffset: 440;
  animation: home-draw 3s ease forwards;
}

.page-home .symbol-spark {
  animation: home-pulse 3.2s ease-in-out infinite;
}

.page-home .symbol-spark--cyan { fill: var(--cyan); }
.page-home .symbol-spark--gold { fill: var(--gold); animation-delay: 0.6s; }
.page-home .symbol-spark--magenta { fill: var(--magenta); animation-delay: 1.2s; }

.page-home .hero-visual__note {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-align: center;
  color: var(--mist);
}

@keyframes home-spin {
  to { transform: rotate(360deg); }
}

@keyframes home-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes home-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

/* ---------- 通用章节 ---------- */
.page-home .section {
  position: relative;
  padding: clamp(44px, 6.4vw, 88px) 0;
}

.page-home .sec-head {
  max-width: 62ch;
  margin-bottom: clamp(22px, 3.2vw, 38px);
}

.page-home .sec-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  max-width: none;
}

.page-home .section__lead {
  max-width: 60ch;
}

/* ---------- 三处变化 ---------- */
.page-home .change-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-home .change {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  background: var(--ink-800);
}

.page-home .change--lead {
  background: linear-gradient(152deg, rgba(57, 240, 218, 0.17), rgba(16, 26, 58, 0.96) 64%);
  border-color: rgba(57, 240, 218, 0.34);
}

.page-home .change--wide {
  background: linear-gradient(206deg, rgba(243, 196, 107, 0.14), rgba(16, 26, 58, 0.96) 62%);
  border-color: rgba(243, 196, 107, 0.3);
}

.page-home .change__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 23px);
  letter-spacing: -0.01em;
  color: var(--text);
}

.page-home .change__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--muted);
}

/* ---------- 会员权益 ---------- */
.page-home .perks {
  background: linear-gradient(180deg, rgba(16, 26, 58, 0.72), rgba(7, 11, 26, 0) 78%);
}

.page-home .perks-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
}

.page-home .perk-filter {
  margin-top: 20px;
}

.page-home .perk-grid {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.page-home .perk {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--home-radius-sm);
  background: rgba(16, 26, 58, 0.72);
  transition: background var(--ease), border-color var(--ease);
}

.page-home .perk:hover {
  background: var(--ink-700);
}

.page-home .perk--explore { border-color: rgba(57, 240, 218, 0.28); }
.page-home .perk--collect { border-color: rgba(243, 196, 107, 0.28); }
.page-home .perk--exclusive { border-color: rgba(255, 79, 154, 0.26); }

.page-home .perk__cat {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.page-home .perk--collect .perk__cat { color: var(--gold); }
.page-home .perk--exclusive .perk__cat { color: var(--magenta); }

.page-home .perk__name {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text);
}

.page-home .perks-cta {
  margin: 22px 0 0;
}

.page-home .perks-figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  overflow: hidden;
  background: var(--ink-800);
}

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

.page-home .perks-figure figcaption {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- 订阅三步 ---------- */
.page-home .steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-home .step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  background: var(--ink-800);
}

.page-home .step__num {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(243, 196, 107, 0.5);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.page-home .step__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text);
}

.page-home .step__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.76;
  color: var(--muted);
}

/* ---------- 更新动态 ---------- */
.page-home .updates-lead {
  margin-bottom: clamp(20px, 3vw, 32px);
}

.page-home .update-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--line);
}

.page-home .update {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .update__time {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

.page-home .update:nth-child(2) .update__time { color: var(--gold); }
.page-home .update:nth-child(3) .update__time { color: var(--magenta); }
.page-home .update:nth-child(4) .update__time { color: var(--green); }

.page-home .update__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.9vw, 19px);
  color: var(--text);
}

.page-home .update__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

/* ---------- 收束 ---------- */
.page-home .closing {
  padding: clamp(36px, 5vw, 72px) 0 clamp(52px, 7vw, 96px);
}

.page-home .closing-banner {
  position: relative;
  margin: 0 0 clamp(20px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  overflow: hidden;
}

.page-home .closing-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 11, 26, 0) 28%, rgba(7, 11, 26, 0.86));
  pointer-events: none;
}

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

.page-home .closing-body {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  background: linear-gradient(140deg, rgba(57, 240, 218, 0.11), rgba(16, 26, 58, 0.96) 56%, rgba(255, 79, 154, 0.1));
}

.page-home .closing__title {
  margin: 0;
  max-width: 17ch;
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 48px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--text);
}

.page-home .closing__text {
  margin: 0;
  max-width: 58ch;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.8;
  color: var(--muted);
}

.page-home .closing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

/* ---------- 断点 ---------- */
@media (min-width: 620px) {
  .page-home .entry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

@media (min-width: 780px) {
  .page-home .change-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1.18fr);
    gap: 18px;
    align-items: stretch;
  }
}

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

  .page-home .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -24px;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), rgba(57, 240, 218, 0));
    transform: translateY(-50%);
  }
}

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

  .page-home .update {
    padding: 0 22px;
    border-bottom: none;
    border-left: 1px solid var(--line);
  }

  .page-home .update:first-child {
    padding-left: 0;
    border-left: none;
  }

  .page-home .update:last-child {
    padding-right: 0;
  }
}

@media (min-width: 960px) {
  .page-home .hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }

  .page-home .hero-visual {
    min-height: 600px;
    align-self: stretch;
  }

  .page-home .perks-layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }

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

@media (min-width: 1180px) {
  .page-home .perk-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .page-home .entry-grid {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .page-home .hero-title {
    font-size: clamp(32px, 9vw, 42px);
  }

  .page-home .entry-head {
    align-items: flex-start;
  }

  .page-home .closing-banner img {
    height: 190px;
    object-fit: cover;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .symbol-ring,
  .page-home .symbol-spark,
  .page-home .symbol-trail {
    animation: none;
  }

  .page-home .symbol-trail {
    stroke-dashoffset: 0;
  }

  .page-home .entry,
  .page-home .perk {
    transition: none;
  }

  .page-home .entry:hover,
  .page-home .entry:focus-visible {
    transform: none;
  }
}
