/* 91PORN 官方网站样式 - 91-po.pics */
: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; }
}

/* ===== 首页专属排版（91-po.pics 独立设计） ===== */
.page-home { background: #060606; }
.pic-main { overflow-x: hidden; }

/* --- Hero --- */
.pic-hero {
  position: relative;
  padding: 48px 0 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.pic-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255,102,0,0.14) 0%, transparent 68%);
  pointer-events: none;
}

.pic-hero-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 56px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.pic-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--primary);
  border: 1px solid rgba(255,102,0,0.35);
  background: rgba(255,102,0,0.08);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.pic-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}

.pic-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.pic-hero h1 em {
  font-style: normal;
  color: var(--primary);
  display: block;
  font-size: 0.55em;
  font-weight: 700;
  margin-top: 10px;
  letter-spacing: 0.02em;
}

.pic-hero-lead {
  color: var(--text-secondary);
  font-size: 1.06rem;
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 32px;
}

.pic-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 50px;
  border: 1px solid #444;
  color: var(--text-secondary) !important;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none !important;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
}

.pic-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pic-trust-row span {
  font-size: 0.82rem;
  color: var(--text-muted);
  background: #111;
  border: 1px solid #222;
  padding: 7px 14px;
  border-radius: 6px;
}

.pic-phone-rack {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 14px;
  min-height: 380px;
  padding-top: 20px;
}

.pic-phone-rack figure {
  border-radius: 22px;
  overflow: hidden;
  border: 2px solid #2e2e2e;
  box-shadow: 0 20px 50px rgba(0,0,0,0.55);
  transition: transform 0.3s;
}

.pic-phone-rack figure:nth-child(1) { width: 108px; transform: translateY(28px) rotate(-6deg); }
.pic-phone-rack figure:nth-child(2) { width: 148px; z-index: 2; transform: translateY(0); }
.pic-phone-rack figure:nth-child(3) { width: 118px; transform: translateY(18px) rotate(5deg); }

.pic-phone-rack figure:hover { transform: translateY(-8px) rotate(0deg); z-index: 3; }
.pic-phone-rack img { width: 100%; aspect-ratio: 9/16; object-fit: cover; }

.pic-marquee {
  border-top: 1px solid var(--border);
  background: #0c0c0c;
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
}

.pic-marquee-track {
  display: inline-flex;
  gap: 48px;
  animation: pic-scroll 28s linear infinite;
}

.pic-marquee-track span {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.pic-marquee-track span strong { color: var(--primary); font-weight: 600; }

@keyframes pic-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Tab 模块 --- */
.pic-tabs-section {
  padding: 72px 0;
  background: #090909;
}

.pic-section-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
}

.pic-section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.pic-section-sub {
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.pic-tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.pic-tab-list [role="tab"] {
  background: transparent;
  border: 1px solid #2a2a2a;
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.pic-tab-list [role="tab"]:hover { border-color: #444; color: var(--text-secondary); }
.pic-tab-list [role="tab"].is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.pic-tab-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  animation: pic-fade 0.35s ease;
}

.pic-tab-panel.is-active { display: grid; }

@keyframes pic-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.pic-tab-shot {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #333;
  max-width: 280px;
  margin: 0 auto;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

.pic-tab-shot img { width: 100%; aspect-ratio: 9/16; object-fit: cover; }

.pic-tab-body h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.pic-tab-body p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.pic-tab-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  list-style: none;
}

.pic-tab-tags li {
  font-size: 0.78rem;
  color: var(--text-muted);
  border-left: 2px solid var(--primary);
  padding-left: 10px;
}

/* --- 马赛克截图 --- */
.pic-mosaic-section {
  padding: 72px 0;
  background: #060606;
  border-top: 1px solid var(--border);
}

.pic-mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 120px;
  gap: 10px;
}

.pic-mosaic-item {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #252525;
  position: relative;
  background: #111;
}

.pic-mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.pic-mosaic-item:hover img { transform: scale(1.06); }

.pic-mosaic-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 10px;
  font-size: 0.72rem;
  color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
}

.pic-mosaic-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.pic-mosaic-item:nth-child(2) { grid-column: span 1; grid-row: span 2; }
.pic-mosaic-item:nth-child(3) { grid-column: span 1; grid-row: span 1; }
.pic-mosaic-item:nth-child(4) { grid-column: span 2; grid-row: span 1; }
.pic-mosaic-item:nth-child(5) { grid-column: span 1; grid-row: span 2; }
.pic-mosaic-item:nth-child(6) { grid-column: span 2; grid-row: span 1; }
.pic-mosaic-item:nth-child(7) { grid-column: span 1; grid-row: span 1; }
.pic-mosaic-item:nth-child(8) { grid-column: span 1; grid-row: span 1; }
.pic-mosaic-item:nth-child(9) { grid-column: span 2; grid-row: span 2; }
.pic-mosaic-item:nth-child(10) { grid-column: span 1; grid-row: span 1; }
.pic-mosaic-item:nth-child(11) { grid-column: span 1; grid-row: span 1; }
.pic-mosaic-item:nth-child(12) { grid-column: span 2; grid-row: span 1; }

/* --- 安装卡片 --- */
.pic-install-section {
  padding: 72px 0;
  background: linear-gradient(180deg, #0b0b0b 0%, #080808 100%);
  border-top: 1px solid var(--border);
}

.pic-install-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.pic-install-card {
  background: #111;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  transition: border-color 0.2s;
}

.pic-install-card:hover { border-color: rgba(255,102,0,0.4); }

.pic-install-num {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--primary);
  background: rgba(255,102,0,0.1);
  border-radius: 12px;
}

.pic-install-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.pic-install-card p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.65; margin: 0; }

.pic-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
  list-style: none;
}

.pic-keywords li {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 6px 14px;
  background: #0e0e0e;
  border-radius: 100px;
  border: 1px solid #222;
}

/* --- 手风琴长文 --- */
.pic-guide-section {
  padding: 72px 0;
  background: #060606;
  border-top: 1px solid var(--border);
}

.pic-accordion { display: flex; flex-direction: column; gap: 8px; }

.pic-acc-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #0d0d0d;
  overflow: hidden;
}

.pic-acc-item summary {
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background 0.2s;
  user-select: none;
}

.pic-acc-item summary::-webkit-details-marker { display: none; }

.pic-acc-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.25s;
}

.pic-acc-item[open] summary { background: rgba(255,102,0,0.06); }
.pic-acc-item[open] summary::after { transform: rotate(45deg); }

.pic-acc-body {
  padding: 0 24px 24px;
  border-top: 1px solid #1a1a1a;
}

.pic-acc-body p {
  color: var(--text-secondary);
  line-height: 1.85;
  margin-top: 16px;
  text-align: justify;
}

.pic-acc-body p:first-child { margin-top: 20px; }

.pic-notice {
  margin-top: 16px;
  padding: 16px 20px;
  background: rgba(255,102,0,0.07);
  border-left: 3px solid var(--primary);
  border-radius: 0 8px 8px 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* --- FAQ --- */
.pic-faq-section {
  padding: 72px 0;
  background: #090909;
  border-top: 1px solid var(--border);
}

.pic-faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.pic-faq-item {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  background: #0c0c0c;
}

.pic-faq-item:nth-child(odd) { border-right: 1px solid var(--border); }
.pic-faq-item:nth-last-child(-n+2) { border-bottom: none; }

.pic-faq-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.pic-faq-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* --- CTA --- */
.pic-cta {
  padding: 56px 0;
  text-align: center;
  background:
    radial-gradient(ellipse at center, rgba(255,102,0,0.12) 0%, transparent 70%),
    #060606;
  border-top: 1px solid rgba(255,102,0,0.2);
}

.pic-cta h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.pic-cta p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1024px) {
  .pic-hero-grid { grid-template-columns: 1fr; }
  .pic-phone-rack { min-height: 300px; }
  .pic-tab-panel { grid-template-columns: 1fr; }
  .pic-tab-shot { max-width: 220px; }
  .pic-mosaic { grid-template-columns: repeat(4, 1fr); }
  .pic-mosaic-item:nth-child(n) { grid-column: span 2; grid-row: span 1; }
  .pic-mosaic-item:nth-child(1),
  .pic-mosaic-item:nth-child(9) { grid-row: span 2; }
  .pic-faq-list { grid-template-columns: 1fr; }
  .pic-faq-item:nth-child(odd) { border-right: none; }
  .pic-faq-item:nth-last-child(2) { border-bottom: 1px solid var(--border); }
}

@media (max-width: 768px) {
  .pic-hero { padding-top: 28px; }
  .pic-phone-rack figure:nth-child(1) { width: 88px; }
  .pic-phone-rack figure:nth-child(2) { width: 120px; }
  .pic-phone-rack figure:nth-child(3) { width: 96px; }
  .pic-tab-list [role="tab"] { flex: 1 1 calc(50% - 4px); text-align: center; padding: 10px 8px; font-size: 0.82rem; }
  .pic-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 100px; }
  .pic-mosaic-item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .pic-mosaic-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .pic-install-grid { grid-template-columns: 1fr; }
  .pic-acc-item summary { font-size: 0.95rem; padding: 16px 18px; }
  .pic-acc-body { padding: 0 18px 18px; }
}

