:root {
  --brand-yellow: #ffb020;
  --brand-orange: #ff6a1a;
  --brand-magenta: #c2187a;
  --brand-purple: #7a1f8c;
  --bg: #0f0b14;
  --bg-soft: #1a1222;
  --bg-card: #22182e;
  --text: #f7f0f8;
  --text-muted: #c9b8d0;
  --line: rgba(255, 255, 255, 0.1);
  --radius: 14px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --max: 1120px;
  --font-display: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(255, 176, 32, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(194, 24, 122, 0.22), transparent 50%),
    linear-gradient(180deg, #140e1a 0%, var(--bg) 40%, #120d16 100%);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-yellow);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #ffd56a;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(15, 11, 20, 0.88);
  border-bottom: 1px solid var(--line);
}

/* ads sticky bar (injected by ads.js on selected pages) */
.ads-sticky-bar {
  position: sticky;
  z-index: 90;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-yellow), var(--brand-orange) 55%, var(--brand-magenta));
  color: #1a0d12 !important;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(255, 106, 26, 0.35);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1.2rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--brand-yellow);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.25;
  margin-bottom: 16px;
  background: linear-gradient(120deg, #fff 20%, #ffd56a 55%, #ff8ad8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
  max-width: 36em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-yellow), var(--brand-orange));
  color: #1a0d12;
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.hero-note {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
}

.hero-frame {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  background: var(--bg-card);
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  max-height: 560px;
}

.section {
  padding: 56px 0;
}

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 10px;
}

.section-head p {
  color: var(--text-muted);
  max-width: 48em;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.card,
.shot,
.content-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card {
  padding: 22px;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 0.96rem;
}

.shot {
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.shot:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 176, 32, 0.45);
}

.shot img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.shot figcaption {
  padding: 10px 12px 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.feature-split img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.prose {
  color: var(--text-muted);
}

.prose h2,
.prose h3 {
  color: var(--text);
  font-family: var(--font-display);
  margin: 1.6em 0 0.7em;
}

.prose p,
.prose li {
  margin-bottom: 1em;
}

.prose ul,
.prose ol {
  padding-left: 1.2em;
  margin-bottom: 1em;
}

.prose strong {
  color: #ffe4b0;
  font-weight: 700;
}

.content-box {
  padding: 28px;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  color: var(--text-muted);
  margin-top: 10px;
}

.cta-band {
  margin: 20px 0 40px;
  padding: 36px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 176, 32, 0.18), rgba(194, 24, 122, 0.22)),
    var(--bg-soft);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  margin-bottom: 10px;
}

.cta-band p {
  color: var(--text-muted);
  margin-bottom: 18px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 28px;
  margin-top: 20px;
  background: rgba(0, 0, 0, 0.25);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-grid h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.footer-grid a,
.footer-grid p {
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
  font-size: 0.94rem;
}

.copyright {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: var(--text-muted);
  font-size: 0.86rem;
  text-align: center;
}

.page-hero {
  padding: 42px 0 18px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--text-muted);
}

.breadcrumb {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--text-muted);
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 16px;
}

.error-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  margin-bottom: 12px;
  background: linear-gradient(120deg, var(--brand-yellow), var(--brand-magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-page p {
  color: var(--text-muted);
  margin-bottom: 22px;
}

.age-tip {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 176, 32, 0.28);
  background: rgba(255, 176, 32, 0.08);
  color: #ffe4b0;
  font-size: 0.9rem;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 8px;
}

.toc a {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .feature-split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-frame img {
    max-height: 480px;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: rgba(22, 15, 28, 0.98);
    border: 1px solid var(--line);
    border-radius: 14px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a,
  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .card-grid,
  .shot-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 40px 0;
  }

  .content-box,
  .cta-band {
    padding: 20px;
  }
}
