﻿/* 91PORN 官方网站样式 - 91po.quest */
:root {
  --primary: #ff6600;
  --primary-dark: #e55a00;
  --bg-dark: #0a0a0a;
  --bg-card: #141414;
  --bg-card-hover: #1e1e1e;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #707070;
  --border: #2a2a2a;
  --gradient: linear-gradient(135deg, #ff6600 0%, #ff9933 100%);
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --radius: 12px;
  --max-width: 1200px;
}

*, *::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-dark);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo-link { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-link:hover { text-decoration: none; }
.logo-img { width: 48px; height: 48px; border-radius: 10px; }
.logo-text { font-size: 1.4rem; font-weight: 700; color: var(--text-primary); }
.logo-text span { color: var(--primary); }

.nav-main { display: flex; gap: 8px; align-items: center; }
.nav-main a {
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
}
.nav-main a:hover, .nav-main a.active {
  color: var(--text-primary);
  background: var(--bg-card);
  text-decoration: none;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(255,102,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,102,0,0.4);
  color: #fff !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

.page-header {
  padding: 48px 0 32px;
  background: linear-gradient(180deg, #111 0%, var(--bg-dark) 100%);
  border-bottom: 1px solid var(--border);
}

.page-header h1 { font-size: 2rem; margin-bottom: 8px; }
.page-header .breadcrumb { color: var(--text-muted); font-size: 0.9rem; }
.page-header .breadcrumb a { color: var(--text-secondary); }

.page-body { padding: 48px 0 80px; }

.legal-content h2 { font-size: 1.3rem; margin: 32px 0 12px; color: var(--text-primary); }
.legal-content h3 { font-size: 1.1rem; margin: 24px 0 10px; color: var(--primary); }
.legal-content p, .legal-content li { color: var(--text-secondary); margin-bottom: 12px; }
.legal-content ul, .legal-content ol { margin-left: 24px; margin-bottom: 16px; }

.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.error-code {
  font-size: 8rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  opacity: 0.8;
}

.error-page h1 { font-size: 1.8rem; margin: 16px 0; }
.error-page p { color: var(--text-secondary); margin-bottom: 32px; max-width: 480px; }

.site-footer {
  background: #080808;
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-top: 12px; line-height: 1.6; }

.footer-col h4 { font-size: 0.95rem; margin-bottom: 16px; color: var(--text-primary); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-muted); font-size: 0.9rem; text-decoration: none; }
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); font-size: 0.85rem; text-decoration: none; }
.footer-links a:hover { color: var(--primary); }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-main {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10,10,10,0.98);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav-main.open { display: flex; }
  .nav-main a { width: 100%; text-align: center; padding: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .error-code { font-size: 5rem; }
}

/* ===== 首页专属排版 (idx) ===== */
.page-home { background: #070708; }
.idx-main { overflow-x: hidden; }

.idx-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.idx-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.idx-sec-head h2 {
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 10px;
}
.idx-sec-head p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 520px;
}
.idx-sec-head--center {
  text-align: center;
  margin-bottom: 48px;
}
.idx-sec-head--center p { margin: 0 auto; }

.idx-section {
  padding: 72px 0;
}
#idx-modules {
  padding-left: 20px;
  padding-right: 20px;
}
.idx-section--dark {
  background: #0c0c0f;
  border-top: 1px solid #1a1a1e;
  border-bottom: 1px solid #1a1a1e;
}

/* Hero */
.idx-hero {
  position: relative;
  padding: 48px 0 0;
  overflow: hidden;
}
.idx-hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 500px at 85% 30%, rgba(255,102,0,0.18) 0%, transparent 70%),
    radial-gradient(circle 400px at 5% 70%, rgba(255,102,0,0.06) 0%, transparent 60%),
    linear-gradient(180deg, #0d0d10 0%, #070708 100%);
  pointer-events: none;
}
.idx-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: center;
  padding-bottom: 40px;
}

.idx-badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.idx-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 100px;
}
.idx-badge--live {
  color: var(--primary);
  border-color: rgba(255,102,0,0.35);
  background: rgba(255,102,0,0.08);
}

.idx-hero-text h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.idx-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.idx-lead {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.85;
  max-width: 500px;
  margin-bottom: 28px;
}

.idx-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.idx-btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 50px;
  border: 1px solid var(--border);
  color: var(--text-secondary) !important;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: border-color 0.2s, color 0.2s;
}
.idx-btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
}

.idx-trust {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.idx-trust li {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
}
.idx-trust strong {
  display: block;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.idx-trust span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.idx-hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 20px 0;
}
.idx-phone-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255,102,0,0.25) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.idx-phone-frame {
  position: relative;
  z-index: 1;
  width: 240px;
  border-radius: 28px;
  overflow: hidden;
  border: 3px solid #2a2a32;
  box-shadow: 0 0 0 1px rgba(255,102,0,0.15), 0 32px 64px rgba(0,0,0,0.6);
  background: #111;
}
.idx-phone-frame img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
}

.idx-float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(18,18,22,0.95);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 12px 8px 8px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
}
.idx-float-card img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}
.idx-float-card--tl { top: 10px; left: -20px; }
.idx-float-card--br { bottom: 30px; right: -24px; }

.idx-kw-bar {
  border-top: 1px solid var(--border);
  background: rgba(12,12,14,0.8);
  padding: 14px 0;
}
.idx-kw {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.idx-kw li {
  font-size: 0.72rem;
  color: var(--text-muted);
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(255,255,255,0.03);
}

.idx-jump {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7,7,8,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.idx-jump-inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 10px 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.idx-jump-inner::-webkit-scrollbar { display: none; }
.idx-jump a {
  flex-shrink: 0;
  font-size: 0.82rem;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
}
.idx-jump a:hover {
  color: var(--primary) !important;
  border-color: rgba(255,102,0,0.3);
  background: rgba(255,102,0,0.06);
}

.idx-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1140px;
  margin: 0 auto 20px;
  background: #0a0a0c;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.idx-split--reverse .idx-split-img { order: 2; }
.idx-split--reverse .idx-split-body { order: 1; }

.idx-split-img {
  background: #080809;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  min-height: 320px;
}
.idx-split-img img {
  max-width: 220px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  aspect-ratio: 9/16;
  object-fit: cover;
}

.idx-split-body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.idx-mod-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(255,102,0,0.15);
  line-height: 1;
  margin-bottom: 8px;
}
.idx-split-body h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.idx-split-body > p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.idx-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.idx-checklist li {
  font-size: 0.84rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}
.idx-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.75rem;
}

.idx-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.idx-mosaic-item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #101012;
  transition: border-color 0.2s, transform 0.2s;
}
.idx-mosaic-item:hover {
  border-color: rgba(255,102,0,0.4);
  transform: translateY(-2px);
}
.idx-mosaic-item img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
}
.idx-mosaic-item--tall { grid-row: span 2; }
.idx-mosaic-item--tall img { aspect-ratio: auto; height: 100%; min-height: 400px; }
.idx-mosaic-item--wide { grid-column: span 2; }
.idx-mosaic-item--wide img { aspect-ratio: 16/9; }
.idx-mosaic-item figcaption {
  padding: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  background: #0a0a0c;
}

.idx-dl-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(255,102,0,0.1) 0%, rgba(255,102,0,0.02) 100%);
  border: 1px solid rgba(255,102,0,0.25);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 32px;
}
.idx-dl-icon {
  border-radius: 18px;
  flex-shrink: 0;
}
.idx-dl-domain {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.04em;
}
.idx-dl-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.idx-dl-btn { margin-left: auto; }

.idx-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.idx-steps li {
  background: #101012;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 20px;
  transition: border-color 0.2s;
}
.idx-steps li:hover { border-color: rgba(255,102,0,0.35); }
.idx-step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,102,0,0.12);
  border: 1px solid rgba(255,102,0,0.3);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
}
.idx-steps h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.idx-steps p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.idx-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}
.idx-chips a {
  font-size: 0.78rem;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  transition: all 0.2s;
}
.idx-chips a:hover {
  color: var(--primary) !important;
  border-color: rgba(255,102,0,0.35);
  background: rgba(255,102,0,0.06);
}

.idx-article {
  max-width: 780px;
  margin: 0 auto;
}
.idx-article-block {
  padding: 32px 0;
  border-bottom: 1px solid #1c1c22;
}
.idx-article-block:last-child { border-bottom: none; }
.idx-article-block h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 3px solid var(--primary);
}
.idx-article-block p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.85;
  margin-bottom: 14px;
  text-align: justify;
}

.idx-note {
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(255,102,0,0.05);
  border-radius: 10px;
  border: 1px solid rgba(255,102,0,0.15);
}
.idx-note p { margin: 0; font-size: 0.88rem; }

.idx-faq-wrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}
.idx-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.idx-faq-item {
  background: #101012;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.idx-faq-item[open] { border-color: rgba(255,102,0,0.35); }
.idx-faq-item summary {
  padding: 18px 20px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.idx-faq-item summary::-webkit-details-marker { display: none; }
.idx-faq-item summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 400;
  flex-shrink: 0;
  margin-left: 12px;
}
.idx-faq-item[open] summary::after { content: "−"; }
.idx-faq-item p {
  padding: 0 20px 18px;
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.idx-cta {
  padding: 56px 20px;
  background: linear-gradient(135deg, rgba(255,102,0,0.12) 0%, #070708 60%);
  border-top: 1px solid var(--border);
}
.idx-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.idx-cta-domain {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}
.idx-cta-text h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 800;
  margin-bottom: 6px;
}
.idx-cta-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
}
.idx-cta-btn { flex-shrink: 0; }

@media (max-width: 1024px) {
  .idx-hero-grid { grid-template-columns: 1fr; }
  .idx-hero-phone { order: -1; }
  .idx-float-card--tl { left: 0; }
  .idx-float-card--br { right: 0; }
  .idx-trust { grid-template-columns: repeat(2, 1fr); }
  .idx-split { grid-template-columns: 1fr; }
  .idx-split--reverse .idx-split-img { order: 0; }
  .idx-split--reverse .idx-split-body { order: 0; }
  .idx-mosaic { grid-template-columns: repeat(3, 1fr); }
  .idx-mosaic-item--wide { grid-column: span 1; }
  .idx-mosaic-item--tall { grid-row: span 1; }
  .idx-mosaic-item--tall img { min-height: auto; aspect-ratio: 9/16; }
  .idx-steps { grid-template-columns: repeat(2, 1fr); }
  .idx-dl-btn { margin-left: 0; }
  .idx-faq-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .idx-hero { padding-top: 32px; }
  .idx-phone-frame { width: 200px; }
  .idx-float-card { display: none; }
  .idx-split-body { padding: 28px 20px; }
  .idx-split-img { min-height: 240px; padding: 16px; }
  .idx-split-img img { max-width: 160px; }
  .idx-mosaic { grid-template-columns: repeat(2, 1fr); }
  .idx-steps { grid-template-columns: 1fr; }
  .idx-dl-banner { flex-direction: column; text-align: center; }
  .idx-cta-inner { flex-direction: column; text-align: center; }
  .idx-section { padding: 52px 0; }
}
