:root {
  --bg: #0a0a0c;
  --bg-soft: #141418;
  --bg-card: #1a1a20;
  --line: #2a2a32;
  --text: #f2f2f5;
  --muted: #a0a0ab;
  --accent: #e11d48;
  --accent-soft: #fb7185;
  --accent-dark: #9f1239;
  --gold: #f59e0b;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --max: 1120px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "ZCOOL QingKe HuangYou", "Noto Sans SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(225, 29, 72, 0.18), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(245, 158, 11, 0.08), transparent 50%),
    linear-gradient(180deg, #0d0d12 0%, var(--bg) 40%, #08080a 100%);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #fff;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(10, 10, 12, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero {
  padding: 48px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.hero-copy .lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-meta span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section {
  padding: 42px 0;
}

.section-head {
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-family: var(--display);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 720px;
}

.feature-grid,
.shot-grid,
.cat-grid,
.link-grid {
  display: grid;
  gap: 16px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.content-card,
.shot-card,
.cat-card,
.link-card {
  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);
  overflow: hidden;
}

.feature-card,
.link-card,
.content-card {
  padding: 22px;
}

.feature-card h3,
.link-card h3,
.content-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.feature-card p,
.link-card p,
.content-card p {
  margin: 0;
  color: var(--muted);
}

.shot-grid {
  grid-template-columns: repeat(4, 1fr);
}

.shot-card img,
.cat-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--bg-card);
}

.shot-card figcaption,
.cat-card figcaption {
  padding: 12px 14px;
  font-size: 0.92rem;
  color: var(--muted);
}

.cat-grid {
  grid-template-columns: repeat(3, 1fr);
}

.cat-card img {
  aspect-ratio: 3 / 4;
}

.prose {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px clamp(18px, 3vw, 36px);
}

.prose h2,
.prose h3 {
  margin-top: 1.6em;
  margin-bottom: 0.55em;
  font-family: var(--display);
}

.prose h2:first-child,
.prose h3:first-child {
  margin-top: 0;
}

.prose p {
  margin: 0 0 1em;
  color: #d7d7de;
}

.prose ul,
.prose ol {
  color: #d7d7de;
  padding-left: 1.2em;
}

.prose li {
  margin-bottom: 0.45em;
}

.cta-band {
  margin: 20px 0 10px;
  padding: 28px;
  border-radius: 18px;
  background:
    linear-gradient(120deg, rgba(225, 29, 72, 0.22), rgba(245, 158, 11, 0.08)),
    var(--bg-soft);
  border: 1px solid rgba(225, 29, 72, 0.28);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cta-band h2 {
  margin: 0 0 6px;
  font-family: var(--display);
}

.cta-band p {
  margin: 0;
  color: var(--muted);
}

.link-grid {
  grid-template-columns: repeat(2, 1fr);
}

.site-footer {
  margin-top: 40px;
  padding: 34px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.35);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.site-footer h3 {
  margin: 0 0 12px;
  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 {
  margin-bottom: 8px;
}

.copyright {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #777784;
  font-size: 0.85rem;
  text-align: center;
}

.page-hero {
  padding: 36px 0 10px;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 0;
}

.error-page .code {
  font-family: var(--display);
  font-size: clamp(4rem, 12vw, 7rem);
  line-height: 1;
  color: var(--accent);
  margin: 0;
}

.error-page h1 {
  margin: 8px 0 12px;
}

.error-page p {
  color: var(--muted);
  margin: 0 0 22px;
}

.breadcrumb {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--muted);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
  display: block;
  pointer-events: none;
}

@media (max-width: 960px) {
  .hero-grid,
  .feature-grid,
  .cat-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shot-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
  }

  .header-inner {
    position: relative;
    flex-wrap: nowrap;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: auto;
    width: min(220px, calc(100vw - 32px));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: rgba(18, 18, 22, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    z-index: 120;
  }

  .nav a {
    padding: 10px 12px;
    border-radius: 8px;
  }

  .nav a:hover,
  .nav a.active {
    background: rgba(255, 255, 255, 0.06);
  }

  .nav.open {
    display: flex;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-grid,
  .feature-grid,
  .shot-grid,
  .cat-grid,
  .link-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .shot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .section {
    padding: 28px 0;
  }

  .prose {
    padding: 20px 16px;
  }
}
