/* ===== 首页专属样式 · 作用域 .page-home ===== */
.page-home {
  --hm-gutter: clamp(18px, 4.5vw, 36px);
  --hm-wrap: var(--yh-shell-w);
  display: block;
  background: var(--yh-deep);
  color: var(--yh-shell);
  overflow-x: clip;
}

.page-home h1,
.page-home h2,
.page-home h3 {
  font-family: var(--yh-font-head);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--yh-shell);
  margin: 0;
}

.page-home p {
  margin: 0;
}

.page-home .yh-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
}

.page-home .hm-wrap {
  max-width: var(--hm-wrap);
  margin: 0 auto;
  padding-left: var(--hm-gutter);
  padding-right: var(--hm-gutter);
}

.hm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--yh-font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yh-lime);
}

.hm-eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}

.hm-lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--yh-mist);
  max-width: 62ch;
}

.hm-section__head {
  max-width: 720px;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.hm-section__head h2 {
  font-size: clamp(22px, 4.6vw, 34px);
  margin-top: 8px;
}

.hm-section__head .hm-lead {
  margin-top: 12px;
}

.hm-mono-tag {
  font-family: var(--yh-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--yh-lime);
  border: 1px solid rgba(184, 241, 77, 0.4);
  border-radius: 6px;
  padding: 5px 8px;
  line-height: 1;
}

/* ---------- 框景首屏 ---------- */
.hm-hero {
  position: relative;
  padding: clamp(16px, 3.5vw, 32px) var(--hm-gutter) clamp(28px, 6vw, 56px);
}

.hm-hero__frame {
  position: relative;
  max-width: var(--hm-wrap);
  margin: 0 auto;
  border: 1px solid rgba(168, 243, 236, 0.18);
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(160deg, rgba(18, 44, 79, 0.9), rgba(6, 14, 28, 0.96));
}

.hm-hero__frame::before,
.hm-hero__frame::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border: 2px solid var(--yh-cyan);
  z-index: 4;
  pointer-events: none;
}

.hm-hero__frame::before {
  top: 14px;
  left: 14px;
  border-right: 0;
  border-bottom: 0;
  border-top-left-radius: 8px;
}

.hm-hero__frame::after {
  right: 14px;
  bottom: 14px;
  border-left: 0;
  border-top: 0;
  border-bottom-right-radius: 8px;
}

.hm-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hm-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  display: block;
}

.hm-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(11, 31, 58, 0.5) 0%, rgba(11, 31, 58, 0.88) 52%, rgba(6, 14, 28, 0.97) 100%);
}

.hm-blob {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(46px);
  opacity: 0.5;
  animation: hm-drift 6s var(--yh-ease) infinite;
}

.hm-blob--cyan {
  width: 240px;
  height: 240px;
  top: -70px;
  right: -50px;
  background: radial-gradient(circle, rgba(46, 230, 214, 0.55), transparent 70%);
}

.hm-blob--orange {
  width: 300px;
  height: 300px;
  left: 34%;
  bottom: -150px;
  background: radial-gradient(circle, rgba(255, 138, 61, 0.42), transparent 70%);
  animation-delay: -2.5s;
}

@keyframes hm-drift {
  0%, 100% { opacity: 0.42; }
  50% { opacity: 0.64; }
}

.hm-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(26px, 5vw, 44px);
  padding: clamp(44px, 8vw, 88px) clamp(22px, 5vw, 64px) clamp(36px, 6vw, 72px);
}

.hm-hero__copy {
  max-width: 640px;
}

.hm-hero h1 {
  font-size: clamp(30px, 7vw, 52px);
  line-height: 1.14;
  margin-top: 16px;
}

.hm-hero__lead {
  margin-top: 18px;
  font-size: clamp(15.5px, 1.5vw, 17px);
  line-height: 1.8;
  color: rgba(245, 241, 232, 0.82);
  max-width: 58ch;
}

.hm-hero__actions {
  margin-top: clamp(22px, 3vw, 32px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 首屏状态卡 ---------- */
.hm-status {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: clamp(18px, 2.5vw, 24px);
  border: 1px solid rgba(168, 243, 236, 0.22);
  border-radius: var(--yh-radius);
  background: rgba(6, 14, 28, 0.62);
  backdrop-filter: blur(12px);
}

.hm-status__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hm-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(46, 230, 214, 0.42);
  background: rgba(46, 230, 214, 0.08);
  color: var(--yh-glow);
  font-family: var(--yh-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1;
}

.hm-chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yh-cyan);
  box-shadow: 0 0 9px var(--yh-cyan);
  animation: hm-pulse 4.5s var(--yh-ease) infinite;
}

@keyframes hm-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.34; }
}

.hm-status__note {
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(245, 241, 232, 0.78);
}

.hm-status__list {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(168, 243, 236, 0.14);
}

.hm-status__list > div {
  display: grid;
  gap: 4px;
}

.hm-status__list dt {
  font-family: var(--yh-font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--yh-mist);
}

.hm-status__list dd {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--yh-shell);
}

/* ---------- 横向游艺带 ---------- */
.hm-band {
  position: relative;
  padding-bottom: clamp(38px, 7vw, 76px);
}

.hm-band__head {
  max-width: var(--hm-wrap);
  margin: 0 auto clamp(16px, 3vw, 26px);
  padding: 0 var(--hm-gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 24px;
}

.hm-band__head h2 {
  font-size: clamp(21px, 4.4vw, 32px);
  margin-top: 8px;
}

.hm-band__hint {
  font-family: var(--yh-font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--yh-mist);
}

.hm-band__viewport {
  position: relative;
}

.hm-band__viewport::before,
.hm-band__viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(22px, 5vw, 56px);
  pointer-events: none;
  z-index: 2;
}

.hm-band__viewport::before {
  left: 0;
  background: linear-gradient(90deg, var(--yh-deep) 12%, transparent);
}

.hm-band__viewport::after {
  right: 0;
  background: linear-gradient(270deg, var(--yh-deep) 12%, transparent);
}

.hm-band__scroller {
  list-style: none;
  margin: 0;
  padding: 6px max(var(--hm-gutter), calc((100vw - var(--hm-wrap)) / 2)) 20px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.hm-band__scroller::-webkit-scrollbar {
  display: none;
}

.hm-band__card {
  flex: 0 0 auto;
  width: min(74vw, 268px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 16px 20px;
  border-radius: var(--yh-radius);
  border: 1px solid rgba(168, 243, 236, 0.16);
  background: linear-gradient(165deg, rgba(18, 44, 79, 0.88), rgba(6, 14, 28, 0.8));
  transition: transform 0.24s var(--yh-ease), border-color 0.24s var(--yh-ease), box-shadow 0.24s var(--yh-ease);
}

.hm-band__card--wide {
  width: min(84vw, 356px);
}

.hm-band__card--slim {
  width: min(64vw, 224px);
}

.hm-band__card:hover,
.hm-band__card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(46, 230, 214, 0.78);
  box-shadow: 0 0 0 1px rgba(46, 230, 214, 0.32), 0 18px 34px rgba(0, 0, 0, 0.44);
}

.hm-band__art {
  margin: 0;
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--yh-radius-sm);
  overflow: hidden;
  background: linear-gradient(140deg, rgba(46, 230, 214, 0.2), rgba(59, 42, 99, 0.5));
}

.hm-band__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hm-band__art--b { background: linear-gradient(140deg, rgba(46, 230, 214, 0.3), rgba(59, 42, 99, 0.72)); }
.hm-band__art--c { background: linear-gradient(140deg, rgba(255, 138, 61, 0.34), rgba(11, 31, 58, 0.92)); }
.hm-band__art--d { background: linear-gradient(140deg, rgba(184, 241, 77, 0.22), rgba(18, 44, 79, 0.92)); }
.hm-band__art--e { background: linear-gradient(140deg, rgba(168, 243, 236, 0.28), rgba(59, 42, 99, 0.76)); }

.hm-band__art--pure::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(168, 243, 236, 0.16) 0 2px, transparent 2px 12px);
}

.hm-band__title {
  font-size: 19px;
  font-weight: 700;
}

.hm-band__text {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(245, 241, 232, 0.74);
}

.hm-band__meta {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed rgba(168, 243, 236, 0.16);
  font-family: var(--yh-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--yh-cyan);
}

.hm-band__rail {
  max-width: var(--hm-wrap);
  margin: 4px auto 0;
  padding: 0 var(--hm-gutter);
  display: flex;
  gap: 8px;
}

.hm-band__rail span {
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: rgba(168, 243, 236, 0.22);
}

.hm-band__rail span:first-child {
  width: 44px;
  background: linear-gradient(90deg, var(--yh-cyan), rgba(46, 230, 214, 0.3));
}

/* ---------- 体验差别 ---------- */
.hm-why {
  position: relative;
  padding: clamp(40px, 8vw, 92px) 0;
  background: linear-gradient(180deg, var(--yh-deep) 0%, var(--yh-deep-2) 48%, var(--yh-deep) 100%);
  overflow: hidden;
}

.hm-why::before {
  content: "";
  position: absolute;
  top: -140px;
  left: -20%;
  width: 140%;
  height: 190px;
  background: linear-gradient(90deg, transparent, rgba(46, 230, 214, 0.16), rgba(255, 138, 61, 0.16), transparent);
  transform: rotate(-3deg);
  pointer-events: none;
}

.hm-why .hm-wrap {
  position: relative;
  z-index: 1;
}

.hm-why__grid {
  display: grid;
  gap: 16px;
}

.hm-why__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--yh-radius);
  border: 1px solid rgba(168, 243, 236, 0.14);
  background: rgba(18, 44, 79, 0.52);
  backdrop-filter: blur(10px);
  transition: border-color 0.24s var(--yh-ease), transform 0.24s var(--yh-ease);
}

.hm-why__card:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 230, 214, 0.6);
}

.hm-why__idx {
  font-family: var(--yh-font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--yh-orange);
}

.hm-why__title {
  font-size: 19px;
  font-weight: 700;
}

.hm-why__text {
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(245, 241, 232, 0.76);
}

.hm-why__figure {
  margin: 0;
  position: relative;
  border-radius: var(--yh-radius);
  overflow: hidden;
  border: 1px solid rgba(168, 243, 236, 0.14);
  aspect-ratio: 5 / 4;
  background: linear-gradient(150deg, rgba(11, 31, 58, 0.9), rgba(59, 42, 99, 0.7));
}

.hm-why__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.92;
}

.hm-figure__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32px 16px 14px;
  font-family: var(--yh-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: rgba(245, 241, 232, 0.68);
  background: linear-gradient(180deg, transparent, rgba(6, 14, 28, 0.92));
}

/* ---------- 进门三步 ---------- */
.hm-steps {
  padding: clamp(40px, 8vw, 88px) 0;
}

.hm-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.hm-step {
  position: relative;
  padding: 24px 22px 22px;
  border-radius: var(--yh-radius);
  border: 1px solid rgba(168, 243, 236, 0.14);
  background: linear-gradient(170deg, rgba(18, 44, 79, 0.74), rgba(6, 14, 28, 0.62));
  overflow: hidden;
}

.hm-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--yh-cyan), transparent 72%);
  opacity: 0.85;
}

.hm-step__num {
  display: block;
  margin-bottom: 12px;
  font-family: var(--yh-font-mono);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: rgba(46, 230, 214, 0.6);
}

.hm-step__title {
  font-size: 18px;
  font-weight: 700;
}

.hm-step__text {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(245, 241, 232, 0.74);
}

.hm-steps__bar {
  margin-top: clamp(20px, 3vw, 30px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.hm-steps__tip {
  font-size: 14px;
  line-height: 1.75;
  color: var(--yh-mist);
  max-width: 60ch;
}

.hm-steps__tip a {
  color: var(--yh-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(46, 230, 214, 0.42);
}

.hm-steps__tip a:hover {
  border-bottom-color: var(--yh-cyan);
}

/* ---------- 更新与归档 ---------- */
.hm-archive {
  position: relative;
  padding: clamp(40px, 8vw, 88px) 0 clamp(56px, 10vw, 112px);
  background: linear-gradient(180deg, var(--yh-deep) 0%, var(--yh-abyss) 100%);
  border-top: 1px solid rgba(168, 243, 236, 0.1);
}

.hm-archive__banner {
  margin: 0 0 clamp(24px, 4vw, 42px);
  border-radius: var(--yh-radius);
  overflow: hidden;
  border: 1px solid rgba(168, 243, 236, 0.12);
  aspect-ratio: 16 / 7;
}

.hm-archive__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.82;
}

.hm-archive__grid {
  display: grid;
  gap: 26px;
}

.hm-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 24px;
  position: relative;
  display: grid;
  gap: 6px;
}

.hm-timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, rgba(46, 230, 214, 0.62), rgba(168, 243, 236, 0.08));
}

.hm-timeline__item {
  position: relative;
}

.hm-timeline__link {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border-radius: var(--yh-radius-sm);
  text-decoration: none;
  color: inherit;
  transition: background 0.22s var(--yh-ease), transform 0.22s var(--yh-ease);
}

.hm-timeline__link:hover,
.hm-timeline__link:focus-visible {
  background: rgba(46, 230, 214, 0.08);
  transform: translateX(4px);
}

.hm-timeline__dot {
  position: absolute;
  left: -24px;
  top: 20px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--yh-deep);
  border: 2px solid var(--yh-cyan);
  box-shadow: 0 0 10px rgba(46, 230, 214, 0.5);
}

.hm-timeline__when {
  font-family: var(--yh-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--yh-lime);
}

.hm-timeline__what {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(245, 241, 232, 0.78);
}

.hm-archive__cards {
  display: grid;
  gap: 14px;
}

.hm-arch-card {
  display: grid;
  gap: 10px;
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--yh-radius);
  border: 1px solid rgba(168, 243, 236, 0.14);
  background: rgba(18, 44, 79, 0.44);
  scroll-margin-top: 96px;
  transition: border-color 0.24s var(--yh-ease);
}

.hm-arch-card:hover {
  border-color: rgba(46, 230, 214, 0.5);
}

.hm-arch-card__tag {
  font-family: var(--yh-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--yh-orange);
}

.hm-arch-card h3 {
  font-size: 18px;
  font-weight: 700;
}

.hm-arch-card p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(245, 241, 232, 0.74);
}

.hm-archive__more {
  margin-top: 6px;
}

/* ---------- 响应式 ---------- */
@media (min-width: 760px) {
  .hm-why__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .hm-why__figure {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
  }

  .hm-steps__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (min-width: 900px) {
  .hm-hero__inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.85fr);
    align-items: end;
  }

  .hm-why__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
  }

  .hm-why__card:nth-child(1) { grid-column: span 7; }
  .hm-why__card:nth-child(2) { grid-column: span 5; }
  .hm-why__card:nth-child(3) { grid-column: span 5; }

  .hm-why__figure {
    grid-column: span 7;
    aspect-ratio: 5 / 4;
  }

  .hm-archive__grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 40px;
    align-items: start;
  }

  .hm-archive__banner {
    aspect-ratio: 16 / 5;
  }
}

@media (max-width: 420px) {
  .hm-status__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hm-band__card {
    width: min(80vw, 268px);
  }

  .hm-band__card--wide {
    width: min(88vw, 320px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hm-blob,
  .page-home .hm-chip__dot {
    animation: none;
  }

  .page-home * {
    transition-duration: 0.01ms !important;
  }
}
