:root {
  --bg: #0c0d10;
  --bg-elevated: #15171c;
  --bg-soft: #1c1f27;
  --text: #f2f3f5;
  --text-muted: #9aa0ad;
  --accent: #e11d48;
  --accent-soft: rgba(225, 29, 72, 0.14);
  --line: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --max: 1120px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "ZCOOL XiaoWei", "Noto Serif SC", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(225, 29, 72, 0.18), transparent 55%),
    radial-gradient(900px 420px at 90% 0%, rgba(56, 189, 248, 0.08), transparent 50%),
    linear-gradient(180deg, #101218 0%, var(--bg) 28%, #090a0d 100%);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #fda4af;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #fff;
}

.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(12, 13, 16, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.brand span {
  font-family: var(--display);
  font-size: 1.25rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--text);
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.menu-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
  pointer-events: none;
}

.hero {
  padding: 3.2rem 0 2.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: #fb7185;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.25;
  margin: 0 0 1rem;
  font-weight: 400;
}

.lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 0 1.5rem;
  max-width: 36rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #be123c;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.hero-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  aspect-ratio: 4 / 5;
  max-height: 520px;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  padding: 2.8rem 0;
}

.section-head {
  margin-bottom: 1.5rem;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  margin: 0 0 0.55rem;
  font-weight: 400;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  max-width: 46rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 29, 72, 0.45);
}

.feature-card .thumb {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #000;
}

.feature-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.feature-card:hover .thumb img {
  transform: scale(1.04);
}

.feature-card .body {
  padding: 1rem 1.05rem 1.15rem;
}

.feature-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.shot-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.shot {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  aspect-ratio: 9 / 16;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-block {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem 1.4rem;
  margin-bottom: 1.2rem;
}

.content-block h2,
.content-block h3 {
  font-family: var(--display);
  font-weight: 400;
  margin-top: 0;
}

.content-block p,
.content-block li {
  color: var(--text-muted);
}

.content-block p {
  margin: 0 0 1rem;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.content-block ul,
.content-block ol {
  padding-left: 1.2rem;
  margin: 0 0 1rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: stretch;
}

.split-media {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 260px;
  background: #000;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 0;
}

.toc a {
  background: var(--accent-soft);
  color: #fecdd3;
  border: 1px solid rgba(225, 29, 72, 0.25);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.86rem;
}

.faq details {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  color: var(--text-muted);
  margin: 0.7rem 0 0;
}

.breadcrumb {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--text-muted);
}

.page-hero {
  padding: 2.2rem 0 0.5rem;
}

.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin: 0 0 0.6rem;
  font-weight: 400;
}

.page-hero p {
  margin: 0;
  color: var(--text-muted);
  max-width: 42rem;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.error-page h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 5rem);
  margin: 0 0 0.4rem;
  color: var(--accent);
}

.error-page p {
  color: var(--text-muted);
  margin: 0 0 1.4rem;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  padding: 2rem 0 2.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer h3 {
  margin: 0 0 0.7rem;
  font-size: 1rem;
}

.site-footer p,
.site-footer a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.copyright {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: #6b7280;
  font-size: 0.85rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shot-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-visual {
    max-height: 420px;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    right: 0;
    left: auto;
    width: min(220px, calc(100vw - 2rem));
    flex-direction: column;
    gap: 0;
    padding: 0.5rem;
    margin: 0;
    background: rgba(21, 23, 28, 0.98);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    z-index: 60;
  }

  .nav-links a {
    display: block;
    padding: 0.7rem 0.85rem;
    border-radius: 8px;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: var(--accent-soft);
  }

  .nav-links.open {
    display: flex;
  }

  .nav {
    flex-wrap: nowrap;
  }

  .card-grid,
  .shot-row {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding-top: 2rem;
  }

  .content-block {
    padding: 1.15rem 1rem;
  }
}

@media (max-width: 420px) {
  .shot-row {
    grid-template-columns: 1fr 1fr;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-grid,
.section-head,
.feature-card,
.content-block {
  animation: rise-in 0.55s ease both;
}

.feature-card:nth-child(2) {
  animation-delay: 0.05s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.1s;
}
