:root {
  --bg: #0a0a0c;
  --bg-soft: #141418;
  --bg-card: #1a1a22;
  --text: #f3f3f5;
  --text-muted: #a8a8b3;
  --line: rgba(255, 255, 255, 0.08);
  --brand: #ff4d6d;
  --brand-2: #ff8c42;
  --brand-3: #ffd166;
  --accent: #ff2d55;
  --ok: #3dd68c;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --max: 1120px;
  --font-display: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  --font-body: "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-body);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 77, 109, 0.18), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(255, 140, 66, 0.14), transparent 50%),
    linear-gradient(180deg, #0d0d12 0%, var(--bg) 40%, #09090b 100%);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #ffb4c0;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #fff;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(10, 10, 12, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav {
  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);
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 0 0 2px rgba(255, 77, 109, 0.35);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  list-style: none;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle:hover {
  color: #fff;
  border-color: rgba(255, 77, 109, 0.45);
}

.menu-toggle svg {
  display: block;
}

.hero {
  padding: 3.2rem 0 2.4rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--brand-3);
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.25;
  margin-bottom: 1rem;
  background: linear-gradient(105deg, #fff 10%, #ffd1da 45%, #ffb07c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 36rem;
  margin-bottom: 1.4rem;
}

.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.78rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  color: #1a0610;
  background: linear-gradient(120deg, var(--brand-3), var(--brand-2), var(--brand));
  box-shadow: 0 10px 30px rgba(255, 77, 109, 0.35);
}

.btn-primary:hover {
  color: #1a0610;
  opacity: 0.92;
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  max-height: 520px;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto -8% -8% auto;
  width: 55%;
  height: 35%;
  background: radial-gradient(circle, rgba(255, 77, 109, 0.45), transparent 70%);
  filter: blur(20px);
  z-index: -1;
}

.section {
  padding: 2.6rem 0;
}

.section-head {
  margin-bottom: 1.4rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  margin-bottom: 0.55rem;
}

.section-head p {
  color: var(--text-muted);
  max-width: 48rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 1.5rem;
}

.chip {
  display: inline-flex;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.88rem;
}

.chip:hover {
  color: #fff;
  border-color: rgba(255, 77, 109, 0.45);
}

.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,
.prose-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card {
  padding: 1.25rem;
}

.card h3,
.cat-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.45rem;
}

.card p,
.cat-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.shot-card {
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.shot-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 140, 66, 0.45);
}

.shot-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.shot-card figcaption {
  padding: 0.75rem 0.85rem 0.95rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.cat-card {
  padding: 1.1rem;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.9rem;
  align-items: center;
}

.cat-card img {
  width: 88px;
  height: 120px;
  object-fit: cover;
  object-position: top;
  border-radius: 10px;
}

.prose {
  color: var(--text-muted);
}

.prose h2,
.prose h3 {
  color: var(--text);
  font-family: var(--font-display);
  margin: 1.6rem 0 0.7rem;
}

.prose p {
  margin-bottom: 1rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1rem 1.2rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose-box {
  padding: 1.4rem 1.5rem;
  margin-bottom: 1rem;
}

.toc {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem 1rem;
  margin: 1rem 0 1.5rem;
}

.toc a {
  color: #ffc2cc;
}

.faq details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}

.faq details p {
  margin-top: 0.65rem;
  color: var(--text-muted);
}

.legal-page .hero,
.error-page .hero {
  padding-bottom: 1rem;
}

.breadcrumb {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.breadcrumb a {
  color: #ffc2cc;
}

.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;
  margin-bottom: 1.5rem;
}

.site-footer h3 {
  font-family: var(--font-display);
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
}

.site-footer p,
.site-footer li {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.site-footer ul {
  list-style: none;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.copyright {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  color: #7f7f8b;
  font-size: 0.85rem;
}

.error-wrap {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.error-wrap h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  background: linear-gradient(120deg, var(--brand-3), var(--brand));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.6rem;
}

.error-wrap p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .feature-grid,
  .cat-grid,
  .info-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shot-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual img {
    max-height: 420px;
    margin-inline: auto;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 68px;
    flex-direction: column;
    background: rgba(18, 18, 24, 0.98);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    gap: 0.75rem;
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    padding-top: 1.8rem;
  }

  .hero-grid,
  .feature-grid,
  .shot-grid,
  .cat-grid,
  .info-grid,
  .footer-grid,
  .toc {
    grid-template-columns: 1fr;
  }

  .shot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cat-card {
    grid-template-columns: 72px 1fr;
  }

  .cat-card img {
    width: 72px;
    height: 96px;
  }
}
