.page-home {
  --home-gold-line: linear-gradient(90deg, var(--star-gold) 0%, var(--galaxy-purple) 70%, transparent 100%);
  background-color: var(--deep-space-blue);
  color: var(--warm-paper);
}

/* ========== 首屏 / HERO ========== */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: 2rem 0 0;
  background:
    radial-gradient(circle at 78% 12%, rgba(107, 79, 160, 0.4), transparent 44%),
    radial-gradient(circle at 8% 70%, rgba(168, 216, 234, 0.12), transparent 38%),
    linear-gradient(145deg, var(--deep-space-blue) 0%, var(--soft-space-blue) 100%);
}
.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168, 216, 234, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 216, 234, 0.06) 1px, transparent 1px);
  background-size: 3rem 3rem;
  mask-image: linear-gradient(180deg, transparent 0%, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 55%, transparent 100%);
  pointer-events: none;
}
.page-home .home-hero__top {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2rem;
}
.page-home .home-hero__intro {
  max-width: 44rem;
}
.page-home .home-hero__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim-star-gold);
}
.page-home .home-hero__meta::before {
  content: "";
  width: 2.75rem;
  height: 1px;
  background: var(--home-gold-line);
}
.page-home .home-hero h1 {
  margin: 1.1rem 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 4.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--starlight-white);
}
.page-home .home-hero__lead {
  margin: 0;
  max-width: 38rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ice-blue);
}
.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.page-home .home-hero__facts {
  display: grid;
  gap: 0.6rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(168, 216, 234, 0.18);
}
.page-home .home-hero__fact {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px dashed rgba(168, 216, 234, 0.14);
}
.page-home .home-hero__fact:last-child {
  border-bottom: 0;
}
.page-home .home-hero__fact-num {
  min-width: 4.5rem;
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--star-gold);
}
.page-home .home-hero__fact-label {
  font-size: 0.88rem;
  color: var(--starlight-white);
}

/* 注册档案卡 */
.page-home .home-register {
  max-width: 37rem;
  background: var(--warm-paper);
  color: var(--ink);
  border-radius: 0.9rem 0.9rem 0.9rem 0;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.page-home .home-register:hover {
  transform: translateY(-4px);
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.45);
}
.page-home .home-register__cover {
  background: var(--soft-space-blue);
}
.page-home .home-register__frame {
  aspect-ratio: 3 / 2;
  border-radius: 0;
}
.page-home .home-register__body {
  padding: 1.5rem 1.25rem 1.5rem;
}
.page-home .home-register__index {
  margin: 0 0 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--galaxy-purple);
}
.page-home .home-register h2 {
  margin: 0 0 1rem;
  font-size: 1.45rem;
  color: var(--ink);
}
.page-home .home-register__steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-home .home-register__step {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 0.85rem 0;
  border-top: 1px dashed rgba(26, 26, 46, 0.14);
}
.page-home .home-register__step:first-child {
  border-top: 0;
  padding-top: 0.4rem;
}
.page-home .home-register__step-num {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-top: 0.2rem;
  background: var(--star-gold);
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 0.3rem;
  clip-path: polygon(0 0, calc(100% - 0.4rem) 0, 100% 0.4rem, 100% 100%, 0 100%);
}
.page-home .home-register__step-text strong {
  display: block;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.98rem;
}
.page-home .home-register__step-text p {
  margin: 0.25rem 0 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: rgba(26, 26, 46, 0.72);
}

/* 集锦横滑条 */
.page-home .home-clips {
  position: relative;
  z-index: 2;
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(168, 216, 234, 0.16);
}
.page-home .home-clips__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}
.page-home .home-clips__header h2 {
  margin: 0;
  font-size: 1.3rem;
  color: var(--starlight-white);
}
.page-home .home-clips__meta {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: var(--dim-star-gold);
}
.page-home .home-clips__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem 0.25rem 1rem;
}
.page-home .home-clips__item {
  scroll-snap-align: start;
  flex: 0 0 85%;
  max-width: 23rem;
  background: rgba(247, 243, 232, 0.06);
  border: 1px solid rgba(168, 216, 234, 0.18);
  border-radius: 0.75rem 0.75rem 0.25rem 0;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.page-home .home-clips__item:hover {
  transform: translateY(-5px);
  border-color: rgba(240, 180, 41, 0.55);
}
.page-home .home-clips__item--abstract {
  background: rgba(247, 243, 232, 0.045);
}
.page-home .home-clips__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-home .home-clips__body {
  padding: 0.85rem 1rem 1rem;
}
.page-home .home-clips__tag {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--star-gold);
  border: 1px solid rgba(240, 180, 41, 0.45);
  padding: 0.1rem 0.55rem;
  border-radius: 0.2rem;
}
.page-home .home-clips__name {
  margin: 0.5rem 0 0.25rem;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--starlight-white);
}
.page-home .home-clips__desc {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.6;
  color: rgba(248, 250, 252, 0.72);
}
.page-home .home-clips__visual {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(107, 79, 160, 0.5), transparent 60%),
    linear-gradient(135deg, var(--deep-space-blue), var(--soft-space-blue));
  overflow: hidden;
}
.page-home .home-clips__visual::after {
  content: "";
  position: absolute;
  width: 130%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--star-gold), transparent);
  transform: rotate(-8deg);
  opacity: 0.45;
}
.page-home .home-clips__visual span {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  letter-spacing: 0.22em;
  color: var(--star-gold);
  border: 1px solid rgba(240, 180, 41, 0.4);
  padding: 0.3rem 0.9rem;
  border-radius: 0.2rem;
  background: rgba(11, 29, 58, 0.5);
}
.page-home .home-clips__visual--a {
  background:
    radial-gradient(circle at 70% 20%, rgba(107, 79, 160, 0.55), transparent 60%),
    linear-gradient(135deg, var(--deep-space-blue), var(--soft-space-blue));
}
.page-home .home-clips__visual--b {
  background:
    radial-gradient(circle at 25% 75%, rgba(240, 180, 41, 0.3), transparent 55%),
    linear-gradient(135deg, var(--deep-space-blue), var(--soft-space-blue));
}
.page-home .home-clips__visual--c {
  background:
    radial-gradient(circle at 60% 40%, rgba(168, 216, 234, 0.3), transparent 55%),
    linear-gradient(135deg, var(--deep-space-blue), var(--soft-space-blue));
}
.page-home .home-clips__visual--d {
  background:
    radial-gradient(circle at 80% 60%, rgba(107, 79, 160, 0.45), transparent 55%),
    linear-gradient(135deg, var(--deep-space-blue), var(--soft-space-blue));
}
.page-home .home-clips__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}

/* ========== 历史交锋 ========== */
.page-home .home-history {
  background:
    radial-gradient(circle at 85% 90%, rgba(107, 79, 160, 0.12), transparent 45%),
    var(--warm-paper);
  color: var(--ink);
  padding: 3.5rem 0;
}
.page-home .home-history__grid {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}
.page-home .home-history__media {
  position: relative;
}
.page-home .home-history__frame {
  position: relative;
  z-index: 1;
  border-radius: 0.5rem;
  box-shadow: 0 1.2rem 2.4rem rgba(26, 26, 46, 0.18);
}
.page-home .home-history__media::before {
  content: "";
  position: absolute;
  left: -0.75rem;
  bottom: -0.75rem;
  width: 100%;
  height: 100%;
  border: 1px solid var(--galaxy-purple);
  border-radius: 0.5rem;
  z-index: 0;
}
.page-home .home-history__stamp {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: var(--ink);
  color: var(--warm-paper);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  padding: 0.25rem 0.7rem;
  border-radius: 0.2rem;
}
.page-home .home-history__index {
  margin: 0 0 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--galaxy-purple);
}
.page-home .home-history h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--ink);
}
.page-home .home-history__lead {
  margin: 0 0 1.5rem;
  line-height: 1.8;
  color: rgba(26, 26, 46, 0.82);
}
.page-home .home-history__facts {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.page-home .home-history__facts li {
  padding-left: 0.7rem;
  border-left: 3px solid var(--star-gold);
}
.page-home .home-history__facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
}
.page-home .home-history__facts span {
  font-size: 0.8rem;
  color: rgba(26, 26, 46, 0.68);
}
.page-home .home-history__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}

/* ========== 会员权益 ========== */
.page-home .home-benefits {
  background: var(--warm-paper);
  color: var(--ink);
  padding: 3.5rem 0;
  border-top: 1px solid rgba(26, 26, 46, 0.08);
}
.page-home .section-head__index {
  color: var(--galaxy-purple);
}
.page-home .section-head__title {
  color: var(--ink);
}
.page-home .home-benefits__grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}
.page-home .home-benefits__lead {
  margin: 0 0 1.25rem;
  font-size: 1.04rem;
  line-height: 1.8;
  color: rgba(26, 26, 46, 0.82);
}
.page-home .home-benefits__highlight {
  position: relative;
  background: linear-gradient(135deg, rgba(240, 180, 41, 0.16), rgba(107, 79, 160, 0.08));
  border: 1px solid rgba(240, 180, 41, 0.5);
  border-left: 4px solid var(--star-gold);
  border-radius: 0.5rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}
.page-home .home-benefits__highlight-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--galaxy-purple);
  margin-bottom: 0.35rem;
}
.page-home .home-benefits__highlight-name {
  display: block;
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.page-home .home-benefits__highlight-desc {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(26, 26, 46, 0.74);
}
.page-home .home-benefits__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: grid;
  gap: 0.6rem;
}
.page-home .home-benefits__list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.94rem;
  line-height: 1.65;
  color: rgba(26, 26, 46, 0.8);
}
.page-home .home-benefits__list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0.15rem;
  font-size: 0.7rem;
  color: var(--galaxy-purple);
}
.page-home .home-benefits__frame {
  aspect-ratio: 2 / 1;
  border-radius: 0.6rem;
  overflow: hidden;
  box-shadow: 0 1rem 2rem rgba(26, 26, 46, 0.14);
}
.page-home .home-benefits__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1rem;
}
.page-home .home-benefits__stats span {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: rgba(26, 26, 46, 0.72);
}
.page-home .home-benefits__stats strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
  margin-right: 0.15rem;
}

/* ========== V4规则 ========== */
.page-home .home-rules {
  background:
    radial-gradient(circle at 85% 20%, rgba(107, 79, 160, 0.32), transparent 42%),
    linear-gradient(180deg, var(--deep-space-blue), var(--soft-space-blue));
  color: var(--warm-paper);
  padding: 4rem 0;
}
.page-home .home-rules__header {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  align-items: start;
}
.page-home .home-rules__index {
  margin: 0 0 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim-star-gold);
}
.page-home .home-rules h2 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--starlight-white);
}
.page-home .home-rules__version {
  justify-self: start;
  display: inline-flex;
  flex-direction: column;
  gap: 0.2rem;
  background: rgba(240, 180, 41, 0.08);
  border: 1px solid rgba(240, 180, 41, 0.35);
  border-radius: 0.5rem;
  padding: 0.85rem 1.25rem;
}
.page-home .home-rules__version-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim-star-gold);
}
.page-home .home-rules__version-num {
  font-family: var(--font-mono);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--star-gold);
}
.page-home .home-rules__version-note {
  font-size: 0.78rem;
  color: var(--ice-blue);
}
.page-home .home-rules__lead {
  max-width: 42rem;
  margin: 0 0 1.75rem;
  line-height: 1.8;
  color: var(--ice-blue);
}
.page-home .home-rules__modules {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 2rem;
}
.page-home .home-rules__module {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: rgba(247, 243, 232, 0.05);
  border: 1px solid rgba(168, 216, 234, 0.16);
  border-left: 3px solid var(--galaxy-purple);
  border-radius: 0.4rem;
  padding: 1rem;
  transition: background 0.25s ease, transform 0.25s ease;
}
.page-home .home-rules__module:hover {
  background: rgba(247, 243, 232, 0.09);
  transform: translateY(-3px);
}
.page-home .home-rules__module-index {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--dim-star-gold);
}
.page-home .home-rules__module h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--starlight-white);
}
.page-home .home-rules__module p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(248, 250, 252, 0.76);
  flex-grow: 1;
}
.page-home .home-rules__module-link {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: var(--ice-blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(168, 216, 234, 0.35);
  width: fit-content;
}
.page-home .home-rules__module-link:hover {
  color: var(--star-gold);
  border-bottom-color: var(--star-gold);
}

/* ========== 内容目录 ========== */
.page-home .home-directory {
  background: linear-gradient(180deg, var(--warm-paper), #f2ecd8);
  color: var(--ink);
  padding: 4rem 0;
}
.page-home .home-directory__grid {
  display: grid;
  gap: 0.9rem;
  margin: 2rem 0;
}
.page-home .home-directory__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fffdf6;
  border: 1px solid rgba(26, 26, 46, 0.1);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.page-home .home-directory__item:hover {
  transform: translateX(4px);
  border-color: var(--galaxy-purple);
}
.page-home .home-directory__mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  background: var(--deep-space-blue);
  color: var(--star-gold);
  font-family: var(--font-mono);
  font-weight: 700;
  border-radius: 0.35rem;
}
.page-home .home-directory__name {
  font-weight: 700;
  color: var(--ink);
  font-size: 1rem;
  min-width: 4.5rem;
}
.page-home .home-directory__desc {
  flex: 1;
  font-size: 0.85rem;
  text-align: right;
  color: rgba(26, 26, 46, 0.65);
}
.page-home .home-directory__schedule {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  background: var(--ink);
  color: var(--warm-paper);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.page-home .home-directory__schedule-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--star-gold);
}
.page-home .home-directory__schedule p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
}
.page-home .home-trust {
  position: relative;
  border-left: 3px solid var(--star-gold);
  background: rgba(240, 180, 41, 0.08);
  padding: 1rem 1.25rem;
  border-radius: 0 0.5rem 0.5rem 0;
}
.page-home .home-trust p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(26, 26, 46, 0.8);
}

/* ========== 图片通用 ========== */
.page-home .image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== 浅色区按钮修正 ========== */
.page-home .home-history .btn--ghost,
.page-home .home-benefits .btn--ghost {
  color: var(--ink);
  border-color: rgba(26, 26, 46, 0.35);
}

/* ========== 媒体查询 ========== */
@media (min-width: 620px) {
  .page-home .home-clips__item {
    flex-basis: 46%;
  }
  .page-home .home-rules__modules {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .home-directory__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 920px) {
  .page-home .home-hero {
    padding-top: 3rem;
  }
  .page-home .home-hero__top {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2rem 3.5rem;
    align-items: start;
  }
  .page-home .home-hero__facts {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .page-home .home-hero__fact {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    border-bottom: 0;
    padding-bottom: 0;
  }
  .page-home .home-hero__fact-num {
    min-width: auto;
  }
  .page-home .home-clips__item {
    flex-basis: 30%;
  }
  .page-home .home-history__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 3rem;
  }
  .page-home .home-benefits__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
  }
  .page-home .home-rules__header {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
  .page-home .home-rules__modules {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }
  .page-home .home-directory__grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }
  .page-home .home-directory__item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  .page-home .home-directory__desc {
    text-align: center;
  }
}
