:root {
  --bg: #0a0a0a;
  --bg-2: #121212;
  --bg-3: #1a1a1a;
  --text: #f2f2f2;
  --muted: #a3a3a3;
  --accent: #c41e3a;
  --accent-2: #e63950;
  --line: #2a2a2a;
  --green: #3ddc84;
  --max: 1100px;
  --radius: 10px;
  --font: "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);
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(196, 30, 58, 0.18), transparent),
    linear-gradient(180deg, #0d0d0d 0%, var(--bg) 40%, #080808 100%);
  color: var(--text);
  line-height: 1.8;
  min-height: 100vh;
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { color: #ff6b7a; text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.container { width: min(100% - 32px, var(--max)); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}
.brand:hover { text-decoration: none; color: var(--text); }
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
  justify-content: flex-end;
}
.nav a {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}
.nav a:hover,
.nav a.active { color: var(--text); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  padding: 48px 0 36px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}
.hero-grid > div:first-child {
  animation: rise 0.7s ease both;
}
.hero-visual {
  position: relative;
  animation: rise 0.9s ease 0.12s both;
}
.hero-visual img {
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  margin: 0 auto;
  max-width: 320px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.hero-visual img:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(196, 30, 58, 0.22);
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-grid > div:first-child,
  .hero-visual,
  .shot-card img { animation: none !important; transition: none !important; }
}
.hero-badge {
  display: inline-block;
  color: var(--accent-2);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.45rem);
  line-height: 1.35;
  margin-bottom: 14px;
  font-weight: 800;
}
.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
  max-width: 36em;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: 0.2s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent), #8b1028);
  color: #fff;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}
.btn-primary:hover { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--muted); color: #fff; }

.age-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Sections */
.section { padding: 52px 0; border-bottom: 1px solid var(--line); }
.section h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  margin-bottom: 12px;
  line-height: 1.4;
}
.section-intro {
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 48em;
}
.section-body p {
  margin-bottom: 1em;
  color: #d8d8d8;
}
.section-body h3 {
  font-size: 1.2rem;
  margin: 1.6em 0 0.7em;
  color: #fff;
}
.section-body ul,
.section-body ol {
  margin: 0 0 1.2em 1.25em;
  color: #d8d8d8;
}
.section-body li { margin-bottom: 0.45em; }

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 24px 0;
}
.shot-card figcaption {
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}
.shot-card img {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  margin: 0 auto;
  max-height: 520px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.shot-card:hover img {
  transform: translateY(-4px);
  border-color: #3a3a3a;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.feature-item {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
}
.feature-item h3 {
  font-size: 1.05rem;
  margin: 0 0 8px;
  color: #fff;
}
.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.steps {
  counter-reset: step;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}
.steps li {
  position: relative;
  padding: 16px 16px 16px 64px;
  margin-bottom: 12px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.faq details {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: #fff;
}
.faq p {
  margin-top: 10px;
  color: var(--muted);
}

.toc {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 24px 0 8px;
}
.toc h2 { font-size: 1.1rem; margin-bottom: 10px; }
.toc ol { margin-left: 1.2em; color: var(--muted); }
.toc a { color: var(--accent-2); }

.page-hero {
  padding: 40px 0 24px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 10px;
}
.page-hero p { color: var(--muted); max-width: 40em; }
.page-content { padding: 36px 0 56px; }
.page-content h2 {
  font-size: 1.25rem;
  margin: 1.5em 0 0.7em;
}
.page-content p,
.page-content li { color: #d6d6d6; margin-bottom: 0.9em; }
.page-content ul { margin-left: 1.2em; margin-bottom: 1em; }
.breadcrumb {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent-2); }

.related {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.related h2 { font-size: 1.1rem; margin-bottom: 12px; }
.related ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.related a { color: var(--accent-2); }

/* Error pages */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 16px;
}
.error-page h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
  color: var(--accent-2);
  margin-bottom: 12px;
}
.error-page p { color: var(--muted); margin-bottom: 24px; }

/* Footer */
.site-footer {
  background: #050505;
  border-top: 1px solid var(--line);
  padding: 36px 0 28px;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 24px;
}
.footer-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}
.footer-brand strong { display: block; margin-bottom: 6px; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; }
.footer-col h3 {
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: #fff;
}
.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
  text-decoration: none;
}
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: #777;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-visual img { max-width: 260px; }
  .shot-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
    z-index: 120;
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav a:last-child { border-bottom: 0; }
  .header-inner { flex-wrap: nowrap; }
  .shot-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 28px 0 24px; }
  .section { padding: 36px 0; }
}
