:root {
  --brand: #c2185b;
  --brand-dark: #8e0e3f;
  --brand-soft: #fce4ec;
  --ink: #1a1216;
  --ink-soft: #5c4a52;
  --line: #edd5de;
  --bg: #fff8fa;
  --bg-alt: #fff0f4;
  --surface: #ffffff;
  --accent: #e65100;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(194, 24, 91, 0.08);
  --max: 1120px;
  --font-display: "ZCOOL XiaoWei", "Noto Serif 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(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(194, 24, 91, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(230, 81, 0, 0.08), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, #fff 40%, var(--bg-alt) 100%);
  line-height: 1.75;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 248, 250, 0.92);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 8px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.02em;
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.logo:hover {
  text-decoration: none;
  color: var(--brand);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
}

.nav a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.nav a:hover,
.nav a.active {
  color: var(--brand);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  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 */
.hero {
  padding: 48px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.15;
  color: var(--brand-dark);
  margin: 0 0 12px;
}

.hero h1 {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.4;
  color: var(--ink);
}

.hero-lead {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0 0 22px;
  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: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: 0 8px 20px rgba(194, 24, 91, 0.28);
}

.btn-primary:hover {
  color: #fff;
}

.btn-ghost {
  background: var(--surface);
  color: var(--brand-dark);
  border: 1px solid var(--line);
}

.hero-visual {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 280px;
  background: var(--brand-soft);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
  animation: fadeRise 0.9s ease both;
}

@keyframes fadeRise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(26, 18, 22, 0.35));
  pointer-events: none;
}

/* Sections */
.section {
  padding: 48px 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.55);
  border-block: 1px solid var(--line);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 10px;
  color: var(--brand-dark);
}

.section-desc {
  margin: 0 0 28px;
  color: var(--ink-soft);
  max-width: 46em;
}

.prose h2,
.prose h3 {
  font-family: var(--font-display);
  color: var(--brand-dark);
  scroll-margin-top: 80px;
}

.prose h2 {
  font-size: 1.55rem;
  margin: 2em 0 0.7em;
  padding-bottom: 0.35em;
  border-bottom: 2px solid var(--brand-soft);
}

.prose h3 {
  font-size: 1.2rem;
  margin: 1.6em 0 0.55em;
}

.prose p {
  margin: 0 0 1em;
  color: var(--ink);
}

.prose ul,
.prose ol {
  margin: 0 0 1.2em;
  padding-left: 1.3em;
  color: var(--ink-soft);
}

.prose li {
  margin-bottom: 0.45em;
}

.prose strong {
  color: var(--ink);
}

/* Cards / grids */
.feature-grid,
.shot-grid,
.vlog-grid,
.cat-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.shot-grid {
  grid-template-columns: repeat(4, 1fr);
}

.vlog-grid {
  grid-template-columns: repeat(4, 1fr);
}

.cat-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-item,
.shot-item,
.vlog-item,
.cat-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-item:hover,
.shot-item:hover,
.vlog-item:hover,
.cat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-item img,
.shot-item img,
.vlog-item img,
.cat-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--brand-soft);
}

.vlog-item img {
  aspect-ratio: 16 / 10;
}

.feature-body,
.shot-body,
.vlog-body,
.cat-body {
  padding: 14px 16px 18px;
}

.feature-body h3,
.shot-body h3,
.vlog-body h3,
.cat-body h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--ink);
}

.feature-body p,
.shot-body p,
.vlog-body p,
.cat-body p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* TOC */
.toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 0 0 28px;
}

.toc h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-family: var(--font-display);
  color: var(--brand-dark);
  border: none;
  padding: 0;
}

.toc ol {
  margin: 0;
  padding-left: 1.2em;
  color: var(--ink-soft);
}

.toc a {
  font-weight: 500;
}

/* Internal links box */
.link-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.link-box a {
  display: block;
  padding: 14px 16px;
  background: var(--brand-soft);
  border-radius: 10px;
  color: var(--brand-dark);
  font-weight: 600;
  text-decoration: none;
}

.link-box a:hover {
  background: #f8bbd0;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 36px 0 12px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--brand-dark);
  margin: 0 0 10px;
}

.page-hero p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 42em;
}

.content-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: var(--shadow);
  margin-bottom: 48px;
}

/* Error pages */
.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 16px;
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--brand);
  line-height: 1;
  margin: 0 0 8px;
  animation: softPulse 2.4s ease-in-out infinite;
}

.error-page h1 {
  margin: 0 0 12px;
  font-size: 1.6rem;
}

.error-page p {
  color: var(--ink-soft);
  margin: 0 0 24px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #1a1216;
  color: #f5dce6;
  padding: 40px 0 28px;
  margin-top: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.site-footer h3 {
  font-family: var(--font-display);
  margin: 0 0 12px;
  color: #fff;
  font-size: 1.15rem;
}

.site-footer p,
.site-footer li {
  color: #d9b8c6;
  font-size: 0.92rem;
}

.site-footer a {
  color: #ffc1d5;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 8px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  font-size: 0.85rem;
  color: #b894a4;
  text-align: center;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--brand);
}

/* FAQ */
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}

.faq details p {
  margin: 10px 0 0;
  color: var(--ink-soft);
}

/* Mobile */
@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    z-index: 120;
    width: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 14px 14px;
    background: rgba(255, 248, 250, 0.98);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
  }

  .nav a {
    padding: 10px 8px;
    border-bottom: 1px solid var(--line);
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .nav.open {
    display: flex;
    position: absolute;
  }

  .header-inner {
    flex-wrap: nowrap;
  }

  .hero-grid,
  .feature-grid,
  .cat-grid,
  .footer-grid,
  .link-box {
    grid-template-columns: 1fr;
  }

  .shot-grid,
  .vlog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding-top: 28px;
  }

  .content-panel {
    padding: 20px 16px;
  }

  .section {
    padding: 36px 0;
  }
}

@media (max-width: 520px) {
  .shot-grid,
  .vlog-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual img {
    min-height: 240px;
  }
}
