:root {
  --bg: #070708;
  --bg-soft: #101114;
  --bg-card: #16181d;
  --bg-elev: #1c1f26;
  --line: #2a2e38;
  --text: #eceef2;
  --muted: #a8adb8;
  --dim: #7c8290;
  --red: #d61f3a;
  --red-deep: #9b1428;
  --red-soft: rgba(214, 31, 58, 0.16);
  --gold: #e6c07a;
  --radius: 16px;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.85;
  font-size: 16px;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(100% - 32px, var(--max)); margin: 0 auto; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--red);
  color: #fff;
  padding: 8px 14px;
  z-index: 1000;
}
.skip-link:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(7, 7, 8, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 18px; letter-spacing: 0.04em; }
.brand-text span { font-size: 12px; color: var(--dim); margin-top: 4px; }

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
}
.nav a:hover,
.nav a.active {
  color: #fff;
  background: var(--red-soft);
}
.header-cta {
  background: linear-gradient(180deg, #ee3b54, var(--red));
  color: #fff !important;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(214, 31, 58, 0.35);
}
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
}

.age-bar {
  background: #1a1012;
  border-bottom: 1px solid #3a1b22;
  color: #f3c7cf;
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
}

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 40px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% auto auto 50%;
  width: 680px;
  height: 680px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(214, 31, 58, 0.22), transparent 68%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.25;
  margin-bottom: 18px;
}
.hero h1 em {
  font-style: normal;
  color: #ff6b7d;
}
.lead {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: 0.2s ease;
}
.btn-primary {
  background: linear-gradient(180deg, #ee3b54, var(--red));
  color: #fff;
  box-shadow: 0 10px 24px rgba(214, 31, 58, 0.32);
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost {
  background: var(--bg-card);
  border-color: var(--line);
  color: #fff;
}
.btn-ghost:hover { border-color: var(--red); }
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--dim);
  font-size: 13px;
}
.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.shot {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.shot img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; object-position: top; }
.shot:nth-child(2) { margin-top: 36px; }
.shot figcaption {
  padding: 10px 12px 14px;
  font-size: 13px;
  color: var(--muted);
}

/* Sections */
.section { padding: 64px 0; }
.section.alt { background: linear-gradient(180deg, #0c0d11, #070708); }
.section-head { max-width: 760px; margin-bottom: 28px; }
.section h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 12px;
}
.section h3 {
  font-size: 22px;
  margin: 28px 0 12px;
}
.section p { color: var(--muted); margin-bottom: 16px; }
.section p strong, .prose strong { color: var(--text); }
.section a, .prose a { color: #ff7d8d; text-decoration: underline; text-underline-offset: 3px; }
.kicker { color: var(--red); font-size: 13px; letter-spacing: 0.08em; font-weight: 700; margin-bottom: 8px; }

.prose h2, .prose h3 { color: var(--text); }
.prose p, .prose li { color: var(--muted); }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 16px; }
.prose li { list-style: disc; margin-bottom: 8px; }
.prose ol li { list-style: decimal; }

.feature-grid, .card-grid, .shot-grid, .faq-grid {
  display: grid;
  gap: 18px;
}
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.card-grid { grid-template-columns: repeat(4, 1fr); }
.shot-grid { grid-template-columns: repeat(4, 1fr); }
.faq-grid { grid-template-columns: 1fr 1fr; }

.feature, .card, .faq, .info-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.feature h3, .card h3, .faq h3, .info-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}
.feature p, .card p, .faq p, .info-card p { margin: 0; font-size: 15px; }

.shot-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.shot-card img { width: 100%; aspect-ratio: 9 / 19; object-fit: cover; object-position: top; }
.shot-card div { padding: 14px 14px 16px; }
.shot-card h3 { font-size: 16px; margin: 0 0 6px; }
.shot-card p { margin: 0; font-size: 13px; color: var(--dim); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  position: relative;
}
.step b {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  margin-bottom: 12px;
}
.step h3 { font-size: 17px; margin: 0 0 8px; }
.step p { margin: 0; font-size: 14px; }

.cta-band {
  background: linear-gradient(135deg, #2a0d14, #15161b 55%, #1a1014);
  border: 1px solid #4a1f2a;
  border-radius: 24px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 24px;
  align-items: center;
}
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { margin-bottom: 18px; }

.breadcrumb {
  padding: 22px 0 0;
  color: var(--dim);
  font-size: 13px;
}
.breadcrumb a { color: var(--muted); }
.page-hero { padding: 18px 0 10px; }
.page-hero h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; }
.page-hero p { color: var(--muted); max-width: 820px; }

.legal {
  padding: 24px 0 80px;
}
.legal .prose {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
}
.toc {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 8px 0 24px;
}
.toc a {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}
.toc a:hover { color: #fff; border-color: var(--red); }

.error-page {
  min-height: calc(100vh - 180px);
  display: grid;
  place-items: center;
  padding: 60px 0;
  text-align: center;
}
.error-box {
  max-width: 680px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px 28px;
}
.error-box .code {
  font-size: 72px;
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0.08em;
}
.error-box h1 { margin: 8px 0 12px; }
.error-box p { color: var(--muted); margin-bottom: 22px; }
.error-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

footer {
  border-top: 1px solid var(--line);
  background: #09090b;
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer-brand img { width: 44px; height: 44px; border-radius: 10px; }
footer h2 { font-size: 16px; margin-bottom: 12px; }
footer p, footer a { color: var(--dim); font-size: 14px; }
footer a:hover { color: #fff; }
footer ul li { margin-bottom: 8px; }
.copy {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--dim);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .hero-grid, .cta-band, .footer-grid { grid-template-columns: 1fr; }
  .feature-grid, .faq-grid, .related { grid-template-columns: 1fr 1fr; }
  .card-grid, .shot-grid, .steps { grid-template-columns: 1fr 1fr; }
  .shot:nth-child(2) { margin-top: 0; }
}

@media (max-width: 768px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    background: #12141a;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .header-cta { text-align: center; }
  .hero { padding: 36px 0 20px; }
  .hero-visual { grid-template-columns: 1fr 1fr; }
  .feature-grid, .card-grid, .shot-grid, .faq-grid, .steps, .related, .toc, .footer-grid {
    grid-template-columns: 1fr;
  }
  .section { padding: 42px 0; }
  .cta-band, .legal .prose { padding: 22px; }
  .copy { flex-direction: column; }
  .shot-card img { aspect-ratio: 9 / 16; }
}
