:root {
  --bg: #0b0b0f;
  --bg-soft: #14141c;
  --bg-card: #1a1a24;
  --text: #f5f5f7;
  --muted: #a8a8b3;
  --line: rgba(255, 255, 255, 0.08);
  --brand: #ff2d55;
  --brand-2: #ff8a00;
  --grad: linear-gradient(135deg, #ff8a00 0%, #ff2d55 55%, #c2185b 100%);
  --radius: 14px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --max: 1180px;
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
}
img { max-width: 100%; display: block; height: auto; }
a { color: #ff7a9a; text-decoration: none; }
a:hover { color: #ffb3c4; }
ul, ol { padding-left: 1.2rem; }
p { margin: 0.85rem 0; color: var(--muted); }
h1, h2, h3, h4 { color: var(--text); line-height: 1.35; font-weight: 700; }
h1 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 0.8rem; }
h2 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); margin: 1.8rem 0 0.8rem; }
h3 { font-size: 1.15rem; margin: 1.25rem 0 0.55rem; }

.container { width: min(100% - 2rem, var(--max)); margin: 0 auto; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: #fff; color: #000; padding: 0.5rem 1rem; z-index: 1000;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 11, 15, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: 0.7rem; color: var(--text); font-weight: 800;
}
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand span { font-size: 1.15rem; letter-spacing: 0.02em; }
.brand em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav a {
  color: var(--muted); padding: 0.45rem 0.75rem; border-radius: 999px; font-size: 0.95rem;
}
.nav a:hover, .nav a.active { color: #fff; background: rgba(255, 45, 85, 0.12); }
.menu-btn {
  display: none; border: 1px solid var(--line); background: var(--bg-soft);
  color: #fff; width: 42px; height: 42px; border-radius: 10px; cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 2.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 15% 10%, rgba(255, 138, 0, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 20%, rgba(255, 45, 85, 0.18), transparent 50%),
    var(--bg);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2rem; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.75rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line);
  color: #ffd0da; font-size: 0.85rem; margin-bottom: 1rem;
}
.hero p.lead { font-size: 1.08rem; color: #d7d7df; max-width: 38rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.4rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.8rem 1.25rem; border-radius: 999px; font-weight: 700; border: none; cursor: pointer;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(255, 45, 85, 0.28); }
.btn-primary:hover { color: #fff; filter: brightness(1.05); }
.btn-ghost {
  background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.18);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.hero-visual {
  position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); background: #000;
}
.hero-visual img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; }
.hero-float {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
  padding: 0.85rem 1rem; border-radius: 12px;
  background: rgba(0, 0, 0, 0.62); backdrop-filter: blur(8px);
  color: #fff; font-size: 0.9rem;
}

/* Sections */
.section { padding: 2.75rem 0; }
.section.alt { background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent); }
.section-head { margin-bottom: 1.4rem; }
.section-head p { max-width: 46rem; }
.kicker {
  display: inline-block; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: #ff8a9f; margin-bottom: 0.45rem;
}

.feature-grid, .shot-grid, .cat-grid, .card-grid {
  display: grid; gap: 1rem;
}
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.shot-grid { grid-template-columns: repeat(3, 1fr); }
.cat-grid { grid-template-columns: repeat(4, 1fr); }
.card-grid { grid-template-columns: repeat(2, 1fr); }

.feature-card, .content-card, .info-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
}
.feature-card h3 { margin-top: 0; }
.feature-card .icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 45, 85, 0.12); color: #ff6b8a; font-weight: 800; margin-bottom: 0.7rem;
}

.shot-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.shot-card img { width: 100%; aspect-ratio: 9/16; object-fit: cover; object-position: top; background: #111; }
.shot-card figcaption { padding: 0.85rem 1rem 1.05rem; }
.shot-card h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.shot-card p { margin: 0; font-size: 0.9rem; }

.cat-item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); background: #000; min-height: 180px;
}
.cat-item img { width: 100%; height: 100%; object-fit: cover; object-position: top; min-height: 180px; }
.cat-item span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.4rem 0.9rem 0.85rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  font-weight: 700; color: #fff;
}

.prose { max-width: 860px; }
.prose p, .prose li { color: var(--muted); }
.prose li { margin: 0.35rem 0; }
.prose strong { color: #eee; }
.toc {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.15rem; margin: 1.2rem 0 1.6rem;
}
.toc a { display: inline-block; margin: 0.2rem 0.55rem 0.2rem 0; }

.faq details {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px;
  padding: 0.9rem 1rem; margin-bottom: 0.7rem;
}
.faq summary { cursor: pointer; font-weight: 700; color: #fff; }
.faq p { margin-top: 0.6rem; }

.steps { counter-reset: step; display: grid; gap: 0.9rem; }
.step {
  counter-increment: step; display: grid; grid-template-columns: 48px 1fr; gap: 0.9rem;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.1rem;
}
.step::before {
  content: counter(step); width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; background: var(--grad); color: #fff;
}

.page-banner {
  padding: 2.4rem 0 1.4rem;
  background:
    radial-gradient(ellipse 60% 80% at 0% 0%, rgba(255,138,0,0.16), transparent 50%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.breadcrumb { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.7rem; }
.breadcrumb a { color: #ff9fb4; }
.legal-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }

.internal-links {
  display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.2rem;
}
.internal-links a {
  padding: 0.4rem 0.8rem; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.03); color: #ffc0ce; font-size: 0.9rem;
}

/* Error pages */
.error-page {
  min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 3rem 1rem;
}
.error-page .code {
  font-size: clamp(4rem, 12vw, 7rem); font-weight: 900; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.error-page h1 { margin-top: 0.4rem; }

/* Footer */
.site-footer {
  margin-top: 2rem; border-top: 1px solid var(--line);
  background: #08080c; padding: 2.4rem 0 1.6rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1.5rem;
}
.site-footer h3 { font-size: 1rem; margin-bottom: 0.7rem; }
.site-footer a { display: block; color: var(--muted); margin: 0.35rem 0; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 1.6rem; padding-top: 1rem; border-top: 1px solid var(--line);
  color: #777; font-size: 0.88rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem;
  justify-content: space-between;
}

@media (max-width: 980px) {
  .hero-grid, .card-grid, .footer-grid { grid-template-columns: 1fr; }
  .feature-grid, .shot-grid { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .menu-btn { display: inline-grid; place-items: center; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; align-items: stretch; gap: 0.2rem;
    background: rgba(12,12,18,0.98); border-bottom: 1px solid var(--line);
    padding: 0.7rem;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.75rem 0.9rem; }
}

@media (max-width: 640px) {
  .feature-grid, .shot-grid { grid-template-columns: 1fr; }
  .hero { padding: 2rem 0 1.5rem; }
  .hero-visual img { aspect-ratio: 3/4; }
  .section { padding: 2rem 0; }
}
