.page-home {
  --home-line: var(--edge);
  --home-radius-cut: 20px;
  display: block;
  background: var(--deep-sea);
  color: var(--text);
}

/* ---------- 页面上下文条 ---------- */
.page-home .home-context {
  border-bottom: 1px solid var(--home-line);
  background: linear-gradient(90deg, var(--abyss) 0%, var(--deep-sea) 70%);
}

.page-home .home-context-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.page-home .home-context-note {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mist);
}

/* ---------- 首屏 ---------- */
.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(28px, 5vw, 56px);
  padding-bottom: clamp(20px, 3vw, 36px);
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  inset: -12% 0 34% 38%;
  background-image: repeating-conic-gradient(
    from 210deg at 62% 24%,
    rgba(53, 224, 208, 0.09) 0deg 1.1deg,
    transparent 1.1deg 12deg
  );
  opacity: 0.5;
  pointer-events: none;
  animation: home-drift 22s linear infinite;
}

@keyframes home-drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-22px, 16px, 0);
  }
}

.page-home .home-hero-grid {
  position: relative;
  display: grid;
  gap: 36px;
  align-items: center;
}

.page-home .hero-copy .eyebrow {
  margin: 0 0 14px;
}

.page-home .display-1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7.2vw, 3.75rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 15ch;
}

.page-home .display-2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
}

.page-home .hero-copy .lede {
  margin: 20px 0 0;
  max-width: 44ch;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.85;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.page-home .hero-visual {
  position: relative;
  margin: 0;
  isolation: isolate;
}

.page-home .hero-shape {
  position: absolute;
  inset: 6% 2% -6% 10%;
  background: linear-gradient(142deg, var(--panel-indigo) 0%, var(--abyss) 78%);
  clip-path: polygon(0 0, 100% 16%, 100% 100%, 0 84%);
  z-index: -1;
}

.page-home .hero-slash {
  position: absolute;
  left: -6px;
  top: 12%;
  width: 3px;
  height: 92px;
  z-index: 2;
}

.page-home .hero-visual .media-frame {
  position: relative;
  z-index: 1;
}

.page-home .hero-caption {
  display: block;
  padding: 10px 14px 12px;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--mist);
  background: rgba(6, 13, 21, 0.72);
}

/* ---------- 活动滑轨 ---------- */
.page-home .home-schedule {
  position: relative;
}

.page-home .schedule-head {
  display: grid;
  gap: 12px;
}

.page-home .schedule-note {
  margin: 0;
  max-width: 56ch;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.85;
}

.page-home .schedule-track {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0 20px 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--neon) transparent;
}

.page-home .schedule-card {
  flex: 0 0 clamp(240px, 78vw, 316px);
  scroll-snap-align: start;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px 16px 20px;
  background: var(--panel-indigo);
  border: 1px solid var(--home-line);
  clip-path: var(--panel-clip);
}

.page-home .card-thumb {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  clip-path: var(--snip-clip);
  background: var(--abyss);
  margin-bottom: 4px;
}

.page-home .card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .card-tag {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--neon);
}

.page-home .schedule-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.4;
}

.page-home .card-date {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mist);
}

.page-home .card-seat {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--coral);
}

.page-home .rail-hint {
  margin: 12px 0 0;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mist);
  padding-left: 14px;
  border-left: 3px solid var(--press-red);
}

/* ---------- 会员权益 ---------- */
.page-home .tiers-grid {
  display: grid;
  gap: 40px;
}

.page-home .tiers-lede {
  margin: 18px 0 0;
  max-width: 46ch;
  color: var(--text-soft);
  font-size: 15.5px;
  line-height: 1.85;
}

.page-home .tiers-intro .media-frame {
  margin-top: 28px;
}

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

.page-home .tier-card {
  position: relative;
  padding: 22px 20px 24px 58px;
  background: var(--panel-indigo);
  border: 1px solid var(--home-line);
  clip-path: var(--panel-clip);
}

.page-home .tier-index {
  position: absolute;
  left: 20px;
  top: 24px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--press-red);
}

.page-home .tier-name {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.3;
}

.page-home .tier-threshold {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--neon);
}

.page-home .tier-perk {
  margin: 0;
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.8;
}

/* 分段切换 */
.page-home .tier-tabs {
  margin-top: 44px;
}

.page-home .tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--home-line);
}

.page-home .tab {
  min-height: 44px;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid var(--home-line);
  color: var(--text-soft);
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
  clip-path: var(--snip-clip);
}

.page-home .tab[aria-selected="true"] {
  background: var(--panel-indigo);
  border-color: var(--neon);
  color: var(--neon);
}

.page-home .tab:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
}

.page-home .tabpanel {
  padding: 20px 0 0;
  color: var(--text-soft);
  font-size: 15.5px;
  line-height: 1.85;
}

.page-home .tabpanel[hidden] {
  display: none;
}

.page-home .tabpanel p {
  margin: 0;
  max-width: 64ch;
}

/* ---------- 客户端两步指引 ---------- */
.page-home .app-grid {
  display: grid;
  gap: 40px;
}

.page-home .step-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 30px;
}

.page-home .step-item {
  position: relative;
  padding-left: 22px;
  border-left: 1px solid var(--home-line);
}

.page-home .step-item::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 4px;
  width: 3px;
  height: 30px;
  background: var(--press-red);
  transform: skewX(-14deg);
}

.page-home .step-num {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--neon);
  margin-bottom: 8px;
}

.page-home .step-item h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.4;
}

.page-home .step-item p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.85;
}

.page-home .step-item .btn {
  margin-top: 16px;
}

.page-home .app-fallback {
  margin: 30px 0 0;
  padding: 14px 16px;
  background: rgba(15, 34, 51, 0.66);
  border-left: 3px solid var(--neon);
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.85;
}

.page-home .app-visual {
  margin: 0;
}

/* ---------- 收束信息条 ---------- */
.page-home .facts-bar {
  padding: clamp(24px, 4vw, 40px);
}

.page-home .facts-title {
  margin: 0 0 26px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1.3;
  color: var(--ink);
}

.page-home .facts-list {
  display: grid;
  gap: 22px;
  margin: 0;
}

.page-home .facts-item {
  min-width: 0;
}

.page-home .facts-term {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

.page-home .facts-value {
  margin: 8px 0 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink);
}

.page-home .facts-note {
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(36, 26, 20, 0.16);
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.page-home .facts-note a {
  color: var(--press-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-home .facts-note a:hover {
  color: var(--coral);
}

/* ---------- 响应式 ---------- */
@media (min-width: 760px) {
  .page-home .facts-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 40px;
  }

  .page-home .tier-card:nth-child(2) {
    margin-top: 22px;
  }

  .page-home .tier-card:nth-child(3) {
    margin-top: 44px;
  }

  .page-home .tier-card:nth-child(4) {
    margin-top: 66px;
  }
}

@media (min-width: 900px) {
  .page-home .home-hero-grid {
    grid-template-columns: 5fr 7fr;
    gap: 52px;
  }

  .page-home .app-grid {
    grid-template-columns: 7fr 5fr;
    gap: 60px;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .page-home .schedule-track {
    padding-left: max(24px, calc((100vw - var(--rail-w) - 1280px) / 2));
    padding-right: 48px;
  }

  .page-home .tiers-grid {
    grid-template-columns: 5fr 7fr;
    gap: 64px;
    align-items: start;
  }

  .page-home .facts-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-hero::after {
    animation: none;
  }

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