:root {
  --bg: #0b0b0d;
  --bg-soft: #141418;
  --bg-card: #1a1a20;
  --line: #2a2a33;
  --text: #f2f2f4;
  --muted: #a8a8b3;
  --brand: #e11d48;
  --brand-soft: #fb7185;
  --accent: #f43f5e;
  --ok: #22c55e;
  --max: 1120px;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --font-display: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(225, 29, 72, 0.18), transparent 55%),
    radial-gradient(900px 420px at 90% 0%, rgba(244, 63, 94, 0.12), transparent 50%),
    linear-gradient(180deg, #101014 0%, var(--bg) 40%, #09090b 100%);
  line-height: 1.8;
  min-height: 100vh;
}

a { color: var(--brand-soft); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.2rem; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.35;
  margin: 0 0 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
p { margin: 0 0 1rem; color: #d8d8e0; }

.container { width: min(100% - 2rem, var(--max)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(14px);
  background: rgba(10, 10, 12, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-inner {
  position: relative;
  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: #fff;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}
.brand-sub {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  font-family: var(--font-body);
  letter-spacing: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
}
.nav a {
  color: #d4d4dc;
  font-size: 0.95rem;
}
.nav a:hover,
.nav a.active { color: #fff; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  padding: 3.2rem 0 2.4rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}
.hero-kicker {
  display: inline-block;
  color: var(--brand-soft);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  letter-spacing: 0.08em;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  margin-bottom: 1rem;
}
.hero-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 36rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.5rem 0 1rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.78rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: 0.2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), #be123c);
  color: #fff;
  box-shadow: 0 10px 30px rgba(225, 29, 72, 0.35);
}
.btn-primary:hover { color: #fff; filter: brightness(1.08); }
.btn-ghost {
  border-color: var(--line);
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.hero-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #000;
}
.hero-visual img {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 560px;
  object-fit: cover;
  object-position: top;
}
.hero-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.55rem 0.85rem;
  border-radius: 12px;
  font-size: 0.85rem;
}

.section {
  padding: 2.8rem 0;
}
.section-head {
  margin-bottom: 1.5rem;
}
.section-head h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}
.section-head p {
  color: var(--muted);
  max-width: 46rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0 0;
}
.chip {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: #e7e7ee;
  font-size: 0.88rem;
}
.chip:hover {
  border-color: rgba(244, 63, 94, 0.5);
  color: #fff;
}

.feature-grid,
.shot-grid,
.cat-grid,
.info-grid {
  display: grid;
  gap: 1rem;
}
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.shot-grid { grid-template-columns: repeat(4, 1fr); }
.cat-grid { grid-template-columns: repeat(3, 1fr); }
.info-grid { grid-template-columns: repeat(2, 1fr); }

.card,
.shot-card,
.cat-card,
.article-box,
.faq-item,
.legal-box {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card {
  padding: 1.25rem;
}
.card h3 { font-size: 1.2rem; }
.card p:last-child { margin-bottom: 0; }

.shot-card {
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.shot-card:hover {
  transform: translateY(-3px);
  border-color: rgba(244, 63, 94, 0.45);
}
.shot-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  background: #111;
}
.shot-card figcaption {
  padding: 0.75rem 0.85rem 0.95rem;
  font-size: 0.9rem;
  color: #d7d7e0;
}

.cat-card {
  padding: 1.1rem 1.15rem;
}
.cat-card h3 { font-size: 1.15rem; }
.cat-card a { font-weight: 600; }

.article {
  background: rgba(20, 20, 24, 0.65);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem 1.35rem;
}
.article h2 { margin-top: 1.8rem; }
.article h2:first-child { margin-top: 0; }
.article h3 { margin-top: 1.35rem; font-size: 1.15rem; }
.article strong { color: #fff; }
.toc {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin: 0 0 1.5rem;
}
.toc strong { display: block; margin-bottom: 0.5rem; color: #fff; }
.toc ol { margin: 0; }
.toc a { color: #e2e2ea; }

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}
.steps li {
  position: relative;
  padding: 1rem 1rem 1rem 3.4rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.faq-list { display: grid; gap: 0.8rem; }
.faq-item { padding: 1rem 1.1rem; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.faq-item p { margin: 0; color: var(--muted); }

.cta-band {
  margin: 1rem 0 0;
  padding: 1.6rem;
  border-radius: 18px;
  background:
    linear-gradient(120deg, rgba(225, 29, 72, 0.22), rgba(20, 20, 24, 0.9)),
    var(--bg-soft);
  border: 1px solid rgba(244, 63, 94, 0.35);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cta-band h2 { margin: 0 0 0.35rem; }
.cta-band p { margin: 0; color: #e8e8ef; }

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: #08080a;
  padding: 2.2rem 0 2.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}
.site-footer h3 {
  font-size: 1rem;
  margin-bottom: 0.7rem;
  color: #fff;
}
.site-footer a,
.site-footer p { color: var(--muted); font-size: 0.92rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0.35rem 0; }
.copyright {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: #8d8d98;
  font-size: 0.85rem;
}

.page-hero {
  padding: 2.4rem 0 1.2rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.5rem;
}
.page-hero h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.breadcrumb {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
}
.breadcrumb a { color: #cfcfd8; }
.legal-content {
  background: rgba(20, 20, 24, 0.7);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem 1.25rem 1.8rem;
  margin-bottom: 2rem;
}
.legal-content h2 {
  margin-top: 1.6rem;
  font-size: 1.25rem;
}
.legal-content h2:first-child { margin-top: 0; }
.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.2rem 0 0;
}

.error-wrap {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}
.error-wrap h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 0.5rem;
}
.error-code {
  color: var(--brand-soft);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.8rem;
}

.phone-frame {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  background: #000;
  box-shadow: var(--shadow);
}
.phone-frame img {
  width: 100%;
  aspect-ratio: 9/19;
  object-fit: cover;
  object-position: top;
}

.duo {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.4rem;
  align-items: start;
}
.duo.reverse { direction: rtl; }
.duo.reverse > * { direction: ltr; }

@media (max-width: 980px) {
  .hero-grid,
  .duo,
  .duo.reverse,
  .footer-grid,
  .feature-grid,
  .info-grid,
  .cat-grid {
    grid-template-columns: 1fr;
  }
  .shot-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-visual img { max-height: 420px; }
}

@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    right: 0;
    left: auto;
    width: min(220px, calc(100vw - 2rem));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.55rem;
    background: rgba(14, 14, 18, 0.98);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    z-index: 90;
  }
  .nav.open { display: flex; }
  .nav a {
    display: block;
    padding: 0.7rem 0.85rem;
    border-radius: 8px;
  }
  .nav a:hover,
  .nav a.active { background: rgba(255, 255, 255, 0.05); }
  .header-inner { flex-wrap: nowrap; }
  .hero { padding: 2rem 0 1.5rem; }
  .hero h1 { font-size: 1.85rem; }
  .section { padding: 2rem 0; }
  .shot-grid { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  .article, .legal-content { padding: 1.1rem 0.95rem; }
  .cta-band { padding: 1.2rem; }
}

@media (max-width: 420px) {
  .shot-grid { grid-template-columns: 1fr; }
}
