:root {
  --brand: #d63384;
  --brand-dark: #a61e63;
  --brand-soft: #fff0f6;
  --ink: #1a1a1a;
  --muted: #5c5c5c;
  --line: #ead6df;
  --bg: #fffafc;
  --bg-alt: #f7eef2;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(166, 30, 99, 0.08);
  --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(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, #ffe3ef 0%, transparent 55%),
    radial-gradient(900px 400px at 100% 0%, #ffeef5 0%, transparent 50%),
    linear-gradient(180deg, #fff7fa 0%, var(--bg) 240px);
  line-height: 1.75;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 250, 252, 0.92);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.9rem;
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 56px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  color: var(--brand);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.25;
  font-weight: 400;
}

.hero-lead {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(214, 51, 132, 0.28);
}

.btn-secondary {
  background: var(--white);
  color: var(--brand-dark);
  border: 1px solid var(--line);
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto -12px -12px auto;
  width: 42%;
  height: 42%;
  background: linear-gradient(145deg, #ffd6e7, transparent);
  border-radius: 18px;
  z-index: -1;
}

/* Sections */
.section {
  padding: 56px 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--bg-alt), transparent);
  border-block: 1px solid var(--line);
}

.section-head {
  margin-bottom: 28px;
  max-width: 46em;
}

.section-head h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 400;
  line-height: 1.3;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.prose {
  max-width: 52em;
}

.prose p {
  margin: 0 0 1.05em;
  color: #2b2b2b;
}

.prose h3 {
  margin: 1.6em 0 0.6em;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
}

.prose ul,
.prose ol {
  margin: 0 0 1.2em;
  padding-left: 1.2em;
  color: #2b2b2b;
}

.prose li {
  margin-bottom: 0.45em;
}

/* Feature / media grids */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-item img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  background: var(--brand-soft);
}

.feature-item .body {
  padding: 16px 18px 20px;
}

.feature-item h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-family: var(--font-display);
  font-weight: 400;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.media-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 40px;
}

.media-row.reverse {
  grid-template-columns: 1.2fr 1fr;
}

.media-row.reverse .media-copy {
  order: 2;
}

.media-row.reverse .media-fig {
  order: 1;
}

.media-fig img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  object-fit: cover;
  object-position: top;
  max-height: 520px;
}

.media-copy h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
}

.media-copy p {
  margin: 0 0 12px;
  color: #333;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.shot-grid figure {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.shot-grid img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.shot-grid figcaption {
  padding: 10px 12px;
  font-size: 0.88rem;
  color: var(--muted);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

/* Info / legal pages */
.page-hero {
  padding: 42px 0 18px;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 400;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
}

.legal-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: var(--shadow);
  margin-bottom: 40px;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* Error pages */
.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 0;
}

.error-page .code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--brand);
  line-height: 1;
  margin: 0 0 12px;
}

.error-page h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 400;
}

.error-page p {
  margin: 0 0 24px;
  color: var(--muted);
}

/* Footer */
.site-footer {
  margin-top: 20px;
  background: #2a1520;
  color: #f7dbe7;
  padding: 42px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.site-footer h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: #fff;
}

.site-footer p,
.site-footer a {
  color: #f0c7d8;
  font-size: 0.92rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
  font-size: 0.85rem;
  color: #d9a8bc;
}

/* Motion */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy,
.hero-visual,
.feature-item,
.media-row {
  animation: rise 0.7s ease both;
}

.hero-visual {
  animation-delay: 0.12s;
}

.feature-item:nth-child(2) {
  animation-delay: 0.08s;
}

.feature-item:nth-child(3) {
  animation-delay: 0.16s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-copy,
  .hero-visual,
  .feature-item,
  .media-row {
    animation: none;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .media-row,
  .media-row.reverse {
    grid-template-columns: 1fr;
  }

  .media-row.reverse .media-copy,
  .media-row.reverse .media-fig {
    order: initial;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-wrap {
    position: relative;
    flex-wrap: nowrap;
    min-height: 60px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 16px 14px;
    background: rgba(255, 250, 252, 0.98);
    border: 1px solid var(--line);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 12px 28px rgba(166, 30, 99, 0.12);
    z-index: 120;
  }

  .nav a {
    width: 100%;
    padding: 10px 0;
  }

  .nav.open {
    display: flex;
  }

  .hero {
    padding: 36px 0 24px;
  }

  .section {
    padding: 40px 0;
  }

  .feature-grid,
  .shot-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .legal-box {
    padding: 20px 16px;
  }

  .media-fig img {
    max-height: 420px;
  }
}
