/* 重口社官方网站 zksapp.xyz */
:root {
  --bg: #0b0c0f;
  --bg-2: #12141a;
  --bg-3: #1a1d26;
  --text: #e8eaeef0;
  --muted: #9aa3b2;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #2fd16a;
  --accent-2: #1faa52;
  --brand-red: #c62828;
  --radius: 14px;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  --max: 1120px;
  --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:
    radial-gradient(1200px 500px at 10% -10%, rgba(47, 209, 106, 0.12), transparent 55%),
    radial-gradient(900px 400px at 90% 0%, rgba(198, 40, 40, 0.14), transparent 50%),
    linear-gradient(180deg, #0d1016 0%, var(--bg) 40%, #08090c 100%);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #6be896; }
ul { padding-left: 1.2rem; }
li { margin: 0.35rem 0; }

.container { width: min(100% - 2rem, var(--max)); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(11, 12, 15, 0.82);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
}
.brand span { font-size: 1.1rem; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  list-style: none;
  padding: 0;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }
.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-2));
  color: #04140a !important;
  font-weight: 700;
}
.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: #fff;
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 3.2rem 0 2.2rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.2rem;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}
.hero h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  line-height: 1.25;
  margin-bottom: 1rem;
  color: #fff;
}
.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.4rem;
  max-width: 36rem;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.25rem;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04140a;
}
.btn-primary:hover { color: #04140a; }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  border-color: var(--line);
  color: #fff;
}
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,0.08); }
.hero-meta {
  color: var(--muted);
  font-size: 0.92rem;
}
.hero-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.hero-visual img {
  width: 100%;
  aspect-ratio: 9/16;
  max-height: 540px;
  object-fit: cover;
  object-position: top;
}
.hero-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(0,0,0,0.72);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  font-size: 0.86rem;
}

/* Sections */
.section { padding: 2.6rem 0; }
.section-alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head {
  margin-bottom: 1.5rem;
  max-width: 46rem;
}
.section-head h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  color: #fff;
  margin-bottom: 0.55rem;
}
.section-head p { color: var(--muted); }

.prose {
  color: var(--muted);
}
.prose h2, .prose h3 {
  color: #fff;
  margin: 1.6rem 0 0.7rem;
}
.prose p { margin: 0.85rem 0; }
.prose strong { color: #fff; }

.feature-grid,
.shot-grid,
.card-grid {
  display: grid;
  gap: 1rem;
}
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.card-grid { grid-template-columns: repeat(2, 1fr); }
.shot-grid { grid-template-columns: repeat(4, 1fr); }

.card, .feature, .shot {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature, .card { padding: 1.2rem; }
.feature h3, .card h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}
.feature p, .card p { color: var(--muted); font-size: 0.95rem; }
.shot img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  object-position: top;
}
.shot figcaption {
  padding: 0.7rem 0.85rem 0.9rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.shot figcaption strong {
  display: block;
  color: #fff;
  margin-bottom: 0.2rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.step {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
}
.step .num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(47, 209, 106, 0.15);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.step h3 { color: #fff; margin-bottom: 0.4rem; font-size: 1rem; }
.step p { color: var(--muted); font-size: 0.92rem; }

.faq details {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.95rem 1.1rem;
  margin-bottom: 0.7rem;
}
.faq summary {
  cursor: pointer;
  color: #fff;
  font-weight: 600;
}
.faq details p {
  color: var(--muted);
  margin-top: 0.7rem;
}

.page-hero {
  padding: 2.4rem 0 1.2rem;
}
.page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #fff;
  margin-bottom: 0.6rem;
}
.page-hero p { color: var(--muted); max-width: 42rem; }
.breadcrumb {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.content-box {
  background: rgba(18, 20, 26, 0.85);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(1.2rem, 3vw, 2rem);
  margin: 0.5rem 0 2.5rem;
}

.download-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.2rem;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(47,209,106,0.14), rgba(198,40,40,0.1)),
    var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
}
.download-banner h2 { color: #fff; margin-bottom: 0.4rem; }
.download-banner p { color: var(--muted); }

.related {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}
.related a {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-3);
  color: var(--muted);
  font-size: 0.9rem;
}
.related a:hover { color: #fff; border-color: rgba(47,209,106,0.4); }

/* 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.4rem, 8vw, 4.5rem);
  color: #fff;
  margin-bottom: 0.6rem;
}
.error-page p {
  color: var(--muted);
  margin-bottom: 1.3rem;
  max-width: 28rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #08090c;
  padding: 2.2rem 0 1.6rem;
  margin-top: 1rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.7rem;
}
.site-footer p,
.site-footer a { color: var(--muted); font-size: 0.92rem; }
.site-footer a:hover { color: var(--accent); }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin: 0.4rem 0; }
.copyright {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  color: #6f7683;
  font-size: 0.86rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .feature-grid,
  .card-grid,
  .steps,
  .footer-grid,
  .download-banner { grid-template-columns: 1fr; }
  .shot-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-btn { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(12, 14, 18, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 1rem 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.75rem 0.4rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-links .nav-cta {
    margin-top: 0.6rem;
    text-align: center;
  }
  .hero { padding-top: 2rem; }
  .hero-visual img { max-height: 460px; }
}

@media (max-width: 560px) {
  .shot-grid { grid-template-columns: 1fr 1fr; }
  .cta-row .btn { width: 100%; }
}