/* 91PORN 官方网站样式 - 91porny.autos */
: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-v2 { overflow-x: hidden; }

.hv2-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
}

.hv2-head { margin-bottom: 44px; max-width: 640px; }
.hv2-head h2 { font-size: 1.9rem; font-weight: 800; line-height: 1.25; margin-bottom: 12px; }
.hv2-head p { color: var(--text-secondary); line-height: 1.7; }
.hv2-head-center { margin-left: auto; margin-right: auto; text-align: center; }

/* Hero */
.hv2-hero {
  position: relative;
  padding: 48px 0 64px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hv2-hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(255,102,0,0.14) 0%, transparent 70%);
  pointer-events: none;
}

.hv2-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hv2-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(255,102,0,0.1);
  border: 1px solid rgba(255,102,0,0.25);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hv2-hero-text h1 {
  font-size: clamp(2rem, 4.2vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.hv2-lead {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 520px;
}

.hv2-hero-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hv2-link {
  color: var(--text-secondary) !important;
  font-size: 0.92rem;
  text-decoration: none !important;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.hv2-link:hover { color: var(--primary) !important; border-color: var(--primary); }

.hv2-pills {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 480px;
}

.hv2-pills li {
  background: #111;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}

.hv2-pills strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.hv2-pills span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hv2-phones {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  min-height: 380px;
}

.hv2-phone {
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid #2a2a2a;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  margin: 0;
  background: #111;
}

.hv2-phone img { width: 100%; aspect-ratio: 9/16; object-fit: cover; display: block; }

.hv2-phone-left {
  width: 150px;
  transform: rotate(-6deg) translateY(20px);
  opacity: 0.85;
}

.hv2-phone-center {
  width: 200px;
  transform: translateY(-10px);
  z-index: 2;
  border-color: rgba(255,102,0,0.35);
  box-shadow: 0 28px 60px rgba(255,102,0,0.12), 0 20px 50px rgba(0,0,0,0.5);
}

.hv2-phone-right {
  width: 150px;
  transform: rotate(6deg) translateY(20px);
  opacity: 0.85;
}

/* Strip */
.hv2-strip {
  padding: 0;
  background: #0a0a0a;
  border-bottom: 1px solid var(--border);
}

.hv2-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hv2-strip-item {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}

.hv2-strip-item:last-child { border-right: none; }
.hv2-strip-item:hover { background: rgba(255,102,0,0.04); }

.hv2-strip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,102,0,0.12);
  color: var(--primary);
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.hv2-strip-item h2 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.hv2-strip-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Tabs */
.hv2-tabs {
  padding: 72px 0;
  background: #080808;
}

.hv2-tab-wrap { margin-top: 8px; }

.hv2-tab-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.hv2-tab-nav label {
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  background: #111;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.hv2-tab-nav label:hover { color: var(--text-primary); border-color: #444; }

#tab-home:checked ~ .hv2-tab-nav label[for="tab-home"],
#tab-porn:checked ~ .hv2-tab-nav label[for="tab-porn"],
#tab-original:checked ~ .hv2-tab-nav label[for="tab-original"],
#tab-fun:checked ~ .hv2-tab-nav label[for="tab-fun"],
#tab-community:checked ~ .hv2-tab-nav label[for="tab-community"],
#tab-mine:checked ~ .hv2-tab-nav label[for="tab-mine"] {
  color: #fff;
  background: var(--gradient);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(255,102,0,0.3);
}

.hv2-tab-panel {
  display: none;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  background: #111;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  animation: hv2-fade 0.35s ease;
}

@keyframes hv2-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

#tab-home:checked ~ .hv2-tab-panels [data-panel="tab-home"],
#tab-porn:checked ~ .hv2-tab-panels [data-panel="tab-porn"],
#tab-original:checked ~ .hv2-tab-panels [data-panel="tab-original"],
#tab-fun:checked ~ .hv2-tab-panels [data-panel="tab-fun"],
#tab-community:checked ~ .hv2-tab-panels [data-panel="tab-community"],
#tab-mine:checked ~ .hv2-tab-panels [data-panel="tab-mine"] {
  display: grid;
}

.hv2-tab-copy h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.hv2-tab-copy p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 18px;
}

.hv2-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hv2-tags li {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  padding: 5px 12px;
  border-radius: 6px;
}

.hv2-tab-panel img {
  width: 180px;
  border-radius: 16px;
  border: 1px solid #333;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

/* Gallery */
.hv2-gallery {
  padding: 72px 0;
  background: linear-gradient(180deg, #0a0a0a 0%, #060606 100%);
  border-top: 1px solid var(--border);
}

.hv2-gallery-group { margin-bottom: 48px; }
.hv2-gallery-group:last-child { margin-bottom: 0; }

.hv2-gallery-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 3px solid var(--primary);
}

.hv2-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 14px;
}

.hv2-gallery-grid figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #111;
  transition: transform 0.2s, border-color 0.2s;
}

.hv2-gallery-grid figure:hover {
  transform: translateY(-4px);
  border-color: rgba(255,102,0,0.4);
}

.hv2-gallery-grid img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
}

.hv2-gallery-grid figcaption {
  padding: 8px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

/* Download */
.hv2-download {
  padding: 72px 0;
  background: #0a0a0a;
  border-top: 1px solid var(--border);
}

.hv2-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.hv2-step-card {
  background: #111;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 22px;
  position: relative;
  transition: border-color 0.2s;
}

.hv2-step-card:hover { border-color: rgba(255,102,0,0.4); }

.hv2-step-num {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: rgba(255,102,0,0.25);
  line-height: 1;
  margin-bottom: 12px;
}

.hv2-step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.hv2-step-card p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

.hv2-keywords {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.hv2-keywords li {
  font-size: 0.8rem;
  color: var(--text-muted);
  border: 1px dashed #333;
  padding: 6px 14px;
  border-radius: 6px;
}

/* Guide accordion */
.hv2-guide {
  padding: 72px 0;
  background: #080808;
  border-top: 1px solid var(--border);
}

.hv2-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hv2-acc-item {
  background: #111;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.hv2-acc-item[open] { border-color: rgba(255,102,0,0.35); }

.hv2-acc-item summary {
  padding: 18px 22px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: color 0.2s;
}

.hv2-acc-item summary::-webkit-details-marker { display: none; }

.hv2-acc-item summary::after {
  content: "+";
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.hv2-acc-item[open] summary::after {
  content: "−";
}

.hv2-acc-item summary:hover { color: var(--primary); }

.hv2-acc-body {
  padding: 0 22px 22px;
  border-top: 1px solid #1a1a1a;
}

.hv2-acc-body p {
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 12px;
  text-align: justify;
}

.hv2-acc-body p:last-child { margin-bottom: 0; }

.hv2-callout {
  margin-top: 16px;
  padding: 16px 18px;
  background: rgba(255,102,0,0.06);
  border: 1px solid rgba(255,102,0,0.2);
  border-radius: 10px;
}

.hv2-callout p { margin: 0; font-size: 0.9rem; }

/* FAQ */
.hv2-faq {
  padding: 72px 0;
  background: #0a0a0a;
  border-top: 1px solid var(--border);
}

.hv2-faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 960px;
  margin: 0 auto;
}

.hv2-faq-item {
  background: #111;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.hv2-faq-item[open] { border-color: rgba(255,102,0,0.3); }

.hv2-faq-item summary {
  padding: 16px 20px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
}

.hv2-faq-item summary::-webkit-details-marker { display: none; }

.hv2-faq-item p {
  padding: 0 20px 18px;
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* CTA */
.hv2-cta {
  padding: 40px 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.2);
}

.hv2-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.hv2-cta-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
}

@media (max-width: 1024px) {
  .hv2-hero-inner { grid-template-columns: 1fr; }
  .hv2-phones { order: -1; min-height: 300px; }
  .hv2-phone-center { width: 170px; }
  .hv2-phone-left, .hv2-phone-right { width: 130px; }
  .hv2-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .hv2-strip-item:nth-child(2) { border-right: none; }
  .hv2-strip-item:nth-child(1), .hv2-strip-item:nth-child(2) { border-bottom: 1px solid var(--border); }
  .hv2-tab-panel { grid-template-columns: 1fr; }
  .hv2-tab-panel img { width: 140px; justify-self: center; }
  .hv2-steps { grid-template-columns: repeat(2, 1fr); }
  .hv2-faq-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hv2-hero { padding: 32px 0 48px; }
  .hv2-pills { grid-template-columns: 1fr; max-width: 100%; }
  .hv2-phones { min-height: 260px; gap: 8px; }
  .hv2-phone-center { width: 140px; }
  .hv2-phone-left, .hv2-phone-right { width: 110px; }
  .hv2-strip-grid { grid-template-columns: 1fr; }
  .hv2-strip-item { border-right: none; border-bottom: 1px solid var(--border); }
  .hv2-strip-item:last-child { border-bottom: none; }
  .hv2-tab-nav { gap: 6px; }
  .hv2-tab-nav label { padding: 8px 14px; font-size: 0.82rem; }
  .hv2-tab-panel { padding: 24px 18px; }
  .hv2-gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hv2-steps { grid-template-columns: 1fr; }
  .hv2-cta-inner { flex-direction: column; text-align: center; }
  .hv2-cta-inner .btn-download { width: 100%; justify-content: center; }
}
