/* 重口社视频官网 - zksapp.cyou */
:root {
  --bg: #0b0c0f;
  --bg-2: #12141a;
  --bg-3: #1a1d26;
  --card: #161920;
  --line: #2a2e3a;
  --text: #f2f4f7;
  --muted: #9aa3b2;
  --accent: #6fdc4a;
  --accent-2: #4caf2f;
  --danger: #c62828;
  --gold: #e6b84d;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(0, 0, 0, .45);
  --max: 1180px;
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(111, 220, 74, .12), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(198, 40, 40, .14), transparent 50%),
    linear-gradient(180deg, #0d1016 0%, var(--bg) 40%, #090a0d 100%);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
  overflow-x: hidden;
  padding-top: 68px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color .2s ease, opacity .2s ease;
}

a:hover {
  color: #9af07a;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

/* Header + ads: fixed together at top */
.site-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 12, 15, .98);
}

.site-header {
  position: relative;
  z-index: 2;
  backdrop-filter: blur(14px);
  background: rgba(11, 12, 15, .96);
  border-bottom: 1px solid rgba(42, 46, 58, .8);
  overflow: visible;
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .02em;
  min-width: 0;
  flex-shrink: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
}

.brand span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: .95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(111, 220, 74, .1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
  flex-shrink: 0;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b1208;
}

.btn-primary:hover {
  color: #061004;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-2);
  color: var(--text);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.menu-toggle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  margin: -1px 0 0 -9px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
  border-radius: 2px;
}

/* Hero */
.hero {
  padding: 56px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  background: rgba(111, 220, 74, .1);
  border: 1px solid rgba(111, 220, 74, .25);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .85rem;
  margin-bottom: 16px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  line-height: 1.25;
  letter-spacing: .01em;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 24px;
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: .92rem;
}

.hero-meta strong {
  color: var(--text);
  display: block;
  font-size: 1.15rem;
}

.hero-visual {
  position: relative;
}

.phone-frame {
  background: linear-gradient(160deg, #1c2030, #10131b);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-frame img {
  width: 100%;
  border-radius: 18px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  background: #000;
}

.glow {
  position: absolute;
  inset: 12% -8% auto;
  height: 50%;
  background: radial-gradient(circle, rgba(111, 220, 74, .25), transparent 70%);
  filter: blur(20px);
  z-index: -1;
}

/* Sections */
section {
  padding: 48px 0;
}

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
}

.panel {
  background: rgba(22, 25, 32, .88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card,
.shot-card,
.faq-item,
.content-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.feature-card h3,
.shot-card h3,
.content-block h2,
.content-block h3 {
  margin-top: 0;
}

.feature-card p,
.shot-card p,
.content-block p {
  color: var(--muted);
  margin-bottom: 0;
}

.shot-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 14px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  background: #000;
  border: 1px solid rgba(255, 255, 255, .05);
}

.shot-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.badge {
  display: inline-block;
  font-size: .75rem;
  color: var(--accent);
  background: rgba(111, 220, 74, .12);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 10px;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.steps li {
  list-style: none;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(111, 220, 74, .15);
  color: var(--accent);
  font-weight: 800;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-cloud span {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}

.cta-band {
  background:
    linear-gradient(120deg, rgba(111, 220, 74, .16), rgba(198, 40, 40, .12)),
    var(--bg-2);
  border: 1px solid rgba(111, 220, 74, .25);
  border-radius: 20px;
  padding: 36px;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 10px;
}

.cta-band p {
  color: var(--muted);
  margin: 0 0 20px;
}

.prose {
  color: var(--muted);
}

.prose h2,
.prose h3 {
  color: var(--text);
  margin-top: 1.6em;
}

.prose p {
  margin: 0 0 1em;
}

.prose ul,
.prose ol {
  padding-left: 1.2em;
  margin: 0 0 1em;
}

.prose li {
  margin-bottom: .45em;
}

.toc {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 18px 0 28px;
}

.toc strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.toc a {
  display: inline-block;
  margin: 4px 12px 4px 0;
  color: var(--muted);
}

.toc a:hover {
  color: var(--accent);
}

.faq-item + .faq-item {
  margin-top: 12px;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

th,
td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
}

th {
  background: var(--bg-3);
  color: var(--text);
}

td {
  color: var(--muted);
}

/* Error pages */
.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 0;
}

.error-code {
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), #fff, var(--danger));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}

/* Footer */
.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, .35);
  padding: 36px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 24px;
}

.site-footer h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
}

.site-footer a:hover {
  color: var(--accent);
}

.copyright {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: #6d7585;
  font-size: .88rem;
  text-align: center;
}

.breadcrumb {
  color: var(--muted);
  font-size: .9rem;
  margin: 18px 0 8px;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb span {
  margin: 0 6px;
  opacity: .5;
}

.page-title {
  margin: 0 0 18px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.legal .panel {
  max-width: 900px;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual {
    max-width: 360px;
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-actions {
    margin-left: auto;
  }

  .nav-actions .btn {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    margin: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px;
    background: rgba(12, 14, 18, .98);
    border-bottom: 1px solid var(--line);
    z-index: 5;
    max-height: min(70vh, calc(100dvh - 68px));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 12px;
    border-radius: 10px;
  }

  .ads-bar {
    position: relative;
    top: auto;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  section {
    padding: 36px 0;
  }

  .panel,
  .cta-band {
    padding: 20px;
  }

  .hero {
    padding-top: 28px;
  }
}

/* Ads bar (inside .site-top, sticks together with header) */
.ads-bar {
  position: relative;
  z-index: 1;
  background: rgba(12, 14, 18, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  padding: 8px 0 6px;
}

#ads {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 4px 2px;
  background: transparent;
  margin: 0;
}

#ads > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 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, .35);
  transition: transform 180ms ease, box-shadow 180ms ease;
  display: block;
  border: 1px solid rgba(255, 255, 255, .08);
  background: #1a1d26;
}

#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(111, 220, 74, .18);
}

#ads figcaption,
#ads .caption {
  height: 15px;
  font-size: 11px;
  color: #9aa3b2;
  text-align: center;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 4px;
}
