/* ===== 娱乐天地会馆 · 首页 ===== */
.page-home {
  --home-edge: 1.25rem;
  --home-radius: var(--radius-lg);
  position: relative;
  color: var(--c-text);
  background-color: var(--c-night);
  background-image:
    radial-gradient(1100px 560px at 88% -8%, rgba(139, 92, 255, 0.22), transparent 62%),
    radial-gradient(820px 480px at 4% 14%, rgba(255, 61, 139, 0.13), transparent 60%);
  background-repeat: no-repeat;
  overflow-x: clip;
}

.page-home .container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--home-edge);
}

.page-home .container--narrow {
  max-width: var(--container-narrow);
}

.page-home .section {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

/* ---------- 右侧章节轨道 ---------- */
.page-home .read-rail {
  display: none;
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  padding-block: clamp(2.75rem, 7vw, 5rem) clamp(2.5rem, 6vw, 4rem);
}

.page-home .home-hero__grid {
  display: grid;
  gap: 2.25rem;
}

.page-home .home-hero__context {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin: 0 0 1.25rem;
  font-family: var(--font-label);
  font-size: var(--step-13);
  letter-spacing: 0.08em;
  color: var(--c-muted);
}

.page-home .home-hero__context span {
  position: relative;
  padding-left: 0.9rem;
}

.page-home .home-hero__context span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-gold);
}

.page-home .home-hero__context span:first-child::before {
  background: var(--c-cyan);
}

.page-home .home-hero__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 8vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.page-home .home-hero__title em {
  display: block;
  font-style: normal;
  color: var(--c-cyan);
  text-shadow: 0 0 24px rgba(51, 240, 210, 0.42);
}

.page-home .home-hero__lede {
  margin: 0 0 1.75rem;
  max-width: 46ch;
  font-size: var(--step-16);
  line-height: 1.8;
  color: var(--c-text);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.page-home .home-hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  margin: 0;
  padding: 1.5rem 0 0;
  list-style: none;
  border-top: 1px solid var(--hairline);
}

.page-home .home-hero__facts li {
  font-size: var(--step-13);
  line-height: 1.55;
  color: var(--c-muted);
}

.page-home .home-hero__facts b {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--font-label);
  font-size: var(--step-18);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--c-gold);
}

.page-home .home-hero__media {
  position: relative;
  margin: 0;
  border-radius: var(--home-radius);
  overflow: hidden;
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-card);
}

.page-home .home-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(200deg, rgba(51, 240, 210, 0.16), transparent 46%, rgba(255, 61, 139, 0.22));
}

.page-home .home-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* ---------- 横向节目时间轴 ---------- */
.page-home .home-rail {
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
  outline: none;
}

.page-home .home-rail:focus-visible {
  box-shadow: 0 0 0 2px rgba(51, 240, 210, 0.55);
  border-radius: var(--radius);
}

.page-home .home-rail__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1.25rem;
}

.page-home .home-rail__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 3.2vw, 1.75rem);
  letter-spacing: -0.01em;
}

.page-home .home-rail__hint {
  margin: 0;
  font-family: var(--font-label);
  font-size: var(--step-12);
  letter-spacing: 0.07em;
  color: var(--c-muted);
}

.page-home .home-rail__scroll {
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 0.75rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--c-violet) transparent;
}

.page-home .home-rail__track {
  position: relative;
  display: flex;
  min-width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .home-rail__track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0.42rem;
  height: 2px;
  background: linear-gradient(90deg, var(--c-violet), var(--c-cyan) 48%, var(--c-magenta));
  opacity: 0.5;
}

.page-home .home-rail__item {
  flex: 0 0 12.5rem;
  padding-right: 1.25rem;
  scroll-snap-align: start;
}

.page-home .home-rail__item::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--c-night);
  border: 2px solid var(--c-cyan);
  box-shadow: 0 0 12px rgba(51, 240, 210, 0.55);
}

.page-home .home-rail__time {
  display: block;
  font-family: var(--font-label);
  font-size: var(--step-12);
  letter-spacing: 0.09em;
  color: var(--c-gold);
}

.page-home .home-rail__name {
  display: block;
  margin: 0.45rem 0 0.3rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-18);
  line-height: 1.3;
}

.page-home .home-rail__where {
  display: block;
  font-size: var(--step-13);
  color: var(--c-muted);
}

.page-home .home-rail__note {
  margin: 0.5rem 0 0;
  font-size: var(--step-13);
  line-height: 1.6;
  color: var(--c-muted);
}

/* ---------- 订阅 ---------- */
.page-home .home-subscribe {
  padding-block: clamp(3rem, 8vw, 5.5rem);
  background: linear-gradient(180deg, transparent, rgba(26, 17, 64, 0.72) 16%, rgba(26, 17, 64, 0.72) 84%, transparent);
}

.page-home .home-subscribe__grid {
  display: grid;
  gap: 2.25rem;
}

.page-home .home-subscribe__media {
  margin: 0;
  border-radius: var(--home-radius);
  overflow: hidden;
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-card);
}

.page-home .home-subscribe__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.page-home .home-step {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 0 1rem;
  padding: 1.35rem 1.25rem 1.35rem 1rem;
  border-radius: var(--home-radius);
  border: 1px solid var(--glass-line);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.page-home .home-step + .home-step {
  margin-top: 1rem;
}

.page-home .home-step__no {
  font-family: var(--font-label);
  font-size: var(--step-32);
  font-weight: 700;
  line-height: 1;
  color: var(--c-violet);
}

.page-home .home-step__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-24);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.page-home .home-step__body p {
  margin: 0;
  font-size: var(--step-16);
  line-height: 1.8;
  color: var(--c-text);
}

.page-home .home-anchor-card {
  margin-top: 1.5rem;
  padding: 1.35rem 1.5rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(51, 240, 210, 0.42);
  background: linear-gradient(120deg, rgba(51, 240, 210, 0.13), rgba(139, 92, 255, 0.14));
  box-shadow: var(--shadow-neon);
}

.page-home .home-anchor-card p {
  margin: 0.75rem 0 1rem;
  font-size: var(--step-16);
  line-height: 1.8;
}

.page-home .home-inline-link {
  display: inline-block;
  padding-bottom: 2px;
  color: var(--c-cyan);
  font-size: var(--step-16);
  text-decoration: none;
  border-bottom: 1px solid rgba(51, 240, 210, 0.45);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.page-home .home-inline-link:hover,
.page-home .home-inline-link:focus-visible {
  color: #ffffff;
  border-color: var(--c-cyan);
}

/* ---------- 节目记录 ---------- */
.page-home .home-records {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.page-home .home-records__grid {
  display: grid;
  gap: 2.25rem;
}

.page-home .home-records__copy .lede {
  max-width: 42ch;
  font-size: var(--step-18);
  line-height: 1.8;
}

.page-home .home-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-filter li {
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--glass-line);
  background: rgba(43, 30, 92, 0.5);
  font-family: var(--font-label);
  font-size: var(--step-12);
  letter-spacing: 0.07em;
  color: var(--c-muted);
}

.page-home .home-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 1.75rem 0;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--hairline);
}

.page-home .home-stat {
  padding: 1.15rem 1.25rem;
  background: rgba(14, 8, 36, 0.82);
}

.page-home .home-stat__num {
  display: block;
  font-family: var(--font-label);
  font-size: clamp(1.6rem, 5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--c-gold);
}

.page-home .home-stat__label {
  display: block;
  margin-top: 0.35rem;
  font-size: var(--step-13);
  color: var(--c-muted);
}

.page-home .home-records__media {
  margin: 0;
  border-radius: var(--home-radius);
  overflow: hidden;
  border: 1px solid var(--glass-line);
}

.page-home .home-records__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* ---------- 会馆空间 ---------- */
.page-home .home-spaces {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.page-home .home-spaces__grid {
  display: grid;
  gap: 1rem;
}

.page-home .home-space {
  padding: 1.5rem;
  border-radius: var(--home-radius);
  border: 1px solid var(--hairline);
  background: rgba(26, 17, 64, 0.76);
}

.page-home .home-space h3 {
  margin: 0.85rem 0 0.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-24);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

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

.page-home .home-space__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home .home-space__facts li {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--glass-line);
  font-family: var(--font-label);
  font-size: var(--step-12);
  letter-spacing: 0.06em;
  color: var(--c-muted);
}

.page-home .home-space--stage {
  border-top: 2px solid var(--c-cyan);
}

.page-home .home-space--atrium {
  border-top: 2px solid var(--c-magenta);
}

.page-home .home-space--digital {
  border-top: 2px solid var(--c-gold);
}

.page-home .home-space--box {
  border-top: 2px solid var(--c-violet);
}

.page-home .home-band {
  position: relative;
  margin: 2rem 0 0;
  border-radius: var(--home-radius);
  overflow: hidden;
  border: 1px solid var(--glass-line);
}

.page-home .home-band img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 3;
  object-fit: cover;
}

.page-home .home-band__caption {
  position: absolute;
  left: 1rem;
  bottom: 0.9rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  background: rgba(14, 8, 36, 0.78);
  border: 1px solid var(--glass-line);
  font-family: var(--font-label);
  font-size: var(--step-12);
  letter-spacing: 0.06em;
  color: var(--c-text);
}

/* ---------- 订阅动态 ---------- */
.page-home .home-member {
  padding-block: clamp(3rem, 8vw, 5rem);
  background: linear-gradient(180deg, transparent, rgba(26, 17, 64, 0.6) 20%, rgba(26, 17, 64, 0.6) 80%, transparent);
}

.page-home .home-alerts {
  display: grid;
  gap: 1rem;
}

.page-home .home-alert {
  padding: 1.35rem 1.4rem 1.4rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  border-left: 2px solid var(--c-cyan);
  background: linear-gradient(90deg, rgba(51, 240, 210, 0.1), transparent 72%);
}

.page-home .home-alert h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-24);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.page-home .home-alert p {
  margin: 0;
  font-size: var(--step-16);
  line-height: 1.8;
  color: var(--c-text);
}

.page-home .home-alert--remind {
  border-left-color: var(--c-magenta);
  background: linear-gradient(90deg, rgba(255, 61, 139, 0.1), transparent 72%);
}

.page-home .home-alert--batch {
  border-left-color: var(--c-gold);
  background: linear-gradient(90deg, rgba(255, 196, 107, 0.11), transparent 72%);
}

.page-home .home-alert--vip {
  border-left-color: var(--c-violet);
  background: linear-gradient(90deg, rgba(139, 92, 255, 0.14), transparent 72%);
}

.page-home .home-tiers {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: var(--home-radius);
  border: 1px solid var(--glass-line);
  background: var(--glass-bg);
}

.page-home .home-tiers__lead {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-18);
}

.page-home .home-tiers__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.page-home .home-tiers__list li {
  font-size: var(--step-16);
  line-height: 1.75;
  color: var(--c-text);
  padding-left: 1rem;
  border-left: 1px solid var(--glass-line);
}

.page-home .home-tiers__list b {
  display: inline-block;
  margin-right: 0.5rem;
  font-family: var(--font-label);
  font-size: var(--step-13);
  letter-spacing: 0.07em;
  color: var(--c-gold);
}

/* ---------- 现场与节目单 ---------- */
.page-home .home-backstage {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.page-home .home-backstage__grid {
  display: grid;
  gap: 2.25rem;
}

.page-home .home-backstage__copy p {
  margin: 0 0 1.2em;
  max-width: 60ch;
  font-size: var(--step-16);
  line-height: 1.85;
  color: var(--c-text);
}

.page-home .home-backstage__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.page-home .home-backstage__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--hairline);
}

.page-home .home-backstage__stats li {
  padding: 1.15rem 1.2rem;
  background: rgba(43, 30, 92, 0.55);
}

.page-home .home-backstage__stats b {
  display: block;
  font-family: var(--font-label);
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-cyan);
}

.page-home .home-backstage__stats span {
  display: block;
  margin-top: 0.35rem;
  font-size: var(--step-13);
  color: var(--c-muted);
}

/* ---------- 常见问题 ---------- */
.page-home .home-faq {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3.5rem, 8vw, 6rem);
}

.page-home .home-qa {
  display: grid;
  gap: 0.85rem;
}

.page-home .home-qa__item {
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  background: rgba(26, 17, 64, 0.7);
  overflow: hidden;
}

.page-home .home-qa__q {
  display: block;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-18);
  line-height: 1.45;
  color: var(--c-text);
  list-style: none;
}

.page-home .home-qa__q::-webkit-details-marker {
  display: none;
}

.page-home .home-qa__q::after {
  content: "+";
  float: right;
  margin-left: 1rem;
  font-family: var(--font-label);
  font-weight: 400;
  color: var(--c-cyan);
}

.page-home .home-qa__item[open] .home-qa__q::after {
  content: "–";
}

.page-home .home-qa__q:focus-visible {
  outline: 2px solid var(--c-cyan);
  outline-offset: -2px;
}

.page-home .home-qa__a {
  padding: 0 1.25rem 1.25rem;
}

.page-home .home-qa__a p {
  margin: 0;
  font-size: var(--step-16);
  line-height: 1.85;
  color: var(--c-muted);
}

.page-home .home-faq__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ---------- 响应式 ---------- */
@media (min-width: 600px) {
  .page-home {
    --home-edge: 2rem;
  }

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

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

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

  .page-home .home-rail__item {
    flex-basis: 14.5rem;
  }

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

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

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

@media (min-width: 900px) {
  .page-home .home-hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 2rem 1.5rem;
    align-items: start;
  }

  .page-home .home-hero__copy {
    grid-column: 1 / span 7;
  }

  .page-home .home-hero__media {
    grid-column: 8 / span 5;
    margin-top: 1.5rem;
  }

  .page-home .home-hero__media img {
    aspect-ratio: 4 / 5;
  }

  .page-home .home-rail {
    grid-column: 1 / span 12;
    margin-top: 1.5rem;
  }

  .page-home .home-subscribe__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 3rem;
    align-items: start;
  }

  .page-home .home-subscribe__media {
    grid-column: 1 / span 5;
  }

  .page-home .home-subscribe__steps {
    grid-column: 7 / span 6;
  }

  .page-home .home-records__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 3rem;
    align-items: start;
  }

  .page-home .home-records__copy {
    grid-column: 1 / span 7;
  }

  .page-home .home-records__media {
    grid-column: 8 / span 5;
    margin-top: 0.5rem;
  }

  .page-home .home-backstage__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 3rem;
    align-items: start;
  }

  .page-home .home-backstage__copy {
    grid-column: 1 / span 7;
  }

  .page-home .home-backstage__aside {
    grid-column: 9 / span 4;
  }
}

@media (min-width: 1080px) {
  .page-home .home-spaces__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .page-home .home-space:nth-child(2),
  .page-home .home-space:nth-child(4) {
    margin-top: 2.25rem;
  }

  .page-home .home-space:nth-child(3) {
    margin-top: 1rem;
  }
}

@media (min-width: 1280px) {
  .page-home .read-rail {
    position: fixed;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    align-items: flex-end;
    padding: 0.85rem 0.6rem;
    border-radius: 999px;
    border: 1px solid var(--glass-line);
    background: rgba(14, 8, 36, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .page-home .read-rail__link {
    font-family: var(--font-label);
    font-size: var(--step-12);
    letter-spacing: 0.1em;
    color: var(--c-muted);
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .page-home .read-rail__link:hover,
  .page-home .read-rail__link:focus-visible {
    color: var(--c-cyan);
  }

  .page-home .read-rail__link.is-active {
    color: var(--c-cyan);
    text-shadow: 0 0 12px rgba(51, 240, 210, 0.6);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-rail__scroll {
    scroll-behavior: auto;
  }

  .page-home .home-inline-link,
  .page-home .read-rail__link {
    transition: none;
  }
}
