:root {
  --bg: #0a0a0c;
  --bg-soft: #12141a;
  --bg-card: #1a1d26;
  --line: #2a2e3a;
  --text: #f2f2f2;
  --muted: #9aa0ae;
  --accent: #7ed957;
  --accent-dark: #5cb83a;
  --danger: #c62828;
  --gold: #d4a84b;
  --max: 1120px;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --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(126, 217, 87, 0.08), transparent 60%),
    radial-gradient(900px 400px at 90% 0%, rgba(198, 40, 40, 0.08), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #a8ef7f;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 12, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

/* Sticky ads bar under header */
.ads-bar {
  position: sticky;
  top: 64px;
  z-index: 99;
  background: rgba(12, 14, 18, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 8px 0 6px;
  display: flex;
  justify-content: center;
}

#ads {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 12px;
  background: transparent;
  margin: 0 auto;
  width: auto;
  max-width: 100%;
  padding: 0 0.5rem;
}

#ads > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70px;
  flex: 0 0 70px;
  box-sizing: border-box;
}

#ads figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#ads img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 180ms ease, box-shadow 180ms ease;
  display: block;
  border: none;
  background: #fff;
}

#ads a {
  display: inline-block;
  text-decoration: none;
  border-radius: 15px;
}

#ads img:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

#ads figcaption,
#ads .caption {
  height: 15px;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .ads-bar {
    top: 58px;
    padding: 6px 0 4px;
  }

  #ads {
    width: 100%;
    max-width: 360px;
    gap: 4px 0;
    padding: 0;
  }

  #ads > div {
    width: 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }

  #ads img {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  #ads figcaption,
  #ads .caption {
    max-width: 64px;
    font-size: 10px;
  }
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #0b1208 !important;
  font-weight: 700;
  font-size: 0.9rem;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border: 1px solid rgba(126, 217, 87, 0.35);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  background: rgba(126, 217, 87, 0.08);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 1.5rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.35rem;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #0b1208;
}

.btn-primary:hover {
  color: #0b1208;
  opacity: 0.92;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-meta strong {
  color: var(--text);
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--bg-card);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto -8% -8% auto;
  width: 42%;
  height: 42%;
  background: radial-gradient(circle, rgba(126, 217, 87, 0.25), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(18, 20, 26, 0.65), rgba(18, 20, 26, 0.2));
  border-block: 1px solid rgba(42, 46, 58, 0.6);
}

.section-head {
  margin-bottom: 1.75rem;
  max-width: 48rem;
}

.section-head h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.prose {
  color: #d7dae2;
  font-size: 1.02rem;
}

.prose p {
  margin: 0 0 1.1rem;
}

.prose h2,
.prose h3 {
  color: var(--text);
  margin: 1.8rem 0 0.8rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
  color: #d7dae2;
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Cards / grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(126, 217, 87, 0.35);
}

.card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  background: #000;
}

.card-body {
  padding: 1rem 1.1rem 1.2rem;
}

.card-body h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

.feature.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

.feature.reverse .feature-media {
  order: 2;
}

.feature-media img {
  width: 100%;
  max-width: 280px;
  margin-inline: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.feature-copy h3 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
}

.feature-copy p {
  margin: 0 0 0.8rem;
  color: var(--muted);
}

.feature-copy ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #d7dae2;
}

.shot-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.shot-row figure {
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.shot-row img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.shot-row figcaption {
  padding: 0.65rem 0.75rem;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}

/* Steps / FAQ / CTA */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.step {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

.step-num {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(126, 217, 87, 0.15);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.95rem 1.1rem;
  margin-bottom: 0.7rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  color: var(--accent);
  margin-bottom: 0.55rem;
}

.faq p {
  margin: 0;
  color: var(--muted);
}

.cta-band {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(126, 217, 87, 0.12), rgba(198, 40, 40, 0.1)),
    var(--bg-card);
  border: 1px solid var(--line);
}

.cta-band h2 {
  margin: 0 0 0.7rem;
}

.cta-band p {
  margin: 0 auto 1.25rem;
  max-width: 40rem;
  color: var(--muted);
}

.breadcrumb {
  padding: 1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.page-hero {
  padding: 1.5rem 0 0.5rem;
}

.page-hero h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 46rem;
}

.content-box {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  margin: 1.5rem 0 3rem;
}

.related {
  margin: 2rem 0 3rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.related h2 {
  margin: 0 0 0.8rem;
  font-size: 1.15rem;
}

.related ul {
  margin: 0;
  padding-left: 1.1rem;
}

.related li {
  margin-bottom: 0.4rem;
}

/* Error pages */
.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.error-page h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  margin: 0 0 0.5rem;
  color: var(--accent);
}

.error-page p {
  color: var(--muted);
  margin: 0 0 1.5rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #07080a;
  padding: 2.5rem 0 1.5rem;
  margin-top: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.footer-brand {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}

.footer-brand h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-col h4 {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
}

.footer-col a {
  display: block;
  color: var(--muted);
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: space-between;
}

.keywords {
  color: #6f7688;
  font-size: 0.8rem;
}

/* Mobile */
@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 12, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1rem 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.55rem 0.4rem;
  }

  .hero-grid,
  .feature,
  .feature.reverse,
  .grid-2,
  .grid-3,
  .grid-4,
  .shot-row,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature.reverse .feature-media {
    order: 0;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-visual {
    max-width: 320px;
    margin-inline: auto;
  }

  .feature-media img {
    max-width: 240px;
  }

  .shot-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 1.25rem, var(--max));
  }

  .content-box {
    padding: 1.1rem;
  }

  .shot-row,
  .grid-4 {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }
}
