:root {
  --bg: #0b0c10;
  --bg-2: #12141c;
  --bg-3: #1a1d28;
  --text: #e8e6e3;
  --muted: #9a9690;
  --line: rgba(232, 230, 227, 0.12);
  --accent: #c62828;
  --accent-2: #ff5252;
  --accent-soft: rgba(198, 40, 40, 0.18);
  --max: 1120px;
  --radius: 14px;
  --font-display: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(198, 40, 40, 0.22), transparent 55%),
    radial-gradient(900px 500px at 95% 5%, rgba(80, 90, 140, 0.18), transparent 50%),
    linear-gradient(180deg, #0b0c10 0%, #10131a 45%, #0b0c10 100%);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(11, 12, 16, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}

.hero {
  padding: 3.2rem 0 2.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--accent-2);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.25;
  margin: 0 0 1rem;
  font-weight: 700;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 1.5rem;
  max-width: 36em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #8e1b1b);
  color: #fff;
  box-shadow: 0 10px 30px rgba(198, 40, 40, 0.28);
}

.btn-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.hero-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.section {
  padding: 2.8rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(18, 20, 28, 0.65), rgba(18, 20, 28, 0.2));
  border-block: 1px solid var(--line);
}

.section-head {
  margin-bottom: 1.6rem;
  max-width: 48rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin: 0 0 0.7rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.prose {
  max-width: 52rem;
}

.prose h2,
.prose h3 {
  font-family: var(--font-display);
  margin-top: 2rem;
}

.prose p,
.prose li {
  color: var(--text);
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.feature-grid,
.shot-grid,
.card-grid {
  display: grid;
  gap: 1.1rem;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.shot-grid {
  grid-template-columns: repeat(4, 1fr);
}

.card-grid {
  grid-template-columns: repeat(2, 1fr);
}

.feature-item,
.info-card,
.shot-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-item,
.info-card {
  padding: 1.25rem 1.2rem;
}

.feature-item h3,
.info-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.08rem;
  font-family: var(--font-display);
}

.feature-item p,
.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.shot-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  background: var(--bg-3);
}

.shot-card figcaption {
  padding: 0.75rem 0.9rem 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.shot-card strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.split img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

.step {
  position: relative;
  padding: 1.1rem 1.1rem 1.1rem 3.4rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.05rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-2);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.faq details {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  color: var(--muted);
  margin: 0.7rem 0 0;
}

.toc {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin: 1.2rem 0 1.8rem;
}

.toc h2 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
}

.toc ol {
  margin: 0;
  padding-left: 1.2rem;
}

.toc a {
  color: var(--text);
}

.age-banner {
  background: var(--accent-soft);
  border: 1px solid rgba(198, 40, 40, 0.35);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  color: var(--text);
  margin: 1rem 0 0;
  font-size: 0.92rem;
}

.page-hero {
  padding: 2.4rem 0 1rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin: 0 0 0.7rem;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 42rem;
}

.legal {
  padding-bottom: 3rem;
}

.legal h2 {
  font-family: var(--font-display);
  margin-top: 2rem;
}

.breadcrumb {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--muted);
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  padding: 2rem 0 2.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer h3 {
  margin: 0 0 0.7rem;
  font-size: 1rem;
  font-family: var(--font-display);
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.copyright {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.error-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.4rem);
  margin: 0 0 0.8rem;
}

.error-page p {
  color: var(--muted);
  max-width: 28rem;
  margin: 0 auto 1.4rem;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-top: 1rem;
}

.related-links a {
  color: var(--text);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.1rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .split,
  .footer-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-inner {
    position: relative;
    flex-wrap: nowrap;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.6rem 0.9rem 0.9rem;
    background: rgba(11, 12, 16, 0.96);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    z-index: 120;
  }

  .nav a {
    width: 100%;
    padding: 0.55rem 0.2rem;
    border-bottom: 1px solid var(--line);
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .nav.open {
    display: flex;
    position: absolute;
  }

  .hero {
    padding-top: 2rem;
  }

  .feature-grid,
  .shot-grid {
    grid-template-columns: 1fr;
  }

  .shot-card img {
    aspect-ratio: 3 / 4;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-grid,
.section-head,
.feature-item,
.shot-card,
.info-card {
  animation: rise 0.6s ease both;
}

.feature-item:nth-child(2),
.shot-card:nth-child(2),
.info-card:nth-child(2) {
  animation-delay: 0.08s;
}

.feature-item:nth-child(3),
.shot-card:nth-child(3),
.info-card:nth-child(3) {
  animation-delay: 0.16s;
}
