:root {
  --bg: #0c0c0f;
  --bg-soft: #141418;
  --bg-card: #1a1a20;
  --text: #f3f1f4;
  --muted: #a8a3ad;
  --line: rgba(255, 255, 255, 0.08);
  --brand: #e23d5c;
  --brand-deep: #b81f3f;
  --brand-soft: rgba(226, 61, 92, 0.14);
  --gold: #e8c27a;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --max: 1120px;
  --font: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "ZCOOL XiaoWei", "Source Han Serif SC", "Noto Serif SC", "Songti SC", serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background:
    radial-gradient(1100px 500px at 10% -10%, rgba(226, 61, 92, 0.18), transparent 55%),
    radial-gradient(900px 420px at 95% 5%, rgba(232, 194, 122, 0.08), transparent 50%),
    linear-gradient(180deg, #100e12 0%, var(--bg) 40%, #09090b 100%);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #ff6b86;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(12, 12, 15, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  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);
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.brand-text {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.brand-text em {
  font-style: normal;
  color: var(--brand);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  color: var(--text);
  cursor: pointer;
  position: relative;
  padding: 0;
}

.nav-toggle::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: currentColor;
  border-radius: 2px;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
  flex-wrap: wrap;
}

.nav-menu a {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.78rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
}

.btn-primary:hover {
  color: #fff;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(226, 61, 92, 0.5);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 3.2rem 0 2.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: #ff8aa0;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--brand);
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-meta strong {
  color: var(--gold);
  font-weight: 700;
}

.hero-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--bg-card);
  animation: rise-in 0.8s ease both;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 9 / 14;
  object-fit: cover;
  object-position: top center;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(transparent, rgba(8, 8, 10, 0.88));
  pointer-events: none;
}

.section {
  padding: 3.2rem 0;
}

.section-head {
  margin-bottom: 1.6rem;
  max-width: 46rem;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin-bottom: 0.55rem;
}

.section-head p {
  color: var(--muted);
}

.panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent), var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.category-grid,
.feature-grid,
.gallery-grid,
.guide-grid {
  display: grid;
  gap: 1rem;
}

.category-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-grid {
  grid-template-columns: repeat(4, 1fr);
}

.guide-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}

.cat-card,
.feature-card,
.shot-card {
  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;
}

.cat-card:hover,
.feature-card:hover,
.shot-card:hover {
  transform: translateY(-4px);
  border-color: rgba(226, 61, 92, 0.4);
}

.cat-card img,
.feature-card img,
.shot-card img {
  width: 100%;
  aspect-ratio: 9 / 14;
  object-fit: cover;
  object-position: top center;
}

.cat-card .body,
.feature-card .body,
.shot-card .body {
  padding: 0.95rem 1rem 1.1rem;
}

.cat-card h3,
.feature-card h3,
.shot-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.cat-card p,
.feature-card p,
.shot-card p,
.prose p,
.prose li {
  color: var(--muted);
  font-size: 0.95rem;
}

.prose h2,
.prose h3 {
  font-family: var(--display);
  margin: 1.6rem 0 0.7rem;
}

.prose h2 {
  font-size: 1.55rem;
}

.prose h3 {
  font-size: 1.2rem;
}

.prose p {
  margin-bottom: 0.95rem;
}

.prose ul {
  margin: 0 0 1rem 1.1rem;
  list-style: disc;
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose strong {
  color: var(--text);
}

.two-col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.2rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.stat {
  background: var(--brand-soft);
  border: 1px solid rgba(226, 61, 92, 0.2);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}

.stat b {
  display: block;
  font-size: 1.35rem;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.88rem;
}

.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;
}

.faq details p {
  margin-top: 0.7rem;
  color: var(--muted);
}

.page-hero {
  padding: 2.4rem 0 1.2rem;
}

.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 0.6rem;
}

.page-hero p {
  color: var(--muted);
  max-width: 42rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--brand);
}

.content-wrap {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 1.2rem;
  padding-bottom: 3rem;
}

.side-card {
  position: sticky;
  top: 88px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
}

.side-card h3 {
  font-size: 1rem;
  margin-bottom: 0.7rem;
}

.side-card a {
  display: block;
  color: var(--muted);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--line);
}

.side-card a:last-child {
  border-bottom: 0;
}

.side-card a:hover {
  color: var(--brand);
}

.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(2.5rem, 8vw, 4.5rem);
  margin-bottom: 0.6rem;
}

.error-page p {
  color: var(--muted);
  margin-bottom: 1.4rem;
  max-width: 28rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #09090b;
  padding: 2.4rem 0 1.5rem;
  margin-top: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.4rem;
  margin-bottom: 1.5rem;
}

.site-footer h3 {
  font-size: 1rem;
  margin-bottom: 0.7rem;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a {
  display: block;
  margin-bottom: 0.35rem;
}

.site-footer a:hover {
  color: var(--brand);
}

.copyright {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  color: #6f6a73;
  font-size: 0.85rem;
  text-align: center;
}

.float-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  animation: pulse 2.8s ease-in-out infinite;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero-grid,
  .two-col,
  .guide-grid,
  .content-wrap,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid,
  .stat-row {
    grid-template-columns: 1fr 1fr;
  }

  .side-card {
    position: static;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    background: rgba(12, 12, 15, 0.96);
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 1rem 1.1rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-menu.open {
    display: flex;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 2rem;
  }

  .category-grid,
  .gallery-grid,
  .feature-grid,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .hero-visual img,
  .cat-card img,
  .feature-card img,
  .shot-card img {
    aspect-ratio: 3 / 4;
  }
}
