/* ============================================
   成人小说 - 原创样式表
   品牌：成人小说 | 域名：geeLpb.cn
   配色：深紫黑+活力橙+电光紫
   ============================================ */

/* === CSS Variables === */
:root {
  --primary-dark: #1A0A2E;
  --accent-orange: #FF6B35;
  --accent-purple: #7B2FF7;
  --bg-dark: #0D0D1A;
  --card-bg: #1E1E3A;
  --card-hover: #2A2A50;
  --text-main: #E8E8F0;
  --text-muted: #9B9BC0;
  --gradient-main: linear-gradient(135deg, #7B2FF7 0%, #FF6B35 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(123,47,247,0.15) 0%, rgba(255,107,53,0.15) 100%);
  --border-glow: rgba(123,47,247,0.3);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-hover: 0 8px 40px rgba(123,47,247,0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1280px;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', 'Noto Sans SC', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: var(--accent-orange); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-purple); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* === Container === */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* === Header / Navigation === */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(13,13,26,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glow);
  padding: 0;
}
.header-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.site-logo { display: flex; align-items: center; gap: 10px; }
.site-logo img { height: 42px; width: auto; }
.site-logo span {
  font-size: 1.4rem; font-weight: 700;
  background: var(--gradient-main); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  color: var(--text-muted); font-size: 0.9rem; padding: 8px 14px;
  border-radius: var(--radius-sm); transition: var(--transition);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--text-main); background: var(--gradient-subtle);
}
.mobile-toggle {
  display: none; background: none; border: none; color: var(--text-main);
  font-size: 1.5rem; cursor: pointer; padding: 8px;
}

/* === Search Bar === */
.search-bar-wrap {
  background: var(--primary-dark); padding: 14px 0;
  border-bottom: 1px solid rgba(123,47,247,0.15);
  margin-top: 68px;
}
.search-bar {
  max-width: 680px; margin: 0 auto; display: flex;
  background: var(--card-bg); border-radius: 40px;
  border: 1px solid var(--border-glow); overflow: hidden;
  transition: var(--transition);
}
.search-bar:focus-within { border-color: var(--accent-purple); box-shadow: 0 0 20px rgba(123,47,247,0.2); }
.search-bar input {
  flex: 1; background: transparent; border: none; padding: 12px 24px;
  color: var(--text-main); font-size: 0.95rem; outline: none;
}
.search-bar input::placeholder { color: var(--text-muted); }
.search-bar button {
  background: var(--gradient-main); border: none; padding: 12px 28px;
  color: #fff; font-size: 0.95rem; cursor: pointer;
  transition: var(--transition); font-weight: 500;
}
.search-bar button:hover { opacity: 0.9; }

/* === Hero Banner === */
.hero-section {
  position: relative; overflow: hidden;
  min-height: 520px; display: flex; align-items: center;
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,13,26,0.85) 0%, rgba(26,10,46,0.7) 50%, rgba(13,13,26,0.6) 100%);
}
.hero-content {
  position: relative; z-index: 2; max-width: var(--max-width);
  margin: 0 auto; padding: 80px 20px; text-align: center;
}
.hero-content h1 {
  font-size: 3rem; font-weight: 800; margin-bottom: 16px;
  background: var(--gradient-main); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1.3;
}
.hero-content h2 {
  font-size: 1.3rem; color: var(--text-muted); font-weight: 400;
  margin-bottom: 32px; max-width: 640px; margin-left: auto; margin-right: auto;
}
.hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 32px; }
.hero-tags span {
  background: var(--gradient-subtle); border: 1px solid var(--border-glow);
  padding: 6px 18px; border-radius: 20px; font-size: 0.85rem; color: var(--text-muted);
}
.btn-primary {
  display: inline-block; padding: 14px 40px; background: var(--gradient-main);
  color: #fff; border-radius: 40px; font-size: 1.05rem; font-weight: 600;
  transition: var(--transition); border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); color: #fff; }
.btn-outline {
  display: inline-block; padding: 12px 32px;
  border: 2px solid var(--accent-purple); color: var(--accent-purple);
  border-radius: 40px; font-size: 0.95rem; font-weight: 500;
  transition: var(--transition); background: transparent;
}
.btn-outline:hover { background: var(--accent-purple); color: #fff; }

/* === Section Common === */
.section { padding: 72px 0; }
.section-alt { background: var(--primary-dark); }
.section-title {
  text-align: center; margin-bottom: 48px;
}
.section-title h2 {
  font-size: 2rem; font-weight: 700; margin-bottom: 12px;
  color: var(--text-main);
}
.section-title h2 span {
  background: var(--gradient-main); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.section-title p {
  color: var(--text-muted); font-size: 1rem; max-width: 600px;
  margin: 0 auto;
}

/* === Video Card Grid === */
.video-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.video-card {
  background: var(--card-bg); border-radius: var(--radius-md);
  overflow: hidden; transition: var(--transition);
  border: 1px solid transparent; cursor: pointer;
}
.video-card:hover {
  transform: translateY(-6px); border-color: var(--border-glow);
  box-shadow: var(--shadow-hover);
}
.video-thumb {
  position: relative; padding-top: 56.25%; overflow: hidden;
  background: #111;
}
.video-thumb img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.08); }
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0);
  width: 56px; height: 56px; background: rgba(123,47,247,0.9);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: var(--transition); z-index: 2;
}
.play-btn::after {
  content: ''; width: 0; height: 0;
  border-left: 18px solid #fff; border-top: 11px solid transparent;
  border-bottom: 11px solid transparent; margin-left: 4px;
}
.video-card:hover .play-btn { transform: translate(-50%, -50%) scale(1); }
.video-duration {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.75); color: #fff; padding: 2px 8px;
  border-radius: 4px; font-size: 0.75rem;
}
.video-info { padding: 14px 16px; }
.video-info h3 {
  font-size: 0.95rem; font-weight: 600; margin-bottom: 6px;
  color: var(--text-main); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.8rem; color: var(--text-muted);
}
.video-meta span { display: flex; align-items: center; gap: 4px; }

/* === Service Cards === */
.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.service-card {
  background: var(--card-bg); border-radius: var(--radius-md);
  padding: 36px 28px; text-align: center;
  border: 1px solid transparent; transition: var(--transition);
}
.service-card:hover {
  border-color: var(--border-glow); transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.service-icon {
  width: 64px; height: 64px; margin: 0 auto 20px;
  background: var(--gradient-subtle); border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--text-main); }
.service-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* === Feature Row (image + text) === */
.feature-row {
  display: flex; align-items: center; gap: 48px; margin-bottom: 64px;
}
.feature-row.reverse { flex-direction: row-reverse; }
.feature-img { flex: 1; border-radius: var(--radius-lg); overflow: hidden; }
.feature-img img { width: 100%; border-radius: var(--radius-lg); }
.feature-text { flex: 1; }
.feature-text h3 { font-size: 1.6rem; margin-bottom: 16px; color: var(--text-main); }
.feature-text p { color: var(--text-muted); margin-bottom: 12px; font-size: 0.95rem; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.feature-tags span {
  background: var(--gradient-subtle); padding: 4px 14px;
  border-radius: 16px; font-size: 0.8rem; color: var(--accent-purple);
  border: 1px solid var(--border-glow);
}

/* === Expert Cards === */
.expert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.expert-card {
  background: var(--card-bg); border-radius: var(--radius-md);
  padding: 28px 20px; text-align: center;
  border: 1px solid transparent; transition: var(--transition);
}
.expert-card:hover { border-color: var(--border-glow); box-shadow: var(--shadow-hover); }
.expert-avatar {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 16px;
  overflow: hidden; border: 3px solid var(--accent-purple);
}
.expert-avatar img { width: 100%; height: 100%; object-fit: cover; }
.expert-card h4 { font-size: 1.05rem; margin-bottom: 4px; color: var(--text-main); }
.expert-card .role { color: var(--accent-orange); font-size: 0.85rem; margin-bottom: 10px; }
.expert-card p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.5; margin-bottom: 14px; }
.expert-links { display: flex; justify-content: center; gap: 10px; }
.expert-links a {
  padding: 6px 16px; border-radius: 20px; font-size: 0.8rem;
  border: 1px solid var(--border-glow); color: var(--text-muted);
}
.expert-links a:hover { background: var(--accent-purple); color: #fff; border-color: var(--accent-purple); }

/* === Brand Wall === */
.brand-wall {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 32px; padding: 20px 0;
}
.brand-wall-item {
  background: var(--card-bg); padding: 20px 32px; border-radius: var(--radius-sm);
  font-size: 1.1rem; font-weight: 600; color: var(--text-muted);
  border: 1px solid rgba(123,47,247,0.1); transition: var(--transition);
}
.brand-wall-item:hover { border-color: var(--border-glow); color: var(--text-main); }

/* === Reviews === */
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.review-card {
  background: var(--card-bg); border-radius: var(--radius-md);
  padding: 28px; border: 1px solid transparent; transition: var(--transition);
}
.review-card:hover { border-color: var(--border-glow); }
.review-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.review-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gradient-main); display: flex; align-items: center;
  justify-content: center; color: #fff; font-weight: 700; font-size: 1.1rem;
}
.review-name { font-weight: 600; color: var(--text-main); font-size: 0.95rem; }
.review-date { font-size: 0.8rem; color: var(--text-muted); }
.review-stars { color: var(--accent-orange); margin-bottom: 10px; font-size: 0.9rem; }
.review-text { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* === FAQ === */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--card-bg); border-radius: var(--radius-md);
  margin-bottom: 12px; overflow: hidden;
  border: 1px solid transparent; transition: var(--transition);
}
.faq-item:hover { border-color: var(--border-glow); }
.faq-question {
  padding: 20px 24px; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center;
  font-weight: 600; color: var(--text-main); font-size: 0.95rem;
}
.faq-question::after { content: '+'; font-size: 1.4rem; color: var(--accent-purple); transition: var(--transition); }
.faq-item.active .faq-question::after { content: '-'; }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px; color: var(--text-muted); font-size: 0.9rem; line-height: 1.7;
}
.faq-item.active .faq-answer { max-height: 300px; }

/* === Contact Section === */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.contact-card {
  background: var(--card-bg); border-radius: var(--radius-md);
  padding: 32px 24px; text-align: center;
  border: 1px solid transparent; transition: var(--transition);
}
.contact-card:hover { border-color: var(--border-glow); }
.contact-card h4 { font-size: 1.05rem; margin-bottom: 12px; color: var(--text-main); }
.contact-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 8px; }
.contact-card img { max-width: 160px; margin: 12px auto 0; border-radius: var(--radius-sm); }

/* === Share Buttons === */
.share-bar {
  display: flex; justify-content: center; gap: 16px; padding: 20px 0;
}
.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; border-radius: 24px; font-size: 0.85rem;
  background: var(--card-bg); color: var(--text-muted);
  border: 1px solid var(--border-glow); cursor: pointer;
  transition: var(--transition);
}
.share-btn:hover { background: var(--accent-purple); color: #fff; border-color: var(--accent-purple); }

/* === Footer === */
.site-footer {
  background: var(--primary-dark); padding: 48px 0 0;
  border-top: 1px solid var(--border-glow);
}
.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: 1rem; margin-bottom: 16px; color: var(--text-main);
  position: relative; padding-bottom: 10px;
}
.footer-col h4::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 32px; height: 2px; background: var(--gradient-main);
}
.footer-col a { display: block; color: var(--text-muted); font-size: 0.85rem; padding: 4px 0; }
.footer-col a:hover { color: var(--accent-orange); }
.footer-qr { display: flex; gap: 20px; margin-top: 12px; }
.footer-qr img { width: 100px; border-radius: var(--radius-sm); }
.footer-bottom {
  border-top: 1px solid rgba(123,47,247,0.15); padding: 20px 0;
  text-align: center; color: var(--text-muted); font-size: 0.8rem;
}

/* === Breadcrumb === */
.breadcrumb {
  padding: 16px 0; font-size: 0.85rem; color: var(--text-muted);
  margin-top: 68px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-orange); }
.breadcrumb span { margin: 0 8px; }

/* === Inner Page Hero === */
.inner-hero {
  padding: 48px 0; text-align: center;
  background: var(--gradient-subtle);
}
.inner-hero h1 { font-size: 2.2rem; font-weight: 700; margin-bottom: 12px; }
.inner-hero p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* === Content Area === */
.content-area { padding: 48px 0; }
.content-area h2 { font-size: 1.6rem; margin-bottom: 20px; color: var(--text-main); }
.content-area h3 { font-size: 1.3rem; margin: 24px 0 12px; color: var(--text-main); }
.content-area p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.8; }

/* === How-To Guide === */
.howto-steps { max-width: 700px; margin: 0 auto; }
.howto-step {
  display: flex; gap: 20px; margin-bottom: 28px; align-items: flex-start;
}
.step-num {
  width: 44px; height: 44px; min-width: 44px;
  background: var(--gradient-main); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1.1rem;
}
.step-content h4 { font-size: 1.05rem; margin-bottom: 6px; color: var(--text-main); }
.step-content p { color: var(--text-muted); font-size: 0.9rem; }

/* === Responsive === */
@media (max-width: 1024px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .main-nav { 
    display: none; position: fixed; top: 68px; left: 0; right: 0;
    background: rgba(13,13,26,0.98); flex-direction: column;
    padding: 20px; gap: 4px; border-bottom: 1px solid var(--border-glow);
  }
  .main-nav.show { display: flex; }
  .mobile-toggle { display: block; }
  .hero-content h1 { font-size: 2rem; }
  .hero-content h2 { font-size: 1rem; }
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .service-grid { grid-template-columns: 1fr; }
  .feature-row, .feature-row.reverse { flex-direction: column; gap: 24px; }
  .expert-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .share-bar { flex-wrap: wrap; }
  .search-bar { margin: 0 16px; }
}
@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; }
  .hero-section { min-height: 400px; }
  .section { padding: 48px 0; }
}

/* === Lazy Load === */
img[loading="lazy"] { opacity: 0; transition: opacity 0.3s ease; }
img[loading="lazy"].loaded, img[loading="lazy"][src] { opacity: 1; }

/* === Animation === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.6s ease forwards; }

/* === Back to Top Button === */
.back-to-top {
  position: fixed; bottom: 30px; right: 30px; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient-main); border: none;
  color: #fff; font-size: 1.2rem; cursor: pointer;
  opacity: 0; visibility: hidden; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

/* === HowTo Steps for timeline === */
.howto-step .step-num {
  width: 56px; height: 56px; min-width: 56px;
  font-size: 0.95rem;
}

/* === Content area improvements === */
.content-area h3 + p { margin-top: 8px; }
