:root {
  --bg: #0a0a0c;
  --bg-soft: #141418;
  --bg-elevated: #1c1c22;
  --text: #f2f2f4;
  --text-muted: #a8a8b3;
  --accent: #e11d2e;
  --accent-soft: #ff4d5e;
  --line: rgba(255, 255, 255, 0.08);
  --max: 1120px;
  --radius: 10px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "ZCOOL XiaoWei", "Noto Serif SC", "Songti SC", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(225, 29, 46, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(120, 40, 60, 0.12), transparent 50%),
    linear-gradient(180deg, #0d0d10 0%, var(--bg) 40%, #080809 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% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(10, 10, 12, 0.88);
  border-bottom: 1px solid var(--line);
}

.site-header .container.header-inner,
.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.65rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.brand span {
  font-family: var(--display);
  font-size: 1.35rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.25rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-list a:hover,
.nav-list a.active {
  color: #fff;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  background: var(--accent);
  color: #fff !important;
  border-radius: 999px;
  font-size: 0.9rem;
}

.nav-cta:hover {
  background: var(--accent-soft);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.55) saturate(1.05);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 12, 0.25) 0%,
    rgba(10, 10, 12, 0.55) 45%,
    rgba(10, 10, 12, 0.96) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 3.5rem;
  animation: rise 0.9s ease both;
}

.hero-brand {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.1;
  margin: 0 0 0.75rem;
  letter-spacing: 0.04em;
}

.hero h1 {
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 600;
  margin: 0 0 0.85rem;
  color: #fff;
  max-width: 36em;
}

.hero-lead {
  max-width: 38em;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-soft);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}

/* Sections */
.section {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: 1.75rem;
  max-width: 42rem;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  margin: 0 0 0.55rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

.prose {
  color: var(--text-muted);
  font-size: 1.02rem;
}

.prose h2,
.prose h3 {
  color: var(--text);
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-top: 2rem;
}

.prose h2 {
  font-size: 1.55rem;
}

.prose h3 {
  font-size: 1.25rem;
}

.prose p {
  margin: 0.85rem 0;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose li {
  margin: 0.4rem 0;
}

.prose strong {
  color: #fff;
  font-weight: 600;
}

/* Feature / gallery grids */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-item {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.feature-item:hover {
  border-color: rgba(225, 29, 46, 0.45);
  transform: translateY(-3px);
}

.feature-item img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.feature-item .body {
  padding: 1rem 1.05rem 1.2rem;
}

.feature-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.feature-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.shot-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: center;
  margin: 2rem 0;
}

.shot-row.reverse {
  grid-template-columns: 1fr 1.2fr;
}

.shot-row.reverse .shot-copy {
  order: -1;
}

.shot-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.shot-frame img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: top;
}

.shot-copy h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  margin: 0 0 0.65rem;
  font-weight: 500;
}

.shot-copy p {
  color: var(--text-muted);
  margin: 0 0 0.85rem;
}

.cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
}

.cat-chips a {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.cat-chips a:hover {
  border-color: var(--accent);
  color: #fff;
}

.vlog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.vlog-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.vlog-grid img:hover {
  transform: scale(1.02);
  border-color: rgba(225, 29, 46, 0.5);
}

.toc {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  margin: 1.5rem 0 2rem;
}

.toc h2 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  font-family: var(--font);
}

.toc ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.toc a {
  color: var(--text-muted);
}

.toc a:hover {
  color: var(--accent-soft);
}

.page-hero {
  padding: 2.75rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin: 0 0 0.5rem;
  font-weight: 500;
}

.page-hero p {
  margin: 0;
  color: var(--text-muted);
  max-width: 40rem;
}

.legal {
  padding: 2.5rem 0 4rem;
}

.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, 10vw, 5rem);
  margin: 0 0 0.5rem;
  color: var(--accent);
}

.error-page p {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

/* Footer */
.site-footer {
  background: #060608;
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 1.75rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-family: var(--display);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.site-footer p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0;
}

.site-footer h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: #fff;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin: 0.4rem 0;
}

.site-footer a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.85rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.reveal {
  animation: fadein 0.8s ease both;
}

/* Mobile */
@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shot-row,
  .shot-row.reverse {
    grid-template-columns: 1fr;
  }

  .shot-row.reverse .shot-copy {
    order: 0;
  }

  .vlog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(12, 12, 14, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 0.75rem 1rem 1.1rem;
  }

  .nav.open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  .nav-list a {
    display: block;
    padding: 0.7rem 0.5rem;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 0.35rem;
  }

  .hero {
    min-height: 72vh;
  }

  .hero-content {
    padding: 3.2rem 0 2.4rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 2.5rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
