/* 91PORN 官方网站样式 - 91-porn.click */
: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; }
}

/* ── Homepage ── */
.page-home { background: #060606; }
.hp-main { overflow-x: hidden; }

.hp-hero {
  position: relative;
  padding: 48px 0 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(255,102,0,0.09) 0%, transparent 60%),
    #060606;
}

.hp-hero-shell { position: relative; }

.hp-hero-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 40px;
}

.hp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.hp-live {
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
  animation: hp-blink 2.4s ease infinite;
}

@keyframes hp-blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,102,0,0.5); }
  50% { opacity: 0.5; box-shadow: 0 0 0 4px rgba(255,102,0,0); }
}

.hp-hero-copy h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.hp-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 20px;
}

.hp-lead {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 28px;
}

.hp-hero-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hp-ghost-link {
  color: var(--text-secondary) !important;
  font-size: 0.9rem;
  text-decoration: none !important;
  padding: 10px 0;
  border-bottom: 1px solid #333;
  transition: color 0.2s, border-color 0.2s;
}
.hp-ghost-link:hover { color: var(--primary) !important; border-color: var(--primary); }

.hp-device-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}

.hp-device-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255,102,0,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hp-device-frame {
  position: relative;
  width: 240px;
  border-radius: 32px;
  overflow: hidden;
  border: 3px solid #222;
  box-shadow:
    0 0 0 1px rgba(255,102,0,0.15),
    0 32px 80px rgba(0,0,0,0.7);
  z-index: 1;
}
.hp-device-frame img { width: 100%; aspect-ratio: 9/16; object-fit: cover; }

.hp-device-tags {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hp-device-tags li {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid #2a2a2a;
  padding: 6px 12px;
  border-radius: 4px;
  background: rgba(10,10,10,0.8);
  writing-mode: vertical-rl;
}

.hp-hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.hp-hero-metrics li {
  padding: 20px 24px;
  border-right: 1px solid var(--border);
}
.hp-hero-metrics li:last-child { border-right: none; }
.hp-hero-metrics span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.hp-hero-metrics strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hp-jumpnav {
  display: flex;
  gap: 4px;
  padding: 16px 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-bottom: 1px solid var(--border);
  background: rgba(6,6,6,0.95);
  position: sticky;
  top: var(--header-offset, 72px);
  z-index: 50;
}
.hp-jumpnav::-webkit-scrollbar { display: none; }
.hp-jumpnav a {
  flex-shrink: 0;
  padding: 8px 18px;
  font-size: 0.85rem;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  border: 1px solid transparent;
  border-radius: 6px;
  transition: all 0.2s;
}
.hp-jumpnav a:hover {
  color: var(--text-primary) !important;
  border-color: var(--border);
  background: #111;
}

.hp-block-head { margin-bottom: 40px; max-width: 640px; }
.hp-block-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.hp-block-head h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.hp-block-head p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

.hp-rail {
  padding: 72px 0;
  background: #0a0a0a;
}

.hp-rail-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.hp-rail-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.25s;
}
.hp-rail-item:hover { background: rgba(255,102,0,0.02); }

.hp-rail-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: rgba(255,102,0,0.25);
  line-height: 1;
  letter-spacing: -0.04em;
  user-select: none;
}

.hp-rail-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.hp-rail-body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 560px;
}

.hp-rail-thumb {
  width: 88px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #2a2a2a;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
}
.hp-rail-item:hover .hp-rail-thumb { opacity: 1; transform: scale(1.04); }
.hp-rail-thumb img { width: 100%; aspect-ratio: 9/16; object-fit: cover; }

.hp-gallery {
  padding: 72px 0;
  background: #060606;
  border-top: 1px solid var(--border);
}

.hp-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 10px;
}

.hp-mosaic-cell {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #111;
  margin: 0;
}
.hp-mosaic-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.hp-mosaic-cell:hover img { transform: scale(1.06); }

.hp-mosaic-cell figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 12px 10px;
  font-size: 0.78rem;
  color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  text-align: center;
}

.hp-mosaic-tall { grid-row: span 2; }
.hp-mosaic-wide { grid-column: span 2; }

.hp-download {
  padding: 72px 0;
  background: #0a0a0a;
  border-top: 1px solid var(--border);
}

.hp-step-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}

.hp-step-card {
  background: #0e0e0e;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 20px;
  transition: border-color 0.2s, transform 0.2s;
}
.hp-step-card:hover {
  border-color: rgba(255,102,0,0.4);
  transform: translateY(-3px);
}

.hp-step-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--primary);
  border: 1px solid rgba(255,102,0,0.3);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.hp-step-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.hp-step-card p {
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.65;
}

.hp-keyword-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hp-keyword-list li {
  font-size: 0.78rem;
  color: var(--text-muted);
  border: 1px dashed #2a2a2a;
  padding: 5px 12px;
  border-radius: 4px;
}

.hp-guide {
  padding: 72px 0;
  background: #060606;
  border-top: 1px solid var(--border);
}

.hp-chapters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.hp-chapters a {
  font-size: 0.82rem;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all 0.2s;
}
.hp-chapters a:hover {
  color: var(--primary) !important;
  border-color: rgba(255,102,0,0.4);
  background: rgba(255,102,0,0.05);
}

.hp-article { max-width: 760px; }

.hp-chapter {
  padding: 36px 0;
  border-bottom: 1px solid #161616;
}
.hp-chapter:last-child { border-bottom: none; }

.hp-chapter-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  opacity: 0.7;
  margin-bottom: 10px;
}

.hp-article h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.hp-article p {
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.85;
}

.hp-callout {
  margin-top: 20px;
  padding: 18px 22px;
  background: rgba(255,102,0,0.06);
  border-left: 3px solid var(--primary);
  border-radius: 0 8px 8px 0;
}
.hp-callout p { margin: 0; font-size: 0.92rem; }

.hp-faq {
  padding: 72px 0;
  background: #0a0a0a;
  border-top: 1px solid var(--border);
}

.hp-faq-stack {
  max-width: 760px;
  border-top: 1px solid var(--border);
}

.hp-faq-item {
  border-bottom: 1px solid var(--border);
}
.hp-faq-item summary {
  padding: 20px 0;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.2s;
}
.hp-faq-item summary::-webkit-details-marker { display: none; }
.hp-faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color 0.2s;
}
.hp-faq-item[open] summary::after {
  content: '−';
  color: var(--primary);
}
.hp-faq-item summary:hover { color: var(--primary); }
.hp-faq-item p {
  padding: 0 0 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.hp-cta {
  padding: 0;
  border-top: 1px solid rgba(255,102,0,0.2);
  background: #060606;
}

.hp-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 20px;
  border-left: 4px solid var(--primary);
  background: linear-gradient(90deg, rgba(255,102,0,0.07) 0%, transparent 60%);
  flex-wrap: wrap;
}

.hp-cta-tag {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px;
}
.hp-cta-title {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  color: var(--text-primary);
}
.hp-cta-btn { flex-shrink: 0; }

@media (max-width: 1024px) {
  .hp-hero-top { grid-template-columns: 1fr; gap: 32px; }
  .hp-device-stage { min-height: 340px; }
  .hp-device-tags { display: none; }
  .hp-hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .hp-hero-metrics li:nth-child(2) { border-right: none; }
  .hp-hero-metrics li:nth-child(1),
  .hp-hero-metrics li:nth-child(2) { border-bottom: 1px solid var(--border); }
  .hp-step-cards { grid-template-columns: repeat(2, 1fr); }
  .hp-mosaic { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
  .hp-mosaic-wide { grid-column: span 2; }
}

@media (max-width: 768px) {
  .hp-hero { padding-top: 32px; }
  .hp-device-frame { width: 200px; }
  .hp-device-stage { min-height: 280px; }
  .hp-rail-item {
    grid-template-columns: 48px 1fr;
    gap: 16px;
  }
  .hp-rail-thumb { display: none; }
  .hp-rail-num { font-size: 1.8rem; }
  .hp-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .hp-mosaic-tall { grid-row: span 1; }
  .hp-mosaic-wide { grid-column: span 2; }
  .hp-step-cards { grid-template-columns: 1fr; }
  .hp-cta-inner { flex-direction: column; text-align: center; }
  .hp-cta-btn { width: 100%; justify-content: center; }
}
