:root {
  --bg: #0f0a12;
  --bg-soft: #1a1220;
  --bg-card: #221828;
  --text: #f5eef5;
  --text-muted: #b9a8b8;
  --accent: #e83e8c;
  --accent-2: #f0a03a;
  --accent-grad: linear-gradient(135deg, #f0a03a 0%, #e83e8c 55%, #c2186b 100%);
  --line: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --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(ellipse 80% 50% at 10% -10%, rgba(232, 62, 140, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(240, 160, 58, 0.12), transparent 50%),
    var(--bg);
  line-height: 1.75;
  font-size: 16px;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #ff8fbf;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-2);
}

.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(15, 10, 18, 0.85);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.brand span {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--text);
  cursor: pointer;
  font-size: 1.25rem;
}

/* Hero */
.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-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.4;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 0 1.5rem;
  max-width: 36em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 10px 28px rgba(232, 62, 140, 0.35);
}

.btn-primary:hover {
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--accent);
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  animation: floatY 6s ease-in-out infinite;
}

.hero-visual .float-2 {
  position: absolute;
  width: 42%;
  right: -4%;
  bottom: -8%;
  animation: floatY 7s ease-in-out infinite reverse;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  animation: fadeUp 0.7s ease both;
}

/* Sections */
section {
  padding: 3.25rem 0;
}

.section-head {
  margin-bottom: 1.75rem;
  max-width: 46rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  margin: 0 0 0.6rem;
  line-height: 1.3;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

.prose {
  color: var(--text-muted);
}

.prose p {
  margin: 0 0 1.1rem;
}

.prose h2,
.prose h3 {
  color: var(--text);
  font-family: var(--font-display);
}

.prose h2 {
  font-size: 1.55rem;
  margin: 2rem 0 0.8rem;
}

.prose h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.6rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
  margin: 0 0 1.1rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

/* Feature / gallery grids */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-item:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 62, 140, 0.4);
}

.feature-item img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  background: #000;
}

.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-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.shot-grid figure {
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.shot-grid img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.shot-grid figcaption {
  padding: 0.7rem 0.85rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.split.reverse .split-media {
  order: 2;
}

.split-media img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: top;
}

.badge-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.badge {
  background: rgba(232, 62, 140, 0.1);
  border: 1px solid rgba(232, 62, 140, 0.25);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

.badge strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--text);
}

.badge span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.faq details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.95rem 1.1rem;
  margin-bottom: 0.7rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  color: #ff8fbf;
  margin-bottom: 0.55rem;
}

.faq p {
  margin: 0;
  color: var(--text-muted);
}

.page-hero {
  padding: 2.5rem 0 1rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin: 0 0 0.6rem;
}

.page-hero p {
  margin: 0;
  color: var(--text-muted);
  max-width: 40rem;
}

.legal {
  padding-bottom: 3.5rem;
}

.legal .prose {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.2rem;
}

.crumbs {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.crumbs a {
  color: var(--text-muted);
}

.crumbs a:hover {
  color: var(--accent-2);
}

.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, 5rem);
  margin: 0 0 0.4rem;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-page p {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #0b070e;
  padding: 2.5rem 0 1.75rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  color: var(--text);
  font-weight: 700;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.site-footer h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.45rem;
}

.site-footer a {
  color: var(--text-muted);
}

.site-footer a:hover {
  color: var(--text);
}

.copyright {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.related-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Mobile */
@media (max-width: 900px) {
  .hero-grid,
  .split,
  .split.reverse,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-media {
    order: 0;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual .float-2 {
    width: 38%;
    right: 2%;
    bottom: -4%;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(15, 10, 18, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1rem;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 0.4rem;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .feature-grid,
  .shot-grid,
  .badge-list {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-visual .float-2 {
    display: none;
  }
}
