:root {
  --bg: #0a0a0c;
  --bg-soft: #141418;
  --bg-card: #1a1a20;
  --text: #f5f5f7;
  --text-muted: #a8a8b3;
  --accent: #ff2d78;
  --accent-2: #ff8a3d;
  --line: rgba(255, 255, 255, 0.08);
  --gradient: linear-gradient(135deg, #ffb800 0%, #ff2d78 55%, #c4007a 100%);
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --max: 1120px;
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", 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(ellipse 80% 50% at 10% -10%, rgba(255, 45, 120, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(255, 184, 0, 0.12), transparent 50%),
    var(--bg);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #ff7aa8;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #ffd0e0;
}

.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.86);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  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-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
  display: block;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  color: #ffb4cc;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.25;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 0 1.5rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 45, 120, 0.28);
}

.btn-primary:hover {
  color: #fff;
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.hero-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--bg-card);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
}

.section {
  padding: 3.2rem 0;
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: 1.6rem;
}

.section-head h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  max-width: 46rem;
}

.feature-grid,
.category-grid,
.shot-grid,
.card-grid {
  display: grid;
  gap: 1.2rem;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.category-grid {
  grid-template-columns: repeat(4, 1fr);
}

.shot-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid {
  grid-template-columns: repeat(2, 1fr);
}

.feature-card,
.content-card,
.shot-card,
.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-card,
.legal-card,
.content-card .card-body {
  padding: 1.25rem;
}

.feature-card h3,
.content-card h3,
.shot-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.08rem;
}

.feature-card p,
.content-card p,
.shot-card p,
.prose p {
  margin: 0 0 0.9rem;
  color: var(--text-muted);
}

.feature-card p:last-child,
.content-card p:last-child,
.shot-card p:last-child,
.prose p:last-child {
  margin-bottom: 0;
}

.shot-card img,
.content-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  background: #111;
}

.shot-card .card-body,
.content-card .card-body {
  padding: 1rem 1.1rem 1.2rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 0;
}

.tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 45, 120, 0.12);
  color: #ffb4cc;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 45, 120, 0.22);
}

.prose {
  color: var(--text-muted);
}

.prose h2,
.prose h3 {
  color: var(--text);
  margin: 2rem 0 0.8rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
  margin: 0 0 1rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose strong {
  color: #ffe3ee;
  font-weight: 600;
}

.toc {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  margin-bottom: 1.8rem;
}

.toc h2 {
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
  color: var(--text);
}

.toc ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.toc a {
  color: #ff9ec0;
}

.page-hero {
  padding: 2.6rem 0 1.4rem;
}

.page-hero h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.page-hero p {
  margin: 0;
  color: var(--text-muted);
  max-width: 42rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.breadcrumb a {
  color: #ff9ec0;
  display: inline-flex;
  align-items: center;
}

.breadcrumb .crumb-icon {
  display: none;
  width: 18px;
  height: 18px;
}

.breadcrumb .crumb-sep-icon {
  display: none;
  width: 14px;
  height: 14px;
  color: #777784;
  flex-shrink: 0;
}

.breadcrumb .crumb-sep-text {
  color: var(--text-muted);
}

.breadcrumb .crumb-current {
  color: var(--text-muted);
}

.site-footer {
  padding: 2.5rem 0 2rem;
  background: #08080a;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
}

.site-footer h3 {
  margin: 0 0 0.8rem;
  font-size: 1rem;
}

.site-footer p,
.site-footer a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.site-footer a {
  display: block;
  margin-bottom: 0.45rem;
}

.site-footer a:hover {
  color: #fff;
}

.copyright {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  color: #777784;
  font-size: 0.85rem;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.error-page h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(2.4rem, 6vw, 4rem);
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-page p {
  color: var(--text-muted);
  margin: 0 0 1.4rem;
}

.cta-band {
  margin-top: 1.5rem;
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 45, 120, 0.16), rgba(255, 184, 0, 0.08)),
    var(--bg-soft);
  border: 1px solid var(--line);
}

.cta-band h3 {
  margin: 0 0 0.5rem;
}

.cta-band p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
}

@media (max-width: 960px) {
  .hero-grid,
  .feature-grid,
  .category-grid,
  .shot-grid,
  .card-grid,
  .footer-grid,
  .two-col {
    grid-template-columns: 1fr 1fr;
  }

  .category-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .breadcrumb .crumb-text,
  .breadcrumb .crumb-sep-text {
    display: none;
  }

  .breadcrumb .crumb-icon,
  .breadcrumb .crumb-sep-icon {
    display: block;
  }

  .breadcrumb a.crumb-home {
    width: 34px;
    height: 34px;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 45, 120, 0.12);
    border: 1px solid rgba(255, 45, 120, 0.22);
    color: #ff9ec0;
  }

  .nav {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.4rem);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #15151a;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--line);
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .header-inner {
    position: relative;
  }

  .hero {
    padding: 2.2rem 0 1.8rem;
  }

  .hero-grid,
  .feature-grid,
  .category-grid,
  .shot-grid,
  .card-grid,
  .footer-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 2.3rem 0;
  }

  .hero-visual img {
    aspect-ratio: 3 / 4;
  }
}
