/* 重口社官方网站 - zkapp.monster */
:root {
  --bg: #0f1115;
  --bg-soft: #171a21;
  --bg-card: #1c212b;
  --line: #2a3140;
  --text: #e8ecf3;
  --muted: #9aa3b5;
  --brand: #e11d48;
  --brand-soft: #fb7185;
  --accent: #f59e0b;
  --ok: #22c55e;
  --radius: 14px;
  --shadow: 0 12px 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: var(--bg);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #fff;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 17, 21, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  background: var(--bg-card);
}

.nav .btn {
  margin-left: 6px;
}

.menu-btn {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), #be123c);
  color: #fff;
}

.btn-primary:hover {
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--brand-soft);
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(225, 29, 72, 0.22), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(245, 158, 11, 0.12), transparent 55%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(225, 29, 72, 0.15);
  color: var(--brand-soft);
  font-size: 0.85rem;
  margin-bottom: 16px;
  border: 1px solid rgba(225, 29, 72, 0.35);
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  display: inline-block;
}

.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.phone-shot {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.phone-shot img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.phone-shot:nth-child(2) {
  transform: translateY(24px);
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: 36px;
  max-width: 760px;
}

.section-head h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  margin-bottom: 12px;
}

.section-head p {
  color: var(--muted);
}

.eyebrow {
  color: var(--brand-soft);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(225, 29, 72, 0.45);
  transform: translateY(-3px);
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.feature-card .num {
  color: var(--brand);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

/* Content blocks with images */
.block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 56px;
}

.block:last-child {
  margin-bottom: 0;
}

.block.reverse .block-text {
  order: 2;
}

.block.reverse .block-media {
  order: 1;
}

.block-text h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.block-text p {
  color: var(--muted);
  margin-bottom: 14px;
}

.block-text ul {
  margin: 12px 0 18px;
}

.block-text li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  margin-bottom: 8px;
}

.block-text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.media-grid img,
.shot {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  box-shadow: var(--shadow);
}

.shot-wide {
  aspect-ratio: 9 / 16;
}

/* Category gallery */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cat-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.cat-item:hover {
  transform: translateY(-4px);
}

.cat-item img {
  width: 100%;
  aspect-ratio: 9 / 14;
  object-fit: cover;
  object-position: top;
}

.cat-item figcaption {
  padding: 12px 14px;
  font-size: 0.92rem;
  color: var(--muted);
}

.cat-item strong {
  display: block;
  color: #fff;
  margin-bottom: 4px;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
}

.step .n {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(225, 29, 72, 0.18);
  color: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* FAQ */
.faq {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.faq-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.faq-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Prose pages */
.page-hero {
  padding: 48px 0 24px;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(225, 29, 72, 0.18), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--muted);
  max-width: 680px;
}

.prose {
  padding: 48px 0 72px;
}

.prose article {
  max-width: 820px;
}

.prose h2 {
  font-size: 1.35rem;
  margin: 32px 0 12px;
  padding-top: 8px;
}

.prose h3 {
  font-size: 1.1rem;
  margin: 24px 0 10px;
}

.prose p,
.prose li {
  color: var(--muted);
  margin-bottom: 12px;
}

.prose ul,
.prose ol {
  padding-left: 1.2em;
  margin-bottom: 16px;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--brand-soft);
}

/* CTA band */
.cta-band {
  padding: 56px 0;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(225, 29, 72, 0.12), transparent),
    var(--bg-soft);
  border-top: 1px solid var(--line);
}

.cta-band h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 12px;
}

.cta-band p {
  color: var(--muted);
  margin-bottom: 24px;
}

/* Footer */
.site-footer {
  background: #0a0c10;
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.site-footer p,
.site-footer li {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer h4 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: #fff;
}

.site-footer li {
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Error pages */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 80px 0;
}

.error-page .code {
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 12px;
}

.error-page h1 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.error-page p {
  color: var(--muted);
  margin-bottom: 28px;
}

/* SEO helpers */
.seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
}

.seo-links a {
  color: var(--muted);
  font-size: 0.92rem;
  border-bottom: 1px dashed var(--line);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

/* Long text readability */
.rich-text p {
  margin-bottom: 16px;
  color: var(--muted);
}

.rich-text h3 {
  margin: 28px 0 12px;
  font-size: 1.25rem;
  color: #fff;
}

.rich-text strong {
  color: #fff;
  font-weight: 600;
}

/* Mobile */
@media (max-width: 960px) {
  .hero-grid,
  .block,
  .block.reverse {
    grid-template-columns: 1fr;
  }

  .block.reverse .block-text,
  .block.reverse .block-media {
    order: initial;
  }

  .phone-shot:nth-child(2) {
    transform: none;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 68px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a,
  .nav .btn {
    width: 100%;
    margin: 0;
    justify-content: center;
  }

  .hero {
    padding: 40px 0 36px;
  }

  .hero-visual {
    max-width: 360px;
    margin: 0 auto;
  }

  .feature-grid,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 48px 0;
  }

  .media-grid {
    max-width: 420px;
  }
}

@media (max-width: 420px) {
  .cat-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
