.page-home {
  --home-hero-fs: clamp(2.5rem, 7vw, 5rem);
  --home-version-fs: clamp(3rem, 10vw, 7rem);
  --home-gold-grad: linear-gradient(120deg, #D4AF37 0%, #FFD700 45%, #D4AF37 85%);
  overflow-x: hidden;
}

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

/* ===== 框景首屏 ===== */
.page-home .home-hero {
  position: relative;
  min-height: 96vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 56px;
  overflow: hidden;
  background: var(--ink);
}

.page-home .home-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  z-index: 0;
}

.page-home .home-hero-darken {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 0.38) 45%, rgba(10, 10, 10, 0.9) 100%);
}

.page-home .home-hero-thread {
  position: absolute;
  left: 28px;
  right: 28px;
  height: 1px;
  z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.8), transparent);
  pointer-events: none;
}

.page-home .home-hero-thread--n { top: 116px; }
.page-home .home-hero-thread--s { bottom: 76px; }

.page-home .home-hero-corner {
  position: absolute;
  width: 30px;
  height: 30px;
  z-index: 2;
  opacity: 0.85;
  pointer-events: none;
}

.page-home .home-hero-corner--tl { top: 104px; left: 18px; border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.page-home .home-hero-corner--tr { top: 104px; right: 18px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); }
.page-home .home-hero-corner--bl { bottom: 64px; left: 18px; border-bottom: 2px solid var(--gold); border-left: 2px solid var(--gold); }
.page-home .home-hero-corner--br { bottom: 64px; right: 18px; border-bottom: 2px solid var(--gold); border-right: 2px solid var(--gold); }

.page-home .home-hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  display: grid;
  gap: 28px;
  align-items: center;
}

.page-home .home-hero-main {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-home .home-hero-main .breadcrumb {
  margin-bottom: 18px;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.page-home .home-hero-kicker {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--paper-dim);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.page-home .home-hero-kicker::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.page-home .home-hero-title {
  font-family: var(--font-head);
  font-weight: 200;
  font-size: var(--home-hero-fs);
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin: 18px 0 16px;
  color: var(--paper);
}

.page-home .home-hero-title .text-gold {
  color: var(--gold-bright);
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
  font-weight: 400;
}

.page-home .home-hero-desc {
  color: var(--paper-dim);
  max-width: 480px;
  margin-bottom: 26px;
  font-size: 15px;
  line-height: 1.8;
}

.page-home .home-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.page-home .home-hero-version {
  position: relative;
  background: rgba(10, 10, 10, 0.74);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 175, 55, 0.42);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  overflow: hidden;
  box-shadow: 0 0 28px rgba(212, 175, 55, 0.1);
  animation: homeBreath 4s var(--ease) infinite;
}

.page-home .home-hero-version::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(212, 175, 55, 0.14);
  pointer-events: none;
}

.page-home .home-hero-version::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -70%;
  width: 42%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.16), transparent);
  transform: rotate(18deg);
  animation: homeGlide 5.5s infinite;
  pointer-events: none;
}

.page-home .home-hero-version-cap {
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--gold-dim);
}

.page-home .home-hero-version-num {
  font-size: var(--home-version-fs);
  line-height: 1.15;
  color: var(--gold-bright);
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.45);
  letter-spacing: 0.02em;
  white-space: nowrap;
  font-weight: 500;
}

.page-home .home-hero-version-sub {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--paper-soft);
}

.page-home .home-quick-panel {
  position: relative;
  background: rgba(24, 24, 24, 0.74);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.28);
  padding: 18px;
}

.page-home .home-quick-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}

.page-home .home-quick-head-name {
  font-size: 14px;
  letter-spacing: 0.24em;
  color: var(--paper);
}

.page-home .home-quick-nav {
  display: flex;
  flex-direction: column;
}

.page-home .home-quick-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 8px;
  color: var(--paper-dim);
  border-radius: 2px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

.page-home .home-quick-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform 0.3s var(--ease);
}

.page-home .home-quick-link:hover,
.page-home .home-quick-link:focus-visible {
  background: rgba(212, 175, 55, 0.07);
  color: var(--paper);
  transform: translateX(4px);
}

.page-home .home-quick-link:hover::before,
.page-home .home-quick-link:focus-visible::before {
  transform: scaleY(1);
}

.page-home .home-quick-ico {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold);
  background: rgba(10, 10, 10, 0.36);
}

.page-home .home-quick-txt {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.page-home .home-quick-txt strong {
  font-weight: 600;
  font-size: 14px;
  color: var(--paper);
}

.page-home .home-quick-txt small {
  font-size: 12px;
  color: var(--paper-soft);
}

.page-home .home-quick-foot {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--paper-soft);
  font-size: 13px;
  display: flex;
  gap: 6px;
  align-items: center;
}

.page-home .home-quick-foot .mono {
  color: var(--gold);
}

/* 漂浮元素 */
.page-home .home-float {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.page-home .home-float--coin {
  width: 34px;
  height: 34px;
  color: rgba(212, 175, 55, 0.4);
  right: 8%;
  top: 24%;
  animation: homeCoinFloat 6s var(--ease) infinite;
}

.page-home .home-float--coin2 {
  width: 20px;
  height: 20px;
  left: 6%;
  top: 30%;
  animation-delay: 1.6s;
  color: rgba(212, 175, 55, 0.28);
}

.page-home .home-float--dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  right: 22%;
  top: 18%;
  animation: homeDotPulse 3.2s var(--ease) infinite;
}

.page-home .home-float--dot2 {
  width: 5px;
  height: 5px;
  left: 18%;
  bottom: 16%;
  background: var(--crimson);
  animation-delay: 0.9s;
}

/* ===== 版本发布 ===== */
.page-home .home-release {
  position: relative;
}

.page-home .home-release::before {
  content: "";
  position: absolute;
  top: 0;
  right: 8%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(139, 0, 0, 0.2), transparent 70%);
  pointer-events: none;
}

.page-home .home-release-grid {
  display: grid;
  gap: 24px;
  align-items: stretch;
}

.page-home .home-release-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(24, 24, 24, 0.6);
}

.page-home .home-release-label {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--gold-dim);
}

.page-home .home-release-ver {
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 1.2;
  color: var(--gold-bright);
  text-shadow: 0 0 28px rgba(212, 175, 55, 0.4);
  font-weight: 500;
}

.page-home .home-release-line {
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.page-home .home-release-copy {
  padding: 6px 2px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.page-home .home-release-copy p {
  color: var(--paper-dim);
  line-height: 1.9;
  margin: 0;
}

.page-home .home-release-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== 常用栏 ===== */
.page-home .home-quick-layout {
  display: grid;
  gap: 24px;
  align-items: center;
}

.page-home .home-quick-intro {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.page-home .home-quick-intro p {
  color: var(--paper-dim);
  line-height: 1.9;
  margin: 0;
}

.page-home .home-quick-intro-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}

.page-home .home-quick-intro-stats > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 2px solid var(--gold);
  padding-left: 12px;
}

.page-home .home-quick-intro-stats .mono {
  color: var(--gold-bright);
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 500;
}

.page-home .home-quick-intro-stats small {
  color: var(--paper-soft);
  font-size: 12px;
}

.page-home .home-quick-figure {
  text-align: center;
  margin: 0;
  padding: 24px 16px;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  position: relative;
}

.page-home .home-quick-figure::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(212, 175, 55, 0.08);
  pointer-events: none;
}

.page-home .home-quick-figure img {
  max-width: 200px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.page-home .home-quick-figure figcaption {
  color: var(--paper-soft);
  font-size: 12px;
  margin-top: 12px;
  letter-spacing: 0.1em;
}

/* ===== 当季版亮点 ===== */
.page-home .home-feature-grid {
  display: grid;
  gap: 28px;
  align-items: start;
}

.page-home .home-feature-tasks {
  min-width: 0;
}

.page-home .home-feature-sub-title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 18px;
}

.page-home .home-task-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 14px;
}

.page-home .home-task-list li {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--paper-dim);
  line-height: 1.6;
}

.page-home .home-task-list li > span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.page-home .home-feature-note {
  color: var(--paper-soft);
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 18px;
}

.page-home .home-feature-phone {
  margin: 0 auto;
  width: 100%;
  max-width: 280px;
  padding: 18px 12px 12px;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.12), rgba(10, 10, 10, 0.4));
  border: 1px solid rgba(212, 175, 55, 0.3);
  position: relative;
}

.page-home .home-feature-phone::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 4px;
  border-radius: 2px;
  background: rgba(212, 175, 55, 0.28);
}

.page-home .home-feature-phone img {
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.page-home .home-feature-phone figcaption {
  text-align: center;
  color: var(--paper-soft);
  font-size: 12px;
  margin-top: 12px;
  letter-spacing: 0.12em;
}

.page-home .home-feature-stack {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.page-home .home-feature-stack-item {
  background: rgba(24, 24, 24, 0.64);
  border: 1px solid rgba(212, 175, 55, 0.18);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.page-home .home-feature-stack-item:hover {
  border-color: rgba(212, 175, 55, 0.42);
  transform: translateY(-2px);
}

.page-home .home-feature-stack-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--paper);
  margin: 0;
}

.page-home .home-feature-stack-item p {
  color: var(--paper-soft);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* ===== 玩家声音 ===== */
.page-home .home-voice-grid {
  display: grid;
  gap: 18px;
}

.page-home .home-voice-card {
  background: rgba(24, 24, 24, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.16);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.page-home .home-voice-card--featured {
  border-color: rgba(212, 175, 55, 0.38);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(24, 24, 24, 0.7));
}

.page-home .home-voice-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-home .home-voice-avatar {
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.55);
  width: 48px;
  height: 48px;
  object-fit: cover;
  flex: 0 0 48px;
}

.page-home .home-voice-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-home .home-voice-info strong {
  color: var(--paper);
  font-size: 14px;
}

.page-home .home-voice-info small {
  color: var(--paper-soft);
  font-size: 12px;
}

.page-home .home-voice-no {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold);
  font-size: 12px;
  border-radius: 50%;
}

.page-home .home-voice-card p {
  color: var(--paper-dim);
  line-height: 1.8;
  margin: 0;
}

.page-home .home-voice-tag {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.12em;
  display: inline-block;
  margin-top: 4px;
}

.page-home .home-voice-note {
  color: var(--paper-soft);
  font-size: 12px;
  text-align: center;
  margin: 20px 0 0;
}

/* ===== 底部CTA ===== */
.page-home .home-cta {
  padding-top: 24px;
}

.page-home .home-cta-frame {
  position: relative;
  text-align: center;
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: clamp(32px, 6vw, 64px);
  overflow: hidden;
}

.page-home .home-cta-frame::before,
.page-home .home-cta-frame::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  pointer-events: none;
}

.page-home .home-cta-frame::before {
  top: 12px;
  left: 12px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}

.page-home .home-cta-frame::after {
  bottom: 12px;
  right: 12px;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
}

.page-home .home-cta-frame h2 {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  color: var(--paper);
  margin: 0 0 12px;
}

.page-home .home-cta-frame p {
  color: var(--paper-dim);
  margin: 0 0 24px;
  line-height: 1.8;
}

.page-home .home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ===== 关键帧 ===== */
@keyframes homeGlide {
  0% { transform: rotate(18deg) translateY(-40%); }
  100% { transform: rotate(18deg) translateY(110%); }
}

@keyframes homeCoinFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(8deg); }
}

@keyframes homeDotPulse {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.7); }
}

@keyframes homeBreath {
  0%, 100% { box-shadow: 0 0 18px rgba(212, 175, 55, 0.12); }
  50% { box-shadow: 0 0 34px rgba(212, 175, 55, 0.22); }
}

/* ===== 桌面端布局 ===== */
@media (min-width: 768px) {
  .page-home .home-release-grid {
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 32px;
  }

  .page-home .home-quick-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 40px;
  }

  .page-home .home-feature-grid {
    grid-template-columns: minmax(0, 1fr) 280px minmax(260px, 1fr);
    gap: 32px;
    align-items: start;
  }

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

@media (min-width: 1024px) {
  .page-home .home-hero-inner {
    grid-template-columns: minmax(0, 1fr) auto minmax(280px, 340px);
    gap: 36px;
    align-items: center;
  }

  .page-home .home-hero-version {
    padding: 34px 28px;
  }

  .page-home .home-hero-title {
    font-size: var(--home-hero-fs);
  }

  .page-home .home-quick-panel {
    width: 340px;
  }
}

/* ===== 减少动效 ===== */
@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    animation: none !important;
    transition: none !important;
  }

  .page-home .home-float {
    display: none;
  }
}
