:root {
  --bg: #0b0b0f;
  --bg-soft: #14141c;
  --bg-card: #1a1a24;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f3f3f7;
  --muted: #a8a8b8;
  --accent: #ff2d55;
  --accent-2: #ff6b4a;
  --accent-soft: rgba(255, 45, 85, 0.14);
  --ok: #2dd4a8;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --max: 1180px;
  --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(1200px 600px at 10% -10%, rgba(255, 45, 85, 0.16), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(255, 107, 74, 0.12), transparent 50%),
    linear-gradient(180deg, #101018 0%, var(--bg) 40%, #09090d 100%);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: #ff8fa0;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #fff;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.35;
  font-weight: 400;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
  color: var(--muted);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(11, 11, 15, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  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 {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav a {
  color: var(--muted);
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  background: var(--accent-soft);
}

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  -webkit-appearance: none;
  appearance: none;
}

.menu-toggle svg {
  display: block;
  width: 22px;
  height: 22px;
  pointer-events: none;
}

.menu-toggle svg path {
  stroke: #ffffff;
  stroke-width: 2.2;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.38) saturate(1.05);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 12, 0.92) 0%, rgba(8, 8, 12, 0.55) 48%, rgba(8, 8, 12, 0.35) 100%),
    linear-gradient(180deg, transparent 40%, rgba(8, 8, 12, 0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 4.5rem;
  max-width: 720px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #ffb3c0;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  margin-bottom: 0.8rem;
  color: #fff;
}

.hero .lead {
  font-size: 1.08rem;
  color: #d7d7e2;
  max-width: 38rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 45, 85, 0.28);
}

.btn-primary:hover {
  color: #fff;
  opacity: 0.92;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
  color: #fff;
}

.section {
  padding: 4.2rem 0;
}

.section-head {
  margin-bottom: 1.8rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: #fff;
}

.section-head p {
  max-width: 46rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.panel {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.shot {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.shot img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
}

.shot.landscape img {
  aspect-ratio: 16 / 10;
}

.shot figcaption,
.card-meta {
  padding: 0.9rem 1rem 1.1rem;
}

.shot figcaption strong,
.card-meta strong {
  display: block;
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.shot figcaption span,
.card-meta span {
  color: var(--muted);
  font-size: 0.92rem;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.feature-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.9rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.feature-list .num {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 700;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tag-cloud a {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: #dddde8;
  font-size: 0.9rem;
}

.tag-cloud a:hover {
  border-color: rgba(255, 45, 85, 0.45);
  background: var(--accent-soft);
  color: #fff;
}

.article {
  max-width: 860px;
}

.article h2 {
  margin-top: 2rem;
  font-size: 1.65rem;
  color: #fff;
}

.article h3 {
  margin-top: 1.4rem;
  font-size: 1.25rem;
  color: #ffe0e6;
}

.article ul,
.article ol {
  color: var(--muted);
  padding-left: 1.2rem;
}

.article li {
  margin-bottom: 0.45rem;
}

.page-hero {
  padding: 3.2rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  color: #fff;
}

.breadcrumb {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.breadcrumb a {
  color: #ff9aab;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.95rem 1.1rem;
  margin-bottom: 0.7rem;
}

.faq summary {
  cursor: pointer;
  color: #fff;
  font-weight: 600;
}

.faq details p {
  margin: 0.75rem 0 0;
}

.cta-band {
  margin: 1rem 0 0;
  padding: 2rem;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 45, 85, 0.18), rgba(255, 107, 74, 0.08)),
    var(--bg-soft);
  border: 1px solid rgba(255, 45, 85, 0.25);
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: #08080c;
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
}

.site-footer a {
  display: inline-block;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.site-footer a:hover {
  color: #fff;
}

.copyright {
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: #7e7e8f;
  font-size: 0.88rem;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem;
}

.error-page h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  color: #fff;
  margin-bottom: 0.2rem;
}

.error-page p {
  max-width: 28rem;
  margin-inline: auto  ;
}

.seo-block {
  font-size: 1rem;
}

.seo-block p {
  text-align: justify;
}

.toc {
  display: grid;
  gap: 0.45rem;
}

.toc a {
  color: #ffb0bd;
}

@media (max-width: 960px) {
  .grid-2,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 1rem, var(--max));
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.8rem;
    background: rgba(12, 12, 18, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 1rem;
    border-radius: 10px;
  }

  .hero-content {
    padding: 3.5rem 0 3rem;
  }

  .section {
    padding: 3rem 0;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .shot img {
    aspect-ratio: 3 / 4;
    width: 100%;
    max-height: none;
    object-fit: cover;
    object-position: top center;
  }

  .shot.landscape img {
    aspect-ratio: 16 / 10;
  }

  .shot figcaption,
  .card-meta {
    padding: 0.85rem 0.9rem 1rem;
  }

  .shot figcaption strong,
  .card-meta strong {
    font-size: 1.05rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: fadeUp 0.7s ease both;
}

.reveal-delay {
  animation-delay: 0.15s;
}
