:root {
  --bg: #0a0a0c;
  --bg-2: #121218;
  --bg-3: #1a1a22;
  --surface: #16161f;
  --text: #f2f2f5;
  --text-muted: #a8a8b3;
  --accent: #e8384f;
  --accent-2: #ff6b4a;
  --accent-soft: rgba(232, 56, 79, 0.14);
  --line: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --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(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(232, 56, 79, 0.18), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(255, 107, 74, 0.12), transparent 50%),
    linear-gradient(180deg, #0d0d12 0%, var(--bg) 40%, #08080b 100%);
  background-attachment: fixed;
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

#ads img {
  max-width: 65px;
  height: 65px;
}

a {
  color: var(--accent-2);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #ff8a6e;
}

.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.82);
  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);
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.brand-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav a {
  color: var(--text-muted);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.92rem;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  background: var(--accent-soft);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-2);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  display: block;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle.is-open .icon-menu {
  display: none;
}

.nav-toggle.is-open .icon-close {
  display: block;
}

.hero {
  padding: 3.5rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  color: var(--accent-2);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.25;
  margin: 0 0 1rem;
  font-weight: 400;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 0 1.6rem;
  max-width: 36em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 30px rgba(232, 56, 79, 0.35);
}

.btn-primary:hover {
  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: var(--text);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.hero-visual {
  position: relative;
}

.hero-frame {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--bg-2);
  transform: perspective(900px) rotateY(-4deg) rotateX(2deg);
  animation: floaty 7s ease-in-out infinite;
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  max-height: 620px;
}

.hero-glow {
  position: absolute;
  inset: 12% -8% auto auto;
  width: 55%;
  height: 55%;
  background: radial-gradient(circle, rgba(232, 56, 79, 0.35), transparent 70%);
  filter: blur(30px);
  z-index: -1;
}

@keyframes floaty {
  0%, 100% { transform: perspective(900px) rotateY(-4deg) rotateX(2deg) translateY(0); }
  50% { transform: perspective(900px) rotateY(-2deg) rotateX(1deg) translateY(-10px); }
}

.section {
  padding: 3.2rem 0;
}

.section-head {
  margin-bottom: 1.8rem;
  max-width: 48rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.7rem;
  font-weight: 400;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

.feature-grid,
.shot-grid,
.vlog-grid,
.cat-grid {
  display: grid;
  gap: 1.1rem;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  background: linear-gradient(180deg, var(--bg-3), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.feature-card:hover {
  border-color: rgba(232, 56, 79, 0.45);
  transform: translateY(-4px);
}

.feature-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.shot-grid {
  grid-template-columns: repeat(4, 1fr);
}

.shot-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
  transition: transform 0.25s ease;
}

.shot-card:hover {
  transform: translateY(-5px);
}

.shot-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
}

.shot-card figcaption {
  padding: 0.75rem 0.85rem 0.95rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.shot-card strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.cat-grid {
  grid-template-columns: repeat(3, 1fr);
}

.cat-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.9rem;
  align-items: center;
  padding: 0.85rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.cat-item img {
  width: 88px;
  height: 120px;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
}

.cat-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.cat-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.vlog-grid {
  grid-template-columns: repeat(4, 1fr);
}

.vlog-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}

.vlog-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: center top;
}

.content-block {
  background: rgba(22, 22, 31, 0.72);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.content-block h2,
.content-block h3 {
  font-family: var(--font-display);
  font-weight: 400;
}

.content-block h2 {
  font-size: 1.7rem;
  margin-top: 0;
}

.content-block h3 {
  font-size: 1.25rem;
  margin: 1.6rem 0 0.7rem;
}

.content-block p {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.content-block ul,
.content-block ol {
  color: var(--text-muted);
  padding-left: 1.2rem;
}

.content-block li {
  margin-bottom: 0.45rem;
}

.content-block a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.4rem;
  align-items: start;
}

.media-stack {
  display: grid;
  gap: 1rem;
}

.media-stack img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  width: 100%;
}

.cta-band {
  margin: 1rem 0 3rem;
  padding: 2rem;
  border-radius: 20px;
  background:
    linear-gradient(120deg, rgba(232, 56, 79, 0.22), rgba(255, 107, 74, 0.1)),
    var(--bg-2);
  border: 1px solid rgba(232, 56, 79, 0.35);
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.7rem;
  font-weight: 400;
}

.cta-band p {
  margin: 0 auto 1.2rem;
  color: var(--text-muted);
  max-width: 40rem;
}

.breadcrumb {
  padding: 1.2rem 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb span {
  margin: 0 0.4rem;
  opacity: 0.5;
}

.page-hero {
  padding: 1.5rem 0 0.5rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin: 0 0 0.6rem;
  font-weight: 400;
}

.page-hero p {
  margin: 0;
  color: var(--text-muted);
  max-width: 46rem;
}

.legal-page .content-block {
  margin: 1.5rem 0 3rem;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.error-page h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 6rem);
  margin: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-page h2 {
  margin: 0.4rem 0 0.8rem;
  font-weight: 500;
}

.error-page p {
  color: var(--text-muted);
  margin: 0 0 1.4rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  padding: 2.4rem 0 1.6rem;
  margin-top: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}

.footer-brand {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.footer-brand p,
.footer-col p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0.4rem 0 0;
}

.footer-col h3 {
  margin: 0 0 0.7rem;
  font-size: 1rem;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--accent-2);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  justify-content: space-between;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 1.5rem;
}

.toc a {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text);
  font-size: 0.85rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .two-col,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-frame {
    transform: none;
    max-width: 420px;
    margin-inline: auto;
  }

  .feature-grid,
  .cat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shot-grid,
  .vlog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.8rem;
    background: rgba(12, 12, 16, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 0.9rem;
  }

  .feature-grid,
  .cat-grid,
  .shot-grid,
  .vlog-grid {
    grid-template-columns: 1fr;
  }

  .cat-item {
    grid-template-columns: 72px 1fr;
  }

  .cat-item img {
    width: 72px;
    height: 96px;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
