/* 重口社官网 zsapp.cyou */
:root {
  --bg: #0b0b0d;
  --bg-2: #121216;
  --surface: #18181f;
  --card: #1e1e27;
  --line: #2c2c38;
  --text: #f4f4f7;
  --muted: #a8a8b3;
  --dim: #7a7a88;
  --red: #e11d48;
  --red-2: #be123c;
  --red-soft: rgba(225, 29, 72, 0.14);
  --gold: #f59e0b;
  --ok: #22c55e;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --max: 1180px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
  padding-bottom: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
.btn {
  font-family: inherit;
  cursor: pointer;
  border: 0;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--red);
  color: #fff;
  padding: 8px 14px;
  z-index: 1000;
}

.skip-link:focus {
  left: 12px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--header-h);
  background: rgba(11, 11, 13, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text strong {
  font-size: 18px;
  letter-spacing: 0.5px;
}

.logo-text span {
  font-size: 12px;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 15px;
  transition: 0.2s;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  background: var(--red-soft);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.age-badge {
  font-size: 12px;
  color: #fff;
  background: #3f3f46;
  border-radius: 999px;
  padding: 4px 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  transition: 0.2s;
}

.btn-primary {
  background: linear-gradient(180deg, #f43f5e, var(--red));
  color: #fff;
  box-shadow: 0 8px 22px rgba(225, 29, 72, 0.35);
}

.btn-primary:hover {
  background: var(--red-2);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--red);
  color: #fff;
}

.btn-gold {
  background: linear-gradient(180deg, #fbbf24, var(--gold));
  color: #1c1200;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: var(--surface);
  border-radius: 10px;
  color: #fff;
  font-size: 22px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 40px;
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(225, 29, 72, 0.22), transparent 60%),
    radial-gradient(700px 380px at 10% 100%, rgba(245, 158, 11, 0.08), transparent 55%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fecdd3;
  background: var(--red-soft);
  border: 1px solid rgba(225, 29, 72, 0.35);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 42px;
  line-height: 1.25;
  margin-bottom: 16px;
}

.hero h1 em {
  font-style: normal;
  color: #fb7185;
}

.lead {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  color: var(--dim);
  font-size: 13px;
}

.meta-row b {
  color: var(--text);
  font-weight: 700;
}

.hero-phones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.phone-frame {
  background: #000;
  border: 6px solid #2a2a32;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.phone-frame img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top;
}

.phone-frame.shift {
  transform: translateY(28px);
}

.trust {
  padding: 10px 0 40px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.trust-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.trust-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.trust-item p {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 48px 0;
}

.section.alt {
  background: var(--bg-2);
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head .eyebrow,
.eyebrow {
  color: #fb7185;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.section-head h2 {
  font-size: 30px;
  margin-bottom: 10px;
}

.section-head p {
  color: var(--muted);
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.shot-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: 0.2s;
}

.shot-card:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 29, 72, 0.5);
}

.shot-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.shot-card figcaption {
  padding: 12px 14px 16px;
}

.shot-card h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.shot-card p {
  color: var(--muted);
  font-size: 13px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.feature-copy h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.feature-copy h3 {
  font-size: 22px;
  margin: 18px 0 8px;
}

.feature-copy p,
.prose p {
  color: #d4d4dc;
  margin-bottom: 14px;
}

.feature-copy a,
.prose a,
.trust-item a {
  color: #fb7185;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.feature-shots {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.feature-shots img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.cat-card img {
  width: 100%;
  aspect-ratio: 9 / 14;
  object-fit: cover;
  object-position: top;
}

.cat-card .body {
  padding: 16px;
}

.cat-card h3 {
  margin-bottom: 8px;
}

.cat-card p {
  color: var(--muted);
  font-size: 14px;
}

.cat-card a {
  color: #fb7185;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.step .n {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--red);
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 12px;
}

.step h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 14px;
}

.step a {
  color: #fb7185;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.download-box {
  background: linear-gradient(180deg, #221018, #16161c);
  border: 1px solid rgba(225, 29, 72, 0.35);
  border-radius: 20px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}

.download-box h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.download-box p {
  color: var(--muted);
  margin-bottom: 16px;
}

.download-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.download-note {
  font-size: 13px;
  color: var(--dim);
  margin-top: 12px;
}

.download-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.download-visual img {
  border-radius: 14px;
  border: 1px solid var(--line);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  color: var(--muted);
  margin-top: 10px;
}

.faq details a {
  color: #fb7185;
}

.article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}

.article h2,
.article h3 {
  margin: 22px 0 10px;
}

.article h2:first-child {
  margin-top: 0;
}

.article p,
.article li {
  color: #d6d6de;
  margin-bottom: 12px;
}

.article ul,
.article ol {
  padding-left: 20px;
  margin-bottom: 12px;
}

.article ul {
  list-style: disc;
}

.article ol {
  list-style: decimal;
}

.article a {
  color: #fb7185;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.related {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.related a {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  color: #fff;
  text-decoration: none;
}

.related a span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}

.related a:hover {
  border-color: var(--red);
}

.page-hero {
  padding: 42px 0 20px;
  background:
    radial-gradient(700px 280px at 20% 0, rgba(225, 29, 72, 0.18), transparent 60%),
    var(--bg);
}

.crumbs {
  color: var(--dim);
  font-size: 13px;
  margin-bottom: 12px;
}

.crumbs a {
  color: var(--muted);
}

.crumbs a:hover {
  color: #fb7185;
}

.page-hero h1 {
  font-size: 34px;
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--muted);
  max-width: 760px;
}

.page-hero a {
  color: #fb7185;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal {
  padding: 20px 0 64px;
}

.legal-wrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 90px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}

.legal-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
}

.legal-nav a:hover,
.legal-nav a.active {
  background: var(--red-soft);
  color: #fff;
}

.legal-body {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}

.legal-body h2 {
  font-size: 22px;
  margin: 24px 0 10px;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body h3 {
  font-size: 18px;
  margin: 16px 0 8px;
}

.legal-body p,
.legal-body li {
  color: #d4d4dc;
  margin-bottom: 12px;
}

.legal-body ul,
.legal-body ol {
  padding-left: 20px;
  margin-bottom: 12px;
}

.legal-body ul {
  list-style: disc;
}

.legal-body ol {
  list-style: decimal;
}

.legal-body a {
  color: #fb7185;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.update-time {
  color: var(--dim);
  font-size: 13px;
  margin-bottom: 18px;
}

.error-page {
  min-height: calc(100vh - 180px);
  display: grid;
  place-items: center;
  padding: 48px 16px;
  text-align: center;
}

.error-card {
  max-width: 560px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 28px;
}

.error-code {
  font-size: 72px;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 12px;
}

.error-card h1 {
  font-size: 26px;
  margin-bottom: 10px;
}

.error-card p {
  color: var(--muted);
  margin-bottom: 20px;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer {
  border-top: 1px solid var(--line);
  background: #09090b;
  padding: 36px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 22px;
}

.footer h3 {
  font-size: 15px;
  margin-bottom: 12px;
}

.footer p,
.footer a,
.footer li {
  color: var(--muted);
  font-size: 14px;
}

.footer a:hover {
  color: #fb7185;
}

.footer ul {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: var(--dim);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  :root {
    --header-h: 64px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: #121216;
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    padding: 10px 16px 16px;
    z-index: 70;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px;
  }

  .header-cta .btn,
  .header-cta .age-badge {
    display: none;
  }

  .hero {
    padding: 28px 0 20px;
  }

  .hero-grid,
  .feature-grid,
  .download-box,
  .legal-wrap,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 28px;
  }

  .phone-frame.shift {
    transform: none;
  }

  .hero-phones {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 12px;
    margin: 4px auto 0;
    max-width: 420px;
  }

  .hero-phones .phone-frame {
    width: min(42vw, 168px);
    border-width: 4px;
    border-radius: 20px;
    flex: 0 0 auto;
  }

  .hero-phones .phone-frame.pc-only {
    display: block !important;
  }

  .hero-phones .phone-frame.shift {
    transform: translateY(10px);
  }

  .hero-phones .phone-frame img {
    aspect-ratio: 9 / 19;
    max-height: 38vh;
    object-fit: cover;
    object-position: top;
  }

  .trust-grid,
  .shot-grid,
  .cat-grid,
  .steps,
  .related,
  .feature-shots,
  .download-visual {
    grid-template-columns: 1fr 1fr;
  }

  .shot-grid .shot-card:nth-child(n + 5),
  .cat-grid .cat-card:nth-child(n + 5) {
    display: none;
  }

  .legal-nav {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .pc-only {
    display: none !important;
  }

  .section-head h2,
  .download-box h2,
  .page-hero h1,
  .feature-copy h2 {
    font-size: 24px;
  }

  .article,
  .legal-body,
  .download-box {
    padding: 18px;
  }
}

@media (max-width: 640px) {
  .hero-phones {
    max-width: 240px;
    gap: 0;
  }

  .hero-phones .phone-frame {
    width: min(58vw, 210px);
    border-width: 5px;
    border-radius: 22px;
  }

  .hero-phones .phone-frame.pc-only {
    display: none !important;
  }

  .hero-phones .phone-frame.shift {
    transform: none;
  }

  .hero-phones .phone-frame img {
    max-height: 42vh;
  }

  .trust-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .shot-grid,
  .cat-grid,
  .related {
    grid-template-columns: 1fr;
  }

  .shot-grid .shot-card,
  .cat-grid .cat-card {
    display: block !important;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
