/* 91PORN官网 - 91-porny.monster */
:root {
  --primary: #ff5500;
  --primary-light: #ff8833;
  --primary-dark: #e04d00;
  --bg: #07070a;
  --bg-elevated: #101014;
  --bg-card: #16161c;
  --text: #f2f2f5;
  --text-secondary: #a8a8b3;
  --text-muted: #6b6b78;
  --border: #252530;
  --gradient: linear-gradient(135deg, #ff5500 0%, #ff9944 100%);
  --shadow: 0 8px 32px rgba(0,0,0,0.45);
  --radius: 14px;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  min-height: 100vh;
}
a { color: var(--primary-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7,7,10,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}
.logo-link { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-link:hover { text-decoration: none; }
.logo-img { width: 46px; height: 46px; border-radius: 11px; }
.logo-text { font-size: 1.35rem; font-weight: 800; color: var(--text); }
.logo-text span { color: var(--primary); }
.nav-main { display: flex; gap: 6px; }
.nav-main a {
  color: var(--text-secondary);
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 0.93rem;
  text-decoration: none;
  transition: all 0.2s;
}
.nav-main a:hover, .nav-main a.active {
  color: var(--text);
  background: var(--bg-card);
  text-decoration: none;
}
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient);
  color: #fff !important;
  padding: 11px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  box-shadow: 0 4px 18px rgba(255,85,0,0.32);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,85,0,0.42);
  color: #fff !important;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* Sub pages */
.page-header {
  padding: 46px 0 30px;
  background: linear-gradient(180deg, #0e0e12 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.page-header h1 { font-size: 2rem; margin-bottom: 6px; }
.page-header .breadcrumb { color: var(--text-muted); font-size: 0.88rem; }
.page-header .breadcrumb a { color: var(--text-secondary); }
.page-body { padding: 44px 0 76px; }
.legal-content h2 { font-size: 1.28rem; margin: 30px 0 12px; }
.legal-content h3 { font-size: 1.05rem; margin: 22px 0 8px; color: var(--primary-light); }
.legal-content p, .legal-content li { color: var(--text-secondary); margin-bottom: 11px; }
.legal-content ul, .legal-content ol { margin-left: 22px; margin-bottom: 14px; }

/* Error pages */
.error-page {
  min-height: 68vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}
.error-code {
  font-size: 7.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  opacity: 0.85;
}
.error-page h1 { font-size: 1.75rem; margin: 14px 0; }
.error-page p { color: var(--text-secondary); margin-bottom: 28px; max-width: 460px; }

/* Footer */
.site-footer {
  background: #050508;
  border-top: 1px solid var(--border);
  padding: 44px 0 22px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; margin-top: 10px; line-height: 1.65; }
.footer-col h4 { font-size: 0.92rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: var(--text-muted); font-size: 0.88rem; text-decoration: none; }
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.84rem; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); font-size: 0.84rem; text-decoration: none; }
.footer-links a:hover { color: var(--primary-light); }

/* ===== 首页 ===== */
.page-home { background: var(--bg); }
.mst-main { overflow-x: hidden; }

/* Hero */
.mst-hero {
  position: relative;
  padding: 58px 0 52px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.mst-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 75% 35%, rgba(255,85,0,0.14) 0%, transparent 68%),
    radial-gradient(ellipse 45% 38% at 8% 75%, rgba(255,136,51,0.06) 0%, transparent 62%);
  pointer-events: none;
}
.mst-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}
.mst-badge {
  display: inline-block;
  font-size: 0.76rem;
  color: var(--primary-light);
  background: rgba(255,85,0,0.1);
  border: 1px solid rgba(255,85,0,0.28);
  padding: 5px 13px;
  border-radius: 50px;
  margin-bottom: 18px;
}
.mst-hero h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 900;
  line-height: 1.22;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.mst-lead {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.82;
  margin-bottom: 24px;
  max-width: 540px;
}
.mst-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.mst-btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid var(--border);
  color: var(--text-secondary) !important;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: border-color 0.2s, color 0.2s;
}
.mst-btn-outline:hover { border-color: var(--primary); color: var(--primary-light) !important; }
.mst-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; }
.mst-chips li {
  font-size: 0.73rem;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid #222228;
  padding: 4px 11px;
  border-radius: 4px;
}
.mst-hero-visual { position: relative; display: flex; justify-content: center; }
.mst-phone {
  width: 255px;
  border-radius: 30px;
  overflow: hidden;
  border: 3px solid #2c2c36;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,85,0,0.07);
  background: #111;
}
.mst-phone img { width: 100%; aspect-ratio: 9/16; object-fit: cover; }
.mst-float {
  position: absolute;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #333;
  box-shadow: 0 10px 28px rgba(0,0,0,0.5);
}
.mst-float img { width: 100%; aspect-ratio: 9/16; object-fit: cover; }
.mst-float-a { left: 0; top: 48%; transform: translateY(-50%) rotate(-5deg); width: 86px; }
.mst-float-b { right: -6px; bottom: 18px; transform: rotate(7deg); width: 74px; opacity: 0.92; }

/* Stats */
.mst-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}
.mst-stat {
  padding: 26px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.mst-stat:last-child { border-right: none; }
.mst-stat strong { display: block; font-size: 1.05rem; color: var(--primary-light); margin-bottom: 5px; }
.mst-stat span { font-size: 0.8rem; color: var(--text-muted); }

/* Section */
.mst-section { padding: 68px 0; }
.mst-section-alt { background: var(--bg-elevated); }
.mst-head { margin-bottom: 36px; }
.mst-head h2 { font-size: 1.7rem; font-weight: 800; margin-bottom: 8px; }
.mst-head p { color: var(--text-secondary); font-size: 0.93rem; max-width: 620px; line-height: 1.7; }
.mst-head-center { text-align: center; }
.mst-head-center p { margin: 0 auto; }

/* Module cards */
.mst-modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.mst-mod {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.22s, border-color 0.22s;
}
.mst-mod:hover { transform: translateY(-3px); border-color: rgba(255,85,0,0.32); }
.mst-mod-wide { grid-column: span 2; display: grid; grid-template-columns: 1.15fr 1fr; }
.mst-mod-img { aspect-ratio: 16/10; overflow: hidden; background: #0a0a0e; }
.mst-mod-wide .mst-mod-img { aspect-ratio: 16/9; }
.mst-mod-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.mst-mod-body { padding: 18px; }
.mst-mod-tag { font-size: 0.7rem; font-weight: 700; color: var(--primary); letter-spacing: 0.08em; }
.mst-mod-body h3 { font-size: 0.98rem; font-weight: 700; margin: 5px 0 7px; }
.mst-mod-body p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.62; margin: 0; }

/* Gallery */
.mst-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 0 16px;
  max-width: 1080px;
  margin: 0 auto;
}
.mst-gal-item {
  flex: 0 0 155px;
  margin: 0;
  border-radius: 11px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform 0.18s;
}
.mst-gal-item:hover { transform: scale(1.03); }
.mst-gal-tall { flex-basis: 175px; }
.mst-gal-item img { width: 100%; aspect-ratio: 9/16; object-fit: cover; }
.mst-gal-item figcaption {
  padding: 7px;
  text-align: center;
  font-size: 0.76rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

/* Steps */
.mst-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
.mst-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 20px;
  transition: border-color 0.2s;
}
.mst-step:hover { border-color: rgba(255,85,0,0.28); }
.mst-step-num {
  width: 34px; height: 34px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9rem; color: #fff;
  margin-bottom: 14px;
}
.mst-step h3 { font-size: 0.96rem; font-weight: 700; margin-bottom: 7px; }
.mst-step p { font-size: 0.84rem; color: var(--text-secondary); line-height: 1.62; margin: 0; }
.mst-kw { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.mst-kw li {
  font-size: 0.76rem;
  color: var(--text-muted);
  border: 1px dashed #2a2a34;
  padding: 4px 13px;
  border-radius: 4px;
}

/* Guide */
.mst-guide { border-top: 1px solid var(--border); }
.mst-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.mst-toc a {
  font-size: 0.8rem;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  padding: 5px 13px;
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: all 0.2s;
}
.mst-toc a:hover {
  color: var(--primary-light) !important;
  border-color: rgba(255,85,0,0.38);
  background: rgba(255,85,0,0.05);
}
.mst-article-block {
  padding: 34px 0;
  border-bottom: 1px solid #1a1a22;
}
.mst-article-block:last-child { border-bottom: none; }
.mst-article-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}
.mst-article-num { font-size: 0.78rem; font-weight: 800; color: var(--primary); opacity: 0.65; flex-shrink: 0; }
.mst-article-head h3 { font-size: 1.22rem; font-weight: 800; margin: 0; line-height: 1.35; }
.mst-article-block p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.86;
  margin-bottom: 11px;
  text-align: justify;
}
.mst-article-split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: start;
}
.mst-article-split.rev { grid-template-columns: auto 1fr; }
.mst-fig {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 6px 20px rgba(0,0,0,0.38);
}
.mst-fig img { width: 135px; aspect-ratio: 9/16; object-fit: cover; }
.mst-callout {
  margin-top: 16px;
  padding: 15px 18px;
  background: rgba(255,85,0,0.06);
  border: 1px solid rgba(255,85,0,0.2);
  border-radius: 9px;
}
.mst-callout p { margin: 0; font-size: 0.88rem; }

/* FAQ */
.mst-faq-list { max-width: 740px; margin: 0 auto; display: flex; flex-direction: column; gap: 9px; }
.mst-faq {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 11px;
  overflow: hidden;
}
.mst-faq[open] { border-color: rgba(255,85,0,0.28); }
.mst-faq summary {
  padding: 17px 20px;
  font-size: 0.93rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mst-faq summary::-webkit-details-marker { display: none; }
.mst-faq summary::after { content: '+'; color: var(--primary); font-size: 1.15rem; margin-left: 10px; }
.mst-faq[open] summary::after { content: '−'; }
.mst-faq p { padding: 0 20px 16px; margin: 0; font-size: 0.87rem; color: var(--text-secondary); line-height: 1.68; }

/* CTA */
.mst-cta {
  padding: 52px 0;
  background: linear-gradient(135deg, rgba(255,85,0,0.12) 0%, transparent 65%);
  border-top: 1px solid rgba(255,85,0,0.1);
  text-align: center;
}
.mst-cta-label { font-size: 0.66rem; letter-spacing: 0.18em; color: var(--primary); font-weight: 700; margin-bottom: 8px; }
.mst-cta h2 { font-size: 1.2rem; font-weight: 800; margin-bottom: 18px; }

/* Responsive */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mst-stats { grid-template-columns: repeat(2, 1fr); }
  .mst-stat:nth-child(2) { border-right: none; }
  .mst-stat:nth-child(1), .mst-stat:nth-child(2) { border-bottom: 1px solid var(--border); }
  .mst-modules { grid-template-columns: repeat(2, 1fr); }
  .mst-mod-wide { grid-column: span 2; }
  .mst-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  html { font-size: 15px; overflow-x: hidden; }
  body { overflow-x: hidden; }
  .menu-toggle { display: block; }
  .header-inner { padding: 10px 16px; }
  .logo-img { width: 40px; height: 40px; }
  .logo-text { font-size: 1.05rem; }
  .nav-main {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(7,7,10,0.98);
    flex-direction: column;
    padding: 12px 16px 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav-main.open { display: flex; }
  .nav-main a { width: 100%; text-align: center; padding: 11px; }
  .container { padding: 0 16px; }
  .page-header { padding: 30px 0 22px; }
  .page-header h1 { font-size: 1.55rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .error-code { font-size: 5rem; }

  .mst-hero { padding: 34px 0 38px; }
  .mst-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .mst-hero h1 { font-size: 1.62rem; }
  .mst-lead { font-size: 0.9rem; max-width: 100%; }
  .mst-hero-visual { order: -1; }
  .mst-phone { width: 195px; border-radius: 24px; }
  .mst-float-a { width: 64px; left: 8%; }
  .mst-float-b { width: 54px; right: 8%; }
  .mst-section { padding: 46px 0; }
  .mst-head h2 { font-size: 1.32rem; }
  .mst-modules { grid-template-columns: 1fr; }
  .mst-mod-wide { grid-column: span 1; grid-template-columns: 1fr; }
  .mst-steps { grid-template-columns: 1fr; }
  .mst-gal-item { flex: 0 0 128px; }
  .mst-gal-tall { flex-basis: 142px; }
  .mst-toc { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .mst-toc::-webkit-scrollbar { display: none; }
  .mst-toc a { flex-shrink: 0; white-space: nowrap; }
  .mst-article-head { flex-direction: column; gap: 5px; }
  .mst-article-head h3 { font-size: 1.08rem; }
  .mst-article-block p { text-align: left; font-size: 0.89rem; }
  .mst-article-split, .mst-article-split.rev { grid-template-columns: 1fr; }
  .mst-fig { justify-self: center; }
  .mst-fig img { width: 115px; }
}
@media (max-width: 480px) {
  .mst-hero h1 { font-size: 1.42rem; }
  .mst-phone { width: 165px; }
  .mst-float { display: none; }
  .mst-stats { grid-template-columns: 1fr; }
  .mst-stat { border-right: none !important; border-bottom: 1px solid var(--border); }
  .mst-stat:last-child { border-bottom: none; }
  .mst-gal-item { flex: 0 0 108px; }
}
