:root {
  --bg: #f7f4f2;
  --bg-soft: #fff8f6;
  --surface: #ffffff;
  --text: #1f1a1c;
  --muted: #6b5f63;
  --line: #eadfe2;
  --brand: #e11d48;
  --brand-dark: #be123c;
  --brand-soft: #ffe4e8;
  --accent: #0f766e;
  --shadow: 0 12px 40px rgba(31, 26, 28, 0.08);
  --radius: 16px;
  --max: 1120px;
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 10% -10%, #ffe8ee 0%, transparent 42%),
    radial-gradient(circle at 90% 0%, #dff7f3 0%, transparent 36%),
    linear-gradient(180deg, #fffaf9 0%, var(--bg) 28%, #f3efed 100%);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 250, 249, 0.86);
  border-bottom: 1px solid rgba(234, 223, 226, 0.9);
}

.ads-sticky {
  position: sticky;
  top: 68px;
  z-index: 40;
  background: rgba(255, 250, 249, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 8px 10px 6px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.brand span {
  font-size: 1.05rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-block;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  cursor: pointer;
  color: var(--text);
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px 0;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.hero {
  padding: 3.2rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 0 1.4rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: 0 10px 24px rgba(225, 29, 72, 0.28);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: #111;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}

.section {
  padding: 2.8rem 0;
}

.section-head {
  margin-bottom: 1.5rem;
}

.section-head h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.3;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 46rem;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.35rem;
}

.feature-grid,
.shot-grid,
.cat-grid,
.vlog-grid {
  display: grid;
  gap: 1rem;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card h3 {
  margin: 0.9rem 0 0.45rem;
  font-size: 1.08rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.feature-card img,
.shot-card img,
.cat-card img,
.vlog-card img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  object-fit: cover;
  object-position: top center;
}

.feature-card img,
.shot-card img {
  aspect-ratio: 9 / 16;
  max-height: 420px;
}

.cat-grid {
  grid-template-columns: repeat(4, 1fr);
}

.cat-card,
.shot-card,
.vlog-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cat-card:hover,
.shot-card:hover,
.vlog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.cat-card img {
  aspect-ratio: 3 / 4;
}

.cat-card .body,
.shot-card .body,
.vlog-card .body {
  padding: 0.85rem 0.95rem 1rem;
}

.cat-card h3,
.shot-card h3,
.vlog-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.cat-card p,
.shot-card p,
.vlog-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.shot-grid {
  grid-template-columns: repeat(3, 1fr);
}

.vlog-grid {
  grid-template-columns: repeat(4, 1fr);
}

.vlog-card img {
  aspect-ratio: 9 / 16;
}

.content-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  margin-bottom: 1.1rem;
}

.content-block h2,
.content-block h3 {
  margin-top: 0;
}

.content-block p,
.content-block li {
  color: #3a3235;
}

.content-block ul,
.content-block ol {
  padding-left: 1.2rem;
}

.toc {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem 1rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.toc a {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-size: 0.94rem;
}

.toc a:hover {
  background: var(--brand-soft);
  border-color: #f7c4cf;
}

.chain {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.chain a {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.88rem;
  text-decoration: none;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.7rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.page-hero {
  padding: 2.4rem 0 1rem;
}

.page-hero h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 44rem;
}

.legal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  margin-bottom: 2rem;
}

.legal h2 {
  margin: 1.5rem 0 0.6rem;
  font-size: 1.2rem;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p,
.legal li {
  color: #3a3235;
}

.error-wrap {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.error-wrap h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(2rem, 6vw, 3.4rem);
}

.error-wrap p {
  margin: 0 0 1.2rem;
  color: var(--muted);
}

.site-footer {
  margin-top: 2rem;
  padding: 2rem 0 2.4rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.4rem;
}

.site-footer h3 {
  margin: 0 0 0.7rem;
  font-size: 1rem;
}

.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 + li {
  margin-top: 0.4rem;
}

.copyright {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .feature-grid,
  .shot-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cat-grid,
  .vlog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.7rem;
    background: rgba(255, 250, 249, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.8rem 0.9rem;
  }

  .toc {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .cat-grid,
  .vlog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding-top: 2rem;
  }

  .panel,
  .content-block,
  .legal {
    padding: 1.1rem;
  }
}
