:root {
  --bg: #140f12;
  --bg-soft: #1e161b;
  --bg-panel: #261c22;
  --text: #f6ecef;
  --text-muted: #c4aeb6;
  --brand: #e85a7a;
  --brand-deep: #c23658;
  --accent: #f0a06a;
  --line: rgba(255, 220, 228, 0.14);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --radius: 14px;
  --max: 1120px;
  --font-display: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  --font-body: "Noto Serif SC", "Songti SC", Georgia, 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, 90, 122, 0.22), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(240, 160, 106, 0.14), transparent 50%),
    linear-gradient(180deg, #1a1216 0%, var(--bg) 40%, #100c0e 100%);
  line-height: 1.8;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--accent);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(20, 15, 18, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.nav-toggle {
  --icon: currentColor;
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  border-radius: 2px;
  background: var(--icon);
  transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}

.nav-toggle::before {
  top: 14px;
  box-shadow: 0 6px 0 var(--icon);
}

.nav-toggle::after {
  top: 26px;
}

.nav-toggle[aria-expanded="true"]::before {
  top: 20px;
  box-shadow: none;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  top: 20px;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(16, 10, 12, 0.25) 0%, rgba(16, 10, 12, 0.55) 45%, rgba(16, 10, 12, 0.92) 100%),
    linear-gradient(90deg, rgba(16, 10, 12, 0.55), transparent 55%);
}

.hero-content {
  padding: 7rem 0 3.5rem;
  max-width: 720px;
  animation: riseIn 0.9s ease both;
}

.hero-brand {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.15;
  letter-spacing: 0.06em;
  color: #fff;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 600;
  color: #ffe8ee;
  line-height: 1.45;
}

.hero-lead {
  margin: 0 0 1.6rem;
  color: #f0d7de;
  font-size: 1.05rem;
  max-width: 36em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.98rem;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  box-shadow: 0 10px 28px rgba(194, 54, 88, 0.35);
}

.btn-primary:hover {
  color: #fff;
  opacity: 0.92;
}

.btn-ghost {
  border-color: rgba(255, 230, 236, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.section {
  padding: 4.2rem 0;
}

.section-head {
  margin-bottom: 1.8rem;
  max-width: 46rem;
}

.section-head h2 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: 0.04em;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

.prose p,
.prose li {
  color: #ebd7dd;
}

.prose p {
  margin: 0 0 1rem;
  text-align: justify;
}

.prose h2,
.prose h3 {
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  margin: 2rem 0 0.8rem;
}

.prose ul {
  padding-left: 1.2rem;
  margin: 0 0 1.2rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.feature-grid,
.shot-grid,
.guide-grid,
.link-grid {
  display: grid;
  gap: 1.1rem;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.shot-grid {
  grid-template-columns: repeat(4, 1fr);
}

.guide-grid {
  grid-template-columns: repeat(2, 1fr);
}

.link-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-item,
.guide-item,
.link-item,
.faq-item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-item img,
.guide-item img,
.shot-item img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s ease;
}

.feature-item:hover img,
.guide-item:hover img,
.shot-item:hover img {
  transform: scale(1.04);
}

.feature-body,
.guide-body,
.link-item,
.faq-item {
  padding: 1rem 1.05rem 1.15rem;
}

.feature-body h3,
.guide-body h3,
.link-item h3,
.faq-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
  font-family: var(--font-display);
}

.feature-body p,
.guide-body p,
.link-item p,
.faq-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.shot-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-panel);
}

.shot-item figcaption {
  padding: 0.7rem 0.8rem 0.9rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: center;
}

.split-media {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 620px;
  object-fit: cover;
  object-position: top center;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.page-hero {
  padding: 3.4rem 0 1.2rem;
}

.page-hero h1 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 0.04em;
}

.page-hero p {
  margin: 0;
  color: var(--text-muted);
  max-width: 42rem;
}

.breadcrumb {
  margin-bottom: 0.9rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.breadcrumb a {
  color: var(--text-muted);
}

.content-panel {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  padding: clamp(1.2rem, 3vw, 2rem);
  margin-bottom: 3rem;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  padding: 2.4rem 0 1.6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.4rem;
}

.site-footer h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.copyright {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  color: #9f8a91;
  font-size: 0.88rem;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 0;
}

.error-page h1 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
}

.error-code {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.18em;
  font-size: 0.95rem;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.08);
  }
}

@media (max-width: 980px) {
  .feature-grid,
  .guide-grid,
  .link-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shot-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: sticky;
  }

  .nav-wrap {
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 120;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(18, 12, 15, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0;
  }

  .nav.open {
    display: flex;
    position: absolute;
  }

  .nav a {
    padding: 0.85rem 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  .hero {
    min-height: 78vh;
  }

  .hero-content {
    padding-top: 5.5rem;
  }

  .feature-grid,
  .shot-grid,
  .guide-grid,
  .link-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shot-grid .shot-item:nth-child(n + 5),
  .feature-grid .feature-item:nth-child(n + 5) {
    display: none;
  }
}

@media (max-width: 520px) {
  .feature-grid,
  .shot-grid,
  .guide-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .shot-grid .shot-item:nth-child(n + 5),
  .feature-grid .feature-item:nth-child(n + 5) {
    display: block;
  }

  .hero-brand {
    font-size: 2.35rem;
  }
}
