:root {
  --bg: #0b0b0f;
  --bg-2: #14141c;
  --bg-3: #1c1c28;
  --card: #181822;
  --text: #f3f3f7;
  --muted: #a8a8b8;
  --line: rgba(255, 255, 255, 0.08);
  --pink: #ff3d6e;
  --pink-2: #ff7a5c;
  --accent: #8b5cff;
  --ok: #3dd68c;
  --warn: #ffb020;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --max: 1180px;
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 61, 110, 0.18), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(139, 92, 255, 0.16), transparent 50%),
    linear-gradient(180deg, #0d0d14 0%, var(--bg) 40%, #09090d 100%);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--pink);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #ff6b8f;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--pink);
  color: #fff;
  padding: 8px 12px;
  z-index: 1000;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(10, 10, 16, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.brand span {
  font-size: 1.05rem;
  background: linear-gradient(90deg, var(--pink), var(--pink-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 999px;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  background: rgba(255, 61, 110, 0.12);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--text);
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  padding: 48px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pink);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.25;
  margin-bottom: 14px;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 22px;
  max-width: 560px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--pink-2));
  color: #fff;
  box-shadow: 0 10px 28px rgba(255, 61, 110, 0.28);
}

.btn-primary:hover {
  color: #fff;
  opacity: 0.95;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  color: #fff;
  border-color: rgba(255, 61, 110, 0.4);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-meta strong {
  color: var(--text);
}

.hero-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--bg-2);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  max-height: 620px;
}

.hero-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.85rem;
}

/* Sections */
.section {
  padding: 42px 0;
}

.section-head {
  margin-bottom: 22px;
}

.section-head h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin-bottom: 8px;
}

.section-head p {
  color: var(--muted);
  max-width: 760px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%), var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 61, 110, 0.35);
}

.card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  background: var(--bg-3);
}

.card-body {
  padding: 14px 16px 16px;
}

.card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.card-body p {
  color: var(--muted);
  font-size: 0.92rem;
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  color: #fff;
  background: rgba(139, 92, 255, 0.25);
  border: 1px solid rgba(139, 92, 255, 0.35);
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.shot {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
}

.shot img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.shot figcaption {
  padding: 10px 12px;
  font-size: 0.88rem;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.panel {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.panel h3 {
  margin-bottom: 10px;
}

.panel p,
.panel li {
  color: var(--muted);
}

.panel ul {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.panel li::before {
  content: "•";
  color: var(--pink);
  margin-right: 8px;
}

.prose {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
}

.prose h2,
.prose h3 {
  margin: 1.4em 0 0.55em;
  line-height: 1.35;
}

.prose h2:first-child,
.prose h3:first-child {
  margin-top: 0;
}

.prose p {
  color: #d7d7e2;
  margin-bottom: 1em;
  text-align: justify;
}

.prose ul,
.prose ol {
  margin: 0 0 1em 1.2em;
  color: #d7d7e2;
}

.prose li {
  margin-bottom: 0.45em;
  list-style: disc;
}

.prose strong {
  color: #fff;
}

.toc {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 18px 0 8px;
}

.toc a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 61, 110, 0.08);
  border: 1px solid rgba(255, 61, 110, 0.18);
  color: #ffd0db;
  font-size: 0.92rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.feature-item {
  padding: 18px;
  border-radius: 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.feature-item h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.feature-item p {
  color: var(--muted);
  font-size: 0.94rem;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 12px;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border-radius: 12px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.steps li::before {
  content: counter(step);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--pink), var(--accent));
  font-weight: 700;
}

.faq details {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  color: var(--muted);
  margin-top: 8px;
}

.page-hero {
  padding: 36px 0 10px;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 8px;
}

.page-hero p {
  color: var(--muted);
  max-width: 720px;
}

.legal {
  padding-bottom: 50px;
}

.breadcrumb {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--pink);
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 0;
}

.error-page h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 10px;
  background: linear-gradient(90deg, var(--pink), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-page p {
  color: var(--muted);
  margin-bottom: 18px;
}

.site-footer {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  padding: 36px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 22px;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.footer-brand p,
.site-footer p,
.site-footer li {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer h4 {
  margin-bottom: 12px;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--pink);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.copyright {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  text-align: center;
  color: #7d7d8d;
  font-size: 0.86rem;
}

.age-tip {
  display: block;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 176, 32, 0.28);
  background: rgba(255, 176, 32, 0.08);
  color: #ffd089;
  font-size: 0.88rem;
  line-height: 1.55;
}

.age-tip-badge {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 7px;
  border-radius: 6px;
  background: rgba(255, 176, 32, 0.2);
  border: 1px solid rgba(255, 176, 32, 0.45);
  color: #ffb020;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  vertical-align: 1px;
}

.age-tip a {
  color: #ffb020;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.age-tip a:hover {
  color: #ffc75a;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shot-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-visual img {
    max-height: 520px;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: auto;
    width: min(240px, calc(100vw - 24px));
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: rgba(18, 18, 28, 0.98);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    z-index: 120;
  }

  .nav.open {
    display: flex;
    position: absolute;
  }

  .header-inner {
    flex-wrap: nowrap;
    min-height: 60px;
  }

  .card-grid,
  .feature-list,
  .toc,
  .shot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .prose {
    padding: 18px;
  }

  .hero {
    padding-top: 28px;
  }

  .age-tip {
    width: 100%;
    box-sizing: border-box;
    margin-top: 12px;
    padding: 12px 14px;
    font-size: 0.8rem;
    line-height: 1.65;
    word-break: break-word;
  }

  .age-tip a {
    display: inline;
    padding: 2px 0;
  }
}

@media (max-width: 520px) {
  .card-grid,
  .shot-grid {
    grid-template-columns: 1fr;
  }

  .feature-list,
  .toc {
    grid-template-columns: 1fr;
  }

  .age-tip {
    font-size: 0.78rem;
    padding: 11px 12px;
  }

  .age-tip-badge {
    display: block;
    width: fit-content;
    margin: 0 0 8px;
  }
}
