/* 91PORN91PO 官方品牌站 — 91-s.lat */
:root {
  --base: #09090b;
  --panel: #111116;
  --panel-2: #18181f;
  --orange: #ff9000;
  --orange-hot: #ff6a00;
  --orange-soft: #ffb347;
  --orange-glow: rgba(255, 144, 0, 0.22);
  --violet: #8b5cf6;
  --cyan: #38bdf8;
  --text: #f4f4f5;
  --text-2: #b4b4be;
  --text-3: #71717a;
  --line: rgba(255, 255, 255, 0.06);
  --line-2: rgba(255, 144, 0, 0.18);
  --radius: 18px;
  --radius-sm: 12px;
  --nav-h: 56px;
  --sticky-ads-h: 0px;
  --display: "Space Grotesk", "PingFang SC", "Microsoft YaHei", sans-serif;
  --body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --ease: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + var(--sticky-ads-h) + 16px);
}

body {
  font-family: var(--body);
  background: var(--base);
  color: var(--text);
  line-height: 1.85;
  font-size: 15px;
  overflow-x: hidden;
}

body.ads-pinned { --sticky-ads-h: 86px; }

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--orange-soft);
  text-decoration: none;
  transition: color var(--ease);
}
a:hover { color: var(--orange); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 18px;
}

/* ── Header ── */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: var(--nav-h);
  background: rgba(9, 9, 11, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 12px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.logo-link img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.logo-link b { color: var(--orange); font-weight: 700; }

.nav-links { display: none; gap: 4px; }
.nav-links a {
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 14px;
}
.nav-links a:hover,
.nav-links a.on { color: var(--text); background: var(--orange-glow); }

.btn-dl {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-hot) 100%);
  color: #111;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  transition: transform var(--ease), box-shadow var(--ease);
}
.btn-dl:hover {
  color: #111;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px var(--orange-glow);
}

.btn-dl-header { display: none; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--text);
  font-size: 14px;
  transition: background var(--ease), border-color var(--ease);
}
.btn-ghost:hover {
  background: var(--orange-glow);
  border-color: var(--orange);
  color: var(--text);
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  z-index: 850;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  padding: 12px 18px 18px;
}
.drawer.show { display: block; }
.drawer a {
  display: block;
  padding: 12px 0;
  color: var(--text-2);
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.drawer a:last-child { border-bottom: none; }

/* ── Ads ── */
.ads-slot { padding: 12px 0 4px; }

.ads-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px 12px;
  background: transparent;
}

.ads-wrap > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70px;
}

.ads-wrap img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: transform var(--ease);
  border: 1px solid var(--line);
}

.ads-wrap a:hover img { transform: translateY(-3px) scale(1.04); }

.ads-wrap .caption {
  margin-top: 4px;
  font-size: 10px;
  color: var(--text-3);
  text-align: center;
  max-width: 68px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sticky-ads {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  z-index: 800;
  background: rgba(9, 9, 11, 0.96);
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--ease), opacity var(--ease);
}

.sticky-ads.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ── Hero ── */
main { padding-top: var(--nav-h); }

.hero {
  position: relative;
  padding: 48px 0 56px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
}

.hero-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--panel-2);
  border: 1px solid var(--line-2);
  color: var(--orange-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange);
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 5.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-soft) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: var(--text-2);
  font-size: 15px;
  max-width: 540px;
  margin-bottom: 22px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.hero-tags span {
  padding: 5px 12px;
  border-radius: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text-2);
  font-size: 12px;
}

.hero-visual {
  position: relative;
  max-width: 280px;
  margin: 0 auto;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 28px;
  background: linear-gradient(145deg, var(--orange-glow), transparent 60%);
  z-index: 0;
}
.hero-visual img {
  position: relative;
  z-index: 1;
  border-radius: 22px;
  border: 1px solid var(--line-2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

/* ── Ticker ── */
.ticker {
  border-block: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  padding: 14px 0;
}
.ticker-inner {
  display: flex;
  gap: 40px;
  animation: ticker 28s linear infinite;
  white-space: nowrap;
}
.ticker-inner span {
  color: var(--text-3);
  font-size: 13px;
  font-family: var(--display);
  letter-spacing: 0.06em;
}
.ticker-inner span strong { color: var(--orange); font-weight: 600; }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Sections ── */
.block {
  padding: 56px 0;
}
.block.alt { background: var(--panel); }

.kicker {
  display: block;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.block h2 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.3;
}

.lead {
  color: var(--text-2);
  max-width: 680px;
  margin-bottom: 32px;
}

/* Stats row */
.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}
.stat-box {
  padding: 20px 18px;
  border-radius: var(--radius-sm);
  background: var(--panel-2);
  border: 1px solid var(--line);
  text-align: center;
}
.stat-box strong {
  display: block;
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--orange);
  line-height: 1.2;
  margin-bottom: 4px;
}
.stat-box span { font-size: 12px; color: var(--text-3); }

/* Feature zigzag */
.zigzag { display: grid; gap: 40px; }

.zig-item {
  display: grid;
  gap: 24px;
  align-items: center;
}

.zig-shot img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  max-width: 260px;
  margin: 0 auto;
}

.zig-body h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text);
}
.zig-body p {
  color: var(--text-2);
  font-size: 14px;
  margin-bottom: 10px;
}
.zig-body p:last-child { margin-bottom: 0; }

/* Pill features */
.pill-grid {
  display: grid;
  gap: 12px;
}

.pill-card {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-sm);
  background: var(--panel-2);
  border: 1px solid var(--line);
  transition: border-color var(--ease);
}
.pill-card:hover { border-color: var(--line-2); }

.pill-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--orange-glow);
  font-size: 18px;
}

.pill-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.pill-card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.7;
}

/* Timeline */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--orange), var(--violet));
  border-radius: 2px;
}

.tl-step {
  position: relative;
  margin-bottom: 28px;
}
.tl-step::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px var(--orange-glow);
}
.tl-step h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}
.tl-step p {
  font-size: 14px;
  color: var(--text-2);
}

/* FAQ */
.faq-list { display: grid; gap: 10px; }

.faq-list details {
  border-radius: var(--radius-sm);
  background: var(--panel-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.faq-list summary {
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-list summary::after {
  content: "+";
  color: var(--orange);
  font-size: 18px;
  font-weight: 400;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list .faq-a {
  padding: 0 18px 16px;
  color: var(--text-2);
  font-size: 14px;
}

/* CTA band */
.cta-band {
  padding: 48px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--panel) 0%, var(--base) 100%);
  border-top: 1px solid var(--line);
}
.cta-band h2 {
  font-family: var(--display);
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.cta-band p {
  color: var(--text-2);
  margin-bottom: 22px;
  font-size: 14px;
}

/* Prose (subpages) */
.prose { padding: 28px 0 56px; }
.prose h1 {
  font-family: var(--display);
  font-size: 1.7rem;
  margin-bottom: 12px;
}
.prose h2 {
  font-family: var(--display);
  font-size: 1.2rem;
  margin: 28px 0 10px;
  color: var(--orange-soft);
}
.prose p, .prose li {
  color: var(--text-2);
  font-size: 14px;
  margin-bottom: 12px;
}
.prose ul { padding-left: 20px; margin-bottom: 16px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 16px 0 8px;
  font-size: 13px;
  color: var(--text-3);
}
.breadcrumb a { color: var(--text-2); }
.breadcrumb span { color: var(--text-3); }

/* Error pages */
.err-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 18px;
}
.err-code {
  font-family: var(--display);
  font-size: 5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--orange), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
}
.err-page h1 { font-size: 1.3rem; margin-bottom: 10px; }
.err-page p { color: var(--text-2); font-size: 14px; margin-bottom: 20px; max-width: 400px; }

/* Footer */
.site-foot {
  background: var(--panel);
  border-top: 1px solid var(--line);
  padding: 40px 0 28px;
}
.foot-grid {
  display: grid;
  gap: 28px;
  margin-bottom: 28px;
}
.foot-brand p {
  color: var(--text-3);
  font-size: 13px;
  margin-top: 10px;
  max-width: 280px;
}
.foot-col h4 {
  font-size: 13px;
  color: var(--text);
  margin-bottom: 12px;
  font-weight: 600;
}
.foot-col a {
  display: block;
  color: var(--text-3);
  font-size: 13px;
  padding: 4px 0;
}
.foot-col a:hover { color: var(--orange-soft); }
.foot-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
}

/* Prose & gallery blocks */
.prose-block p {
  color: var(--text-2);
  font-size: 14px;
  margin-bottom: 14px;
}
.prose-block p:last-child { margin-bottom: 0; }

.prose-block h3 {
  font-family: var(--display);
  font-size: 1.05rem;
  margin: 22px 0 10px;
  color: var(--text);
}

.split-media {
  display: grid;
  gap: 24px;
  align-items: start;
  margin: 28px 0;
}

.split-media img {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  max-width: 240px;
  margin: 0 auto;
}

.split-media .split-text p {
  color: var(--text-2);
  font-size: 14px;
  margin-bottom: 12px;
}

.screen-gallery {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 8px 0 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.screen-gallery::-webkit-scrollbar { height: 4px; }
.screen-gallery::-webkit-scrollbar-thumb {
  background: var(--line-2);
  border-radius: 4px;
}

.gallery-card {
  flex: 0 0 160px;
  scroll-snap-align: start;
}

.gallery-card img {
  border-radius: 14px;
  border: 1px solid var(--line);
  margin-bottom: 8px;
}

.gallery-card figcaption {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.5;
}

.article-grid {
  display: grid;
  gap: 20px;
}

.article-card {
  padding: 22px;
  border-radius: var(--radius-sm);
  background: var(--panel-2);
  border: 1px solid var(--line);
}

.article-card h3 {
  font-family: var(--display);
  font-size: 1rem;
  margin-bottom: 10px;
}

.article-card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.75;
}

/* ── Responsive ── */
@media (min-width: 640px) {
  .stat-row { grid-template-columns: repeat(4, 1fr); }
  .pill-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 768px) {
  .btn-dl-header { display: inline-flex; }
  .hamburger { display: none; }
  .nav-links { display: flex; }
  .drawer { display: none !important; }

  .split-media {
    grid-template-columns: 3fr 7fr;
    gap: 32px;
  }
  .split-media.flip { grid-template-columns: 7fr 3fr; }
  .split-media.flip img { order: 2; }
  .split-media img { margin: 0; max-width: 220px; }

  .article-grid { grid-template-columns: repeat(2, 1fr); }

  .hero-grid {
    grid-template-columns: 7fr 3fr;
  }
  .hero-visual { margin: 0 0 0 auto; }

  .zig-item {
    grid-template-columns: 3fr 7fr;
    gap: 40px;
  }
  .zig-item.flip .zig-shot { order: 2; }
  .zig-item.flip .zig-body { order: 1; }
  .zig-shot img { margin: 0; }
}

@media (min-width: 900px) {
  .block { padding: 72px 0; }
  .hero { padding: 64px 0 72px; }
}
