.page-home {
  --hero-deep: #E84A7A;
  --hero-light: #FFB8D5;
  --hero-gold: #FFD700;
  --hero-purple: #2D1B4E;
  --hero-purple-dark: #1E1033;
  --hero-paper: #FFF5E6;
  --hero-card: #FFE5F2;
  --hero-border: #FFD0E8;
  --hero-ink: #1A1A1A;
  --hero-radius-lg: 40px;
  --hero-radius-md: 24px;
  --hero-radius-sm: 16px;
  --hero-shadow: 0 12px 40px rgba(45, 27, 78, 0.10);
  --hero-font-heading: "ZCOOL KuaiLe", "Ma Shan Zheng", "Noto Sans SC", sans-serif;
  --hero-font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --hero-container: 1240px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--hero-font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

.page-home *,
.page-home *::before,
.page-home *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.page-home img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-home a {
  color: inherit;
  text-decoration: none;
}

.page-home .home-hero {
  position: relative;
  background: linear-gradient(135deg, #FFB8D5 0%, #FF6B9E 55%, #E84A7A 100%);
  color: var(--hero-purple-dark);
  overflow: hidden;
  padding: 80px 24px 60px;
  border-radius: 0 0 var(--hero-radius-lg) var(--hero-radius-lg);
}

.page-home .hero-shell {
  max-width: var(--hero-container);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.page-home .hero-copy {
  position: relative;
  z-index: 3;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  border-radius: var(--hero-radius-lg);
  padding: 32px 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.page-home .hero-kicker {
  display: inline-block;
  background: var(--hero-purple-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.page-home .hero-copy h1 {
  font-family: var(--hero-font-heading);
  font-size: 34px;
  line-height: 1.2;
  color: var(--hero-purple-dark);
  margin-bottom: 12px;
  font-weight: 700;
}

.page-home .hero-lead {
  font-size: 15px;
  font-weight: 500;
  color: var(--hero-purple-dark);
  max-width: 34em;
  margin-bottom: 24px;
}

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

.page-home .hero-cta,
.page-home .hero-ghost {
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 100px;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.page-home .hero-cta {
  background: var(--hero-purple-dark);
  color: #fff;
  box-shadow: var(--shadow-peach);
}

.page-home .hero-cta:hover,
.page-home .hero-cta:focus-visible {
  background: var(--gold);
  color: var(--hero-purple-dark);
  outline: none;
  transform: translateY(-2px);
}

.page-home .hero-ghost {
  background: rgba(255, 255, 255, 0.35);
  border: 2px solid var(--hero-purple-dark);
  color: var(--hero-purple-dark);
}

.page-home .hero-ghost:hover,
.page-home .hero-ghost:focus-visible {
  background: var(--hero-purple-dark);
  color: var(--hero-paper);
  outline: none;
}

.page-home .hero-chapters {
  background: var(--hero-purple-dark);
  color: var(--hero-paper);
  border-radius: var(--hero-radius-md);
  padding: 22px 24px;
}

.page-home .chapter-deck-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--hero-gold);
  font-weight: 700;
  margin-bottom: 14px;
}

.page-home .hero-toc {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-home .hero-toc li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 8px;
}

.page-home .hero-toc li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.page-home .hero-toc a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--hero-paper);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.page-home .hero-toc a:hover,
.page-home .hero-toc a:focus-visible {
  color: var(--hero-gold);
  padding-left: 6px;
  outline: none;
}

.page-home .toc-idx {
  font-family: var(--font-number);
  font-size: 13px;
  color: var(--hero-gold);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page-home .hero-visual {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.35;
  pointer-events: none;
}

.page-home .hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.page-home .home-breadcrumbs {
  max-width: var(--hero-container);
  margin: 0 auto;
  padding: 18px 24px 0;
  font-size: 13px;
  color: var(--hero-purple);
}

.page-home .home-breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .home-breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--hero-deep);
  font-weight: 700;
}

.page-home .home-breadcrumbs a {
  font-weight: 500;
  color: var(--hero-purple);
}

.page-home .home-breadcrumbs a:hover,
.page-home .home-breadcrumbs a:focus-visible {
  color: var(--hero-deep);
  outline: none;
}

.page-home .home-breadcrumbs li[aria-current="page"] {
  color: var(--hero-deep);
  font-weight: 700;
}

.page-home .score-strip {
  max-width: var(--hero-container);
  margin: 40px auto 60px;
  padding: 28px 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 16px;
  background: var(--peach-card);
  border: 1px solid var(--peach-border);
  border-radius: var(--hero-radius-lg);
  text-align: center;
}

.page-home .score-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.page-home .score-num {
  font-family: var(--font-number);
  font-size: 32px;
  font-weight: 700;
  color: var(--hero-deep);
  line-height: 1.1;
}

.page-home .score-unit {
  font-size: 12px;
  font-weight: 600;
  color: var(--hero-purple);
  letter-spacing: 0.06em;
}

.page-home .today-section,
.page-home .legacy-section,
.page-home .release-section,
.page-home .faq-entry-section,
.page-home .about-teaser {
  max-width: var(--hero-container);
  margin: 0 auto;
  padding: 0 24px 80px;
}

.page-home .section-heading {
  margin-bottom: 36px;
}

.page-home .chapter-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--hero-deep);
  text-transform: uppercase;
  line-height: 1.4;
  margin-bottom: 8px;
}

.page-home .section-title-line {
  font-family: var(--hero-font-heading);
  font-size: 28px;
  line-height: 1.2;
  color: var(--hero-purple-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.page-home .section-title-line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: 100px;
  background: var(--hero-gold);
}

.page-home .today-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.page-home .today-stats {
  background: var(--paper-light);
  border: 1px solid var(--peach-border);
  border-radius: var(--hero-radius-lg);
  padding: 28px 24px;
}

.page-home .stat-line {
  display: grid;
  grid-template-columns: 4.5em 1fr 3em;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 14px;
}

.page-home .stat-name {
  font-weight: 600;
  color: var(--hero-purple);
}

.page-home .stat-bar {
  display: block;
  height: 8px;
  background: var(--peach-border);
  border-radius: 50px;
  overflow: hidden;
}

.page-home .bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--peach), var(--hero-deep));
  border-radius: 50px;
}

.page-home .stat-num {
  text-align: right;
  font-weight: 700;
  font-family: var(--font-number);
  color: var(--hero-purple-dark);
}

.page-home .stat-total {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 2px solid var(--hero-gold);
  font-size: 15px;
  font-weight: 600;
  color: var(--hero-purple);
}

.page-home .stat-total strong {
  color: var(--hero-deep);
  font-size: 26px;
  font-family: var(--font-number);
  margin-right: 2px;
}

.page-home .today-visual {
  border-radius: var(--hero-radius-lg);
  overflow: hidden;
  background: var(--peach-card);
  border: 1px solid var(--peach-border);
}

.page-home .today-visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .today-note {
  padding: 24px;
}

.page-home .today-note p {
  font-size: 14px;
  color: var(--hero-purple);
  margin-bottom: 14px;
}

.page-home .text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--hero-deep);
  border-bottom: 2px solid var(--hero-gold);
  padding-bottom: 2px;
  transition: color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.page-home .text-link:hover,
.page-home .text-link:focus-visible {
  color: var(--hero-purple-dark);
  border-color: var(--hero-deep);
  transform: translateX(4px);
  outline: none;
}

.page-home .legacy-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-home .legacy-visual {
  border-radius: var(--hero-radius-lg);
  overflow: hidden;
  border: 1px solid var(--peach-border);
  box-shadow: var(--hero-shadow);
}

.page-home .legacy-visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-home .legacy-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-home .legacy-block {
  background: var(--peach-card);
  border-radius: var(--hero-radius-md);
  padding: 28px 24px;
  border: 1px solid var(--peach-border);
}

.page-home .legacy-block h3 {
  font-family: var(--hero-font-heading);
  font-size: 18px;
  color: var(--hero-purple-dark);
  margin-bottom: 10px;
}

.page-home .legacy-block p {
  font-size: 14px;
  color: var(--hero-purple);
  margin-bottom: 16px;
}

.page-home .step-list {
  list-style: none;
  margin-bottom: 16px;
  counter-reset: step;
}

.page-home .step-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--hero-purple);
  margin-bottom: 10px;
}

.page-home .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--hero-deep);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-number);
}

.page-home .release-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.page-home .release-card {
  background: var(--paper-light);
  border: 1px solid var(--peach-border);
  border-left: 6px solid var(--hero-deep);
  border-radius: var(--hero-radius-md);
  padding: 24px 22px;
  transition: box-shadow var(--transition-base), border-left-color var(--transition-fast);
}

.page-home .release-card:hover,
.page-home .release-card:focus-within {
  box-shadow: var(--shadow-peach);
  border-left-color: var(--hero-gold);
}

.page-home .release-tag {
  display: inline-block;
  background: var(--hero-purple);
  color: var(--hero-paper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.page-home .release-card h3 {
  font-family: var(--hero-font-heading);
  font-size: 18px;
  color: var(--hero-purple-dark);
  margin-bottom: 8px;
}

.page-home .release-card p {
  font-size: 14px;
  color: var(--hero-purple);
  line-height: 1.6;
}

.page-home .release-more {
  margin-top: 32px;
  text-align: center;
}

.page-home .ghost-btn {
  display: inline-block;
  background: transparent;
  border: 2px solid var(--hero-deep);
  color: var(--hero-deep);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 100px;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.page-home .ghost-btn:hover,
.page-home .ghost-btn:focus-visible {
  background: var(--hero-deep);
  color: #fff;
  outline: none;
}

.page-home .faq-entry-section {
  background: var(--hero-purple-dark);
  border-radius: var(--hero-radius-lg);
  padding: 60px 24px;
  max-width: calc(var(--hero-container) + 48px);
  margin-left: auto;
  margin-right: auto;
}

.page-home .faq-entry-section .chapter-label {
  color: var(--hero-gold);
}

.page-home .faq-entry-section .section-title-line {
  color: var(--hero-paper);
}

.page-home .faq-entry-section .section-title-line::after {
  background: var(--hero-gold);
}

.page-home .faq-entry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.page-home .faq-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--hero-radius-md);
  padding: 26px 24px;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.page-home .faq-card:hover,
.page-home .faq-card:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--hero-gold);
  transform: translateY(-4px);
  outline: none;
}

.page-home .faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--hero-gold);
  color: var(--hero-purple-dark);
  font-weight: 700;
  font-size: 16px;
  font-family: var(--font-number);
  margin-bottom: 12px;
}

.page-home .faq-card h3 {
  font-family: var(--hero-font-heading);
  font-size: 18px;
  color: var(--hero-paper);
  margin-bottom: 8px;
}

.page-home .faq-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.page-home .faq-extras {
  text-align: center;
}

.page-home .faq-trust {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 18px;
}

.page-home .about-teaser {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-top: 20px;
  padding-bottom: 80px;
}

.page-home .teaser-copy {
  background: var(--peach-card);
  border: 1px solid var(--peach-border);
  border-radius: var(--hero-radius-lg);
  padding: 36px 28px;
}

.page-home .teaser-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--hero-deep);
  margin-bottom: 12px;
}

.page-home .teaser-copy h2 {
  font-family: var(--hero-font-heading);
  font-size: 24px;
  color: var(--hero-purple-dark);
  line-height: 1.3;
  margin-bottom: 14px;
}

.page-home .teaser-copy p {
  font-size: 15px;
  color: var(--hero-purple);
  margin-bottom: 18px;
  max-width: 32em;
}

.page-home .teaser-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: stretch;
}

.page-home .teaser-stat {
  background: var(--paper-light);
  border: 1px solid var(--peach-border);
  border-radius: var(--hero-radius-md);
  padding: 20px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-home .ts-num {
  font-family: var(--font-number);
  font-size: 30px;
  font-weight: 700;
  color: var(--hero-deep);
  line-height: 1.1;
}

.page-home .ts-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--hero-purple);
  margin-top: 6px;
}

@media (min-width: 640px) {
  .page-home .hero-copy h1 {
    font-size: 46px;
  }

  .page-home .hero-shell {
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
  }

  .page-home .hero-copy {
    padding: 40px 36px;
  }

  .page-home .hero-chapters {
    align-self: end;
  }

  .page-home .today-layout {
    grid-template-columns: 1.1fr 1fr;
  }

  .page-home .legacy-layout {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .release-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-home .faq-entry-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .about-teaser {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .page-home .teaser-stats {
    gap: 16px;
  }

  .page-home .ts-num {
    font-size: 36px;
  }
}

@media (min-width: 960px) {
  .page-home .home-hero {
    padding: 120px 40px 80px;
  }

  .page-home .hero-copy h1 {
    font-size: 56px;
  }

  .page-home .hero-lead {
    font-size: 17px;
  }

  .page-home .score-strip {
    grid-template-columns: repeat(4, 1fr);
    padding: 32px 40px;
  }

  .page-home .score-num {
    font-size: 38px;
  }

  .page-home .section-title-line {
    font-size: 34px;
  }

  .page-home .today-section,
  .page-home .legacy-section,
  .page-home .release-section,
  .page-home .faq-entry-section,
  .page-home .about-teaser {
    padding-left: 40px;
    padding-right: 40px;
  }

  .page-home .faq-entry-section {
    padding: 72px 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
