:root {
  --pink: #e91e63;
  --pink-deep: #c2185b;
  --pink-soft: #ffe4ef;
  --pink-mist: #fff5f8;
  --ink: #1a1216;
  --muted: #6b5560;
  --line: #f0d5df;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(201, 24, 91, 0.08);
  --radius: 14px;
  --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 600px at 10% -10%, #ffe8f1 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #ffd6e6 0%, transparent 50%),
    linear-gradient(180deg, #fffafc 0%, #fff 40%, #fff7fa 100%);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--pink-deep);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--pink);
}

.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(255, 250, 252, 0.88);
  border-bottom: 1px solid rgba(240, 213, 223, 0.7);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--pink-deep);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3.5rem;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 85% 40%, rgba(233, 30, 99, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 45% at 10% 80%, rgba(255, 182, 203, 0.35), transparent 50%),
    linear-gradient(135deg, #fff7fa 0%, #ffe4ef 48%, #fff 100%);
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  right: -8%;
  top: 12%;
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  border-radius: 40% 60% 55% 45%;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.65), rgba(233, 30, 99, 0.12));
  border: 1px solid rgba(240, 213, 223, 0.7);
  z-index: -1;
  animation: floaty 8s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(4deg); }
}

.hero-inner {
  max-width: 640px;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.4rem);
  line-height: 1.1;
  margin: 0 0 0.85rem;
  color: var(--ink);
}

.hero-lead {
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--muted);
  margin: 0 0 1.6rem;
  max-width: 34em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-deep) 100%);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(233, 30, 99, 0.28);
}

.btn-primary:hover {
  color: var(--white);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--line);
  color: var(--ink);
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 228, 239, 0.35), transparent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.25rem);
  margin: 0 0 0.6rem;
  line-height: 1.25;
}

.section-desc {
  color: var(--muted);
  margin: 0 0 1.8rem;
  max-width: 46em;
}

.prose p {
  margin: 0 0 1.05rem;
  color: #2b1f24;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 2.2rem 0 0.8rem;
}

.prose h3 {
  font-size: 1.15rem;
  margin: 1.6rem 0 0.55rem;
  color: var(--pink-deep);
}

.prose ul,
.prose ol {
  margin: 0 0 1.1rem;
  padding-left: 1.2rem;
  color: #2b1f24;
}

.prose li {
  margin-bottom: 0.4rem;
}

/* Feature media layout */
.feature-block {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  margin: 2.2rem 0;
}

.feature-block.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.feature-block.reverse .feature-media {
  order: 2;
}

.feature-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(240, 213, 223, 0.8);
  background: var(--white);
}

.feature-media img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  max-height: 520px;
}

.feature-copy h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 0.7rem;
}

.feature-copy p {
  margin: 0 0 0.85rem;
  color: #2b1f24;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 0.5rem;
}

.shot-grid figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.shot-grid img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  max-height: 380px;
}

.shot-grid figcaption {
  padding: 0.65rem 0.8rem;
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--pink-mist);
}

.note-box {
  margin: 1.5rem 0;
  padding: 1.1rem 1.25rem;
  border-left: 3px solid var(--pink);
  background: var(--pink-mist);
  border-radius: 0 12px 12px 0;
}

.note-box p {
  margin: 0;
  color: #3a2a31;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin: 1rem 0 0;
}

.page-hero {
  padding: 2.8rem 0 1.2rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 0 0 0.6rem;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 42em;
}

.legal-meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* Error pages */
.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;
  color: var(--pink);
}

.error-page p {
  color: var(--muted);
  margin: 0.8rem 0 1.4rem;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #fff7fa, #ffeef5);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: var(--pink-deep);
}

.footer-col h4 {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.4rem;
}

.copyright {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(240, 213, 223, 0.8);
  font-size: 0.85rem;
  color: var(--muted);
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-inner,
  .feature-block,
  .shot-grid figure {
    animation: rise 0.7s ease both;
  }

  .feature-block:nth-child(2) {
    animation-delay: 0.08s;
  }

  .shot-grid figure:nth-child(2) {
    animation-delay: 0.1s;
  }

  .shot-grid figure:nth-child(3) {
    animation-delay: 0.18s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::after {
    animation: none;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .feature-block,
  .feature-block.reverse {
    grid-template-columns: 1fr;
  }

  .feature-block.reverse .feature-media {
    order: 0;
  }

  .shot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 68px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.4rem 0;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
  }

  .hero {
    min-height: auto;
    padding: 3rem 0 2.4rem;
  }

  .feature-media img,
  .shot-grid img {
    max-height: 460px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .shot-grid {
    grid-template-columns: 1fr;
  }
}
