/* ============================================================
   少妇白洁 AI 短剧 宣传下载页 样式表
   风格：暗黑视频平台风（深黑底 + 红紫渐变 + 蓝紫点缀）
   ============================================================ */

:root {
  --bg: #0b0d12;
  --bg-soft: #12151d;
  --bg-dark: #07080c;
  --card: #171b25;
  --card-hover: #1d2230;
  --text: #e8eaf0;
  --muted: #9aa3b2;
  --line: #262c3a;
  --accent: #b13cff;
  --accent-2: #ff3c8e;
  --accent-3: #6b6bff;
  --grad: linear-gradient(135deg, #b13cff 0%, #ff3c8e 100%);
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: min(1140px, 92%); margin: 0 auto; }
.container-narrow { max-width: 820px; }

/* ===== 通用区块标题 ===== */
.section { padding: 96px 0; position: relative; }
.section-dark { background: var(--bg-soft); }

.section-label {
  letter-spacing: 3px;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  margin-bottom: 42px;
}

/* ===== 顶部导航 ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 13, 18, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}

.site-header.scrolled {
  background: rgba(7, 8, 12, 0.92);
  border-bottom-color: var(--line);
}

.header-inner {
  width: min(1140px, 92%);
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 10px; }

.brand-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(177, 60, 255, 0.4);
}

.brand-text { font-weight: 700; font-size: 15px; }
.brand-text em { font-style: normal; color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--muted); font-size: 15px; transition: color 0.2s; }
.main-nav a:hover { color: var(--text); }

.main-nav a.nav-download {
  color: #fff;
  font-weight: 700;
}
.main-nav a.nav-download::before {
  content: "";
  position: absolute;
  inset: 0;
}

.nav-download {
  position: relative;
  padding: 8px 18px;
  border-radius: 60px;
  background: var(--grad);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== Hero 首屏 ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 70% 20%, rgba(177, 60, 255, 0.22), transparent 60%),
    radial-gradient(900px 500px at 15% 85%, rgba(255, 60, 142, 0.16), transparent 60%),
    linear-gradient(180deg, var(--bg-dark), var(--bg) 70%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.35;
}

.hero-content { position: relative; z-index: 2; width: min(1140px, 92%); margin: 0 auto; }

.hero-tag {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 60px;
  font-size: 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(48px, 10vw, 108px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 4px;
}
.hero-title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  margin: 22px 0 24px;
  max-width: 560px;
  font-size: clamp(15px, 2vw, 18px);
  color: var(--muted);
}

.hero-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 30px; }
.hero-meta span { color: var(--muted); font-size: 14px; }
.hero-meta .rate { color: #ffb64c; font-weight: 800; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-note { margin-top: 22px; font-size: 13px; color: var(--muted); }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: none;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 34px rgba(177, 60, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(255, 60, 142, 0.4); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-lg { padding: 16px 40px; font-size: 16px; }

/* ===== 剧集简介 ===== */
.overview-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 50px;
  align-items: center;
}

.overview-text p { color: var(--muted); margin-bottom: 16px; }
.overview-text p b { color: var(--text); }

.spec-list { list-style: none; margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.spec-list li { color: var(--text); font-size: 14px; }
.spec-list li span { color: var(--muted); margin-right: 6px; }

.poster {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  aspect-ratio: 3 / 1;
}
.poster img { width: 100%; height: 100%; object-fit: cover; }
.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(255, 60, 142, 0.15));
}

/* ===== 海报风采 ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 1;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

/* ===== 精彩看点卡片 ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: transform 0.3s, border-color 0.3s;
}

.card:hover { border-color: var(--accent); transform: translateY(-6px); }

.card-ico { font-size: 34px; margin-bottom: 16px; }
.card h3 { margin-bottom: 10px; font-size: 18px; }
.card p { color: var(--muted); font-size: 14px; }

/* ===== 演员阵容 ===== */
.stars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.star {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 20px;
  transition: transform 0.3s, border-color 0.3s;
}
.star:hover { transform: translateY(-6px); border-color: var(--accent); }

.star-avatar {
  width: 84px; height: 84px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 10px 30px rgba(177, 60, 255, 0.35);
}
.star-avatar.star-a { background: linear-gradient(135deg, #2bd9ff, #6b6bff); }
.star-avatar.star-b { background: linear-gradient(135deg, #ffb64c, #ff3c8e); }

.star h3 { margin-bottom: 6px; font-size: 18px; }
.star p { color: var(--muted); font-size: 14px; }

/* ===== 网友评价 ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.review {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-head .avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--card-hover);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--accent);
}
.review-head strong { display: block; font-size: 14px; }
.review-head .stars { color: #ffb64c; font-size: 13px; }
.review p { color: var(--muted); font-size: 14px; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 14px; }

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 22px;
  cursor: pointer;
}
.faq-item summary {
  padding: 18px 0;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-size: 20px; transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); font-size: 14px; padding-bottom: 20px; }

/* ===== 下载区 ===== */
.section-download {
  text-align: center;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(177, 60, 255, 0.14), transparent 60%),
    var(--bg);
}

.download-sub { color: var(--muted); margin-bottom: 40px; }

.download-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 30px; }

.download-note { font-size: 12px; color: var(--muted); opacity: 0.7; }

/* ===== 页脚 ===== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  text-align: center;
  background: var(--bg-dark);
}
.site-footer a { color: var(--accent); font-weight: 700; }
.footer-copy { color: var(--muted); font-size: 13px; margin-top: 8px; }

/* ===== 滚动渐入（JS 控制 .in-view） ===== */
.fade-up { opacity: 0; transform: translateY(36px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.in-view { opacity: 1; transform: none; }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .overview-grid { grid-template-columns: 1fr; }
  .poster { max-width: 360px; }
  .stars-grid, .reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { aspect-ratio: 3 / 1; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    gap: 6px;
    background: var(--bg-dark);
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.3s;
    align-items: stretch;
    text-align: center;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 12px 0; font-size: 16px; }
  .main-nav a.nav-download { width: fit-content; margin: 6px auto 10px; }

  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { min-height: auto; padding-top: 140px; }
  .hero-actions .btn { width: 100%; }
  .spec-list { grid-template-columns: 1fr; }
}