:root {
  --bg: #0c0c10;
  --bg-soft: #14141c;
  --bg-card: #1a1a24;
  --line: #2a2a38;
  --text: #ececf2;
  --muted: #a0a0b0;
  --accent: #e11d48;
  --accent-2: #fb7185;
  --max: 1120px;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background: radial-gradient(1200px 600px at 10% -10%, rgba(225, 29, 72, 0.18), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(99, 102, 241, 0.12), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-2);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #fff;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(12, 12, 16, 0.88);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(225, 29, 72, 0.15);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.2rem;
}

.hero {
  padding: 56px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--accent-2);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.hero h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.25;
  margin-bottom: 16px;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #be123c);
  color: #fff;
}

.btn-primary:hover {
  color: #fff;
  filter: brightness(1.08);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent-2);
  color: #fff;
}

.hero-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--bg-card);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  max-height: 560px;
}

.section {
  padding: 48px 0;
}

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin-bottom: 10px;
}

.section-head p {
  color: var(--muted);
  max-width: 720px;
}

.feature-grid,
.shot-grid,
.info-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.shot-grid {
  grid-template-columns: repeat(4, 1fr);
}

.info-grid {
  grid-template-columns: repeat(2, 1fr);
}

.card,
.shot-card,
.prose-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent), var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.card {
  padding: 22px;
}

.card h3,
.prose-box h2,
.prose-box h3 {
  margin-bottom: 10px;
}

.card p,
.prose-box p,
.prose-box li {
  color: var(--muted);
}

.card img,
.shot-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #000;
}

.shot-card figcaption,
.card figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.prose {
  color: var(--muted);
}

.prose p {
  margin-bottom: 16px;
}

.prose h2,
.prose h3 {
  color: var(--text);
  margin: 28px 0 12px;
}

.prose ul,
.prose ol {
  margin: 0 0 16px 1.2em;
}

.prose li {
  margin-bottom: 8px;
}

.prose-box {
  padding: 28px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.split.reverse .split-media {
  order: 2;
}

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 8px;
}

.toc a {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
}

.toc a:hover {
  color: #fff;
  border-color: var(--accent);
}

.notice {
  background: rgba(225, 29, 72, 0.1);
  border: 1px solid rgba(225, 29, 72, 0.35);
  border-radius: var(--radius);
  padding: 16px 18px;
  color: #fecdd3;
  margin: 18px 0;
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: #09090d;
  padding: 36px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.site-footer h3 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer ul {
  list-style: none;
}

.site-footer li {
  margin-bottom: 8px;
}

.copyright {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: #777786;
  font-size: 0.88rem;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 0;
}

.error-page h1 {
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  margin-bottom: 10px;
}

.error-page p {
  color: var(--muted);
  margin-bottom: 22px;
}

.breadcrumb {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--muted);
}

.page-hero {
  padding: 36px 0 10px;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 10px;
}

@media (max-width: 960px) {
  .hero-grid,
  .feature-grid,
  .info-grid,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .shot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split.reverse .split-media {
    order: 0;
  }

  .hero-visual img {
    max-height: 420px;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 68px;
    flex-direction: column;
    align-items: stretch;
    background: #12121a;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 14px;
  }

  .shot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding-top: 28px;
  }
}

@media (max-width: 420px) {
  .shot-grid {
    grid-template-columns: 1fr;
  }
}
