:root {
  --bg: #0a0c18;
  --bg-soft: #12152a;
  --bg-card: #161a32;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef0f7;
  --muted: #9aa3bf;
  --accent: #ff5a7a;
  --accent-2: #ff8a3d;
  --accent-grad: linear-gradient(135deg, #ff5a7a 0%, #ff8a3d 100%);
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --container: 1120px;
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(255, 90, 122, 0.18), transparent 55%),
    radial-gradient(900px 420px at 90% 0%, rgba(255, 138, 61, 0.12), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #ffb08a;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #fff;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(10, 12, 24, 0.82);
  border-bottom: 1px solid var(--line);
}

.site-ads {
  position: sticky;
  top: 68px;
  z-index: 90;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  padding: 72px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: #ffb4a0;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 24px;
  max-width: 36em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 10px 28px rgba(255, 90, 122, 0.28);
}

.btn-primary:hover {
  color: #fff;
  opacity: 0.92;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.hero-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.section {
  padding: 56px 0;
}

.section-head {
  margin-bottom: 28px;
  max-width: 48em;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.3;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.prose {
  color: var(--muted);
}

.prose p {
  margin: 0 0 1em;
}

.prose h3 {
  color: var(--text);
  margin: 1.6em 0 0.6em;
  font-size: 1.2rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2em;
  margin: 0 0 1em;
}

.prose li {
  margin-bottom: 0.45em;
}

.feature-grid,
.shot-grid,
.guide-grid,
.faq-grid,
.card-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.shot-card,
.guide-card,
.faq-item,
.content-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%), var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.feature-card h3,
.guide-card h3,
.faq-item h3,
.content-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.feature-card p,
.guide-card p,
.faq-item p,
.content-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.shot-grid {
  grid-template-columns: repeat(3, 1fr);
}

.shot-card {
  padding: 12px;
  overflow: hidden;
}

.shot-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  border-radius: 10px;
  background: #0d1020;
}

.shot-card h3 {
  margin: 12px 8px 4px;
  font-size: 1rem;
}

.shot-card p {
  margin: 0 8px 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.media-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--bg-soft);
}

.media-frame img {
  width: 100%;
}

.guide-grid {
  grid-template-columns: repeat(4, 1fr);
}

.guide-card .step {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}

.faq-grid {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid {
  grid-template-columns: repeat(2, 1fr);
}

.toc {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 28px;
}

.toc h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.toc ol {
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
}

.toc a {
  color: #ffb08a;
}

.page-hero {
  padding: 48px 0 20px;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 46em;
}

.legal {
  padding-bottom: 64px;
}

.legal .prose {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px clamp(18px, 3vw, 36px);
}

.breadcrumb {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: #fff;
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  padding: 42px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.footer-brand h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.footer-brand p,
.footer-col p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-col h4 {
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: space-between;
}

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 0;
}

.error-page h1 {
  margin: 0 0 10px;
  font-size: clamp(2.4rem, 6vw, 4rem);
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-page p {
  color: var(--muted);
  margin: 0 0 22px;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 12px 0 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
}

.highlight-box {
  border-left: 3px solid #ff6d6d;
  background: rgba(255, 90, 122, 0.08);
  padding: 14px 16px;
  border-radius: 0 10px 10px 0;
  margin: 18px 0;
  color: #ffd0d8;
}

@media (max-width: 960px) {
  .hero-grid,
  .two-col,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .shot-grid,
  .guide-grid,
  .faq-grid,
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .site-ads {
    top: 60px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .menu-toggle[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(12, 14, 28, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 12px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 14px;
  }

  .hero {
    padding: 42px 0 28px;
  }

  .section {
    padding: 40px 0;
  }

  .feature-grid,
  .shot-grid,
  .guide-grid,
  .faq-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .shot-card img {
    aspect-ratio: 3 / 4;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
