/* 91PORN 官方网站样式 - 91pors.cyou */
: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; }
}

/* ===== 首页专属排版 v2 ===== */
.page-home { background: #060606; }
.home-main { overflow-x: hidden; }

.home-label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
}

.home-section { padding: 72px 0; }
.home-section-head { margin-bottom: 48px; max-width: 640px; }
.home-section-head-center { margin-left: auto; margin-right: auto; text-align: center; max-width: 720px; }
.home-section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.25; margin-bottom: 12px; }
.home-section-head p { color: var(--text-secondary); line-height: 1.75; }

/* Hero */
.home-hero {
  position: relative;
  padding: 48px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.home-hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 75% 40%, rgba(255,102,0,0.14) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(255,102,0,0.06) 0%, transparent 55%);
  pointer-events: none;
}

.home-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.home-badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.home-badge {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: rgba(20,20,20,0.8);
}
.home-badge-live {
  border-color: rgba(255,102,0,0.45);
  color: var(--primary);
  background: rgba(255,102,0,0.08);
}

.home-hero-text h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.home-hero-text h1 em {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 0.55em;
  font-weight: 700;
  color: var(--text-secondary);
}

.home-lead { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.75; margin-bottom: 28px; max-width: 520px; }

.home-hero-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }

.home-link-arrow {
  color: var(--text-secondary) !important;
  font-size: 0.92rem;
  text-decoration: none !important;
  transition: color 0.2s;
}
.home-link-arrow:hover { color: var(--primary) !important; }

.home-pills {
  list-style: none;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.home-pills li {
  flex: 1;
  min-width: 120px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.home-pills strong { display: block; font-size: 0.88rem; color: var(--text-primary); margin-bottom: 2px; }
.home-pills span { font-size: 0.78rem; color: var(--text-muted); }

.home-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 440px;
}

.home-phone-frame {
  position: relative;
  width: 260px;
  padding: 12px 10px 16px;
  background: #1a1a1a;
  border-radius: 36px;
  border: 3px solid #333;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,102,0,0.1);
  z-index: 2;
}
.home-phone-notch {
  width: 80px;
  height: 22px;
  background: #0a0a0a;
  border-radius: 0 0 14px 14px;
  margin: 0 auto 8px;
}
.home-phone-frame img { width: 100%; border-radius: 24px; aspect-ratio: 9/16; object-fit: cover; }

.home-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 8px;
  background: rgba(20,20,20,0.95);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  z-index: 3;
}
.home-float-card img { width: 48px; border-radius: 8px; aspect-ratio: 9/16; object-fit: cover; }
.home-float-card span { font-size: 0.78rem; font-weight: 600; color: var(--text-secondary); white-space: nowrap; }
.home-float-a { top: 40px; left: 0; animation: home-float 4s ease-in-out infinite; }
.home-float-b { bottom: 30px; right: 0; animation: home-float 4s ease-in-out infinite 1.5s; }

@keyframes home-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Modules zigzag */
.home-modules { background: #0a0a0a; }

.home-module-list { display: flex; flex-direction: column; gap: 0; }

.home-module-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid #1a1a1a;
}
.home-module-row:last-child { border-bottom: none; }
.home-module-reverse { direction: rtl; }
.home-module-reverse > * { direction: ltr; }

.home-module-num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.home-module-copy h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 10px; }
.home-module-copy p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; max-width: 520px; }

.home-module-shot {
  flex-shrink: 0;
  width: 160px;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid #2a2a2a;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  transition: transform 0.3s, border-color 0.3s;
}
.home-module-row:hover .home-module-shot { transform: scale(1.03); border-color: rgba(255,102,0,0.35); }
.home-module-shot img { width: 100%; aspect-ratio: 9/16; object-fit: cover; }

/* Gallery masonry */
.home-gallery { background: #080808; border-top: 1px solid var(--border); }

.home-masonry {
  columns: 6;
  column-gap: 14px;
}
.home-masonry-item {
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform 0.25s, border-color 0.25s;
}
.home-masonry-item:hover { transform: translateY(-4px); border-color: rgba(255,102,0,0.35); }
.home-masonry-item img { width: 100%; aspect-ratio: 9/16; object-fit: cover; }
.home-masonry-item figcaption {
  padding: 8px 10px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

/* Download steps */
.home-download { background: #0a0a0a; border-top: 1px solid var(--border); }

.home-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.home-step-card {
  padding: 28px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.25s, transform 0.25s;
}
.home-step-card:hover { border-color: rgba(255,102,0,0.4); transform: translateY(-4px); }

.home-step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,102,0,0.12);
  border: 2px solid var(--primary);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}
.home-step-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.home-step-card p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.65; margin: 0; }

.home-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.home-tags li {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 6px 14px;
  border: 1px dashed #333;
  border-radius: 100px;
}

/* Guide */
.home-guide { background: #080808; border-top: 1px solid var(--border); }

.home-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.home-chips a {
  font-size: 0.82rem;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--bg-card);
  transition: all 0.2s;
}
.home-chips a:hover {
  color: var(--primary) !important;
  border-color: rgba(255,102,0,0.45);
  background: rgba(255,102,0,0.06);
}

.home-article-block {
  padding: 32px 0;
  border-bottom: 1px solid #1a1a1a;
}
.home-article-block:last-child { border-bottom: none; }

.home-article-block h3 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.home-article-block h3 span {
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.7;
}
.home-article-block p {
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.85;
  text-align: justify;
}

.home-callout {
  margin-top: 20px;
  padding: 18px 22px;
  background: rgba(255,102,0,0.06);
  border-left: 3px solid var(--primary);
  border-radius: 0 10px 10px 0;
}
.home-callout p { margin: 0; font-size: 0.92rem; }

/* FAQ accordion */
.home-faq { background: #0a0a0a; border-top: 1px solid var(--border); }

.home-faq-list { max-width: 800px; margin: 0 auto; }

.home-faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.2s;
}
.home-faq-item[open] { border-color: rgba(255,102,0,0.35); }

.home-faq-item summary {
  padding: 18px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.home-faq-item summary::-webkit-details-marker { display: none; }
.home-faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 400;
  transition: transform 0.2s;
}
.home-faq-item[open] summary::after { content: '−'; }

.home-faq-item p {
  padding: 0 22px 18px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

/* CTA */
.home-cta {
  padding: 48px 0;
  background: linear-gradient(135deg, rgba(255,102,0,0.15) 0%, rgba(255,102,0,0.03) 60%, transparent 100%);
  border-top: 1px solid rgba(255,102,0,0.15);
}

.home-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.home-cta-text h2 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 800; }

@media (max-width: 1024px) {
  .home-masonry { columns: 4; }
  .home-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .home-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .home-hero-visual { min-height: 360px; }
}

@media (max-width: 768px) {
  .home-section { padding: 48px 0; }
  .home-module-row,
  .home-module-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    text-align: left;
    gap: 20px;
  }
  .home-module-shot { width: 130px; margin: 0 auto; }
  .home-masonry { columns: 2; }
  .home-steps-grid { grid-template-columns: 1fr; }
  .home-pills { flex-direction: column; }
  .home-pills li { min-width: 0; }
  .home-float-a { left: -10px; }
  .home-float-b { right: -10px; }
  .home-phone-frame { width: 220px; }
  .home-cta-inner { flex-direction: column; text-align: center; }
  .home-cta-inner .btn-download { width: 100%; justify-content: center; }
}
