/* ============================================
   AI短剧《继母的朋友们》宣传落地页样式表
   作者: jimupengyou.com
   说明: 暗黑短视频风 + 红紫渐变, 移动端优先响应式
   ============================================ */

/* ---------- 全局变量与基础重置 ---------- */
:root {
  --primary: #7c3aed;      /* 主紫 */
  --accent: #ef4444;       /* 红 */
  --accent-glow: #f97316;  /* 红橙渐变 */
  --grad: linear-gradient(135deg, #7c3aed 0%, #ef4444 100%);
  --bg: #0b0b12;
  --bg-2: #12121c;
  --card: #181826;
  --border: #2a2a3e;
  --text: #f5f5fa;
  --muted: #a1a1b5;
  --ok: #22c55e;
  --radius: 14px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- 通用布局容器 ---------- */
.wrap {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 顶部导航 ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 18, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-nav .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  font-size: 20px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--text);
}

/* ---------- 标题区 / Hero ---------- */
.hero {
  text-align: center;
  padding: 54px 0 40px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.35), transparent 65%);
  pointer-events: none;
  z-index: -1;
}

.tag {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 18px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .subtitle {
  font-size: clamp(15px, 2vw, 20px);
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto 30px;
}

.hero .subtitle strong {
  color: var(--text);
}

/* ---------- 剧情简介 ---------- */
.plot {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin: 30px auto;
  max-width: 900px;
  text-align: center;
}

.plot h2 {
  font-size: 22px;
  margin: 0 auto 14px;
  display: block;
  width: fit-content;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--accent);
}

.plot p {
  color: var(--muted);
  text-align: center;
}

.plot p em {
  color: var(--accent-glow);
  font-style: normal;
}

/* ---------- 图片展示（占位符） ---------- */
.gallery h2 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 6px;
}

.gallery .gsub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 26px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.card-pic {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-pic .ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-pic .ph-label {
  position: absolute;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 1px;
}

.card-pic .cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  font-size: 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

/* ---------- 资源亮点 ---------- */
.features {
  margin: 50px auto;
  max-width: 960px;
}

.features h2 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 30px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.feature .icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.feature h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.feature p {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- 下载区 ---------- */
.download {
  text-align: center;
  padding: 60px 20px;
  margin: 20px auto;
  max-width: 960px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(124, 58, 237, 0.18), rgba(239, 68, 68, 0.12));
  border: 1px solid var(--border);
}

.download h2 {
  font-size: clamp(22px, 3.4vw, 34px);
  font-weight: 900;
  margin-bottom: 14px;
}

.download p {
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 30px;
}

.btn-download {
  display: inline-block;
  padding: 18px 48px;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  background: var(--grad);
  border-radius: 50px;
  box-shadow: 0 8px 30px rgba(239, 68, 68, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: pulse 2.2s infinite;
}

.btn-download:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 38px rgba(124, 58, 237, 0.55);
}

.btn-download small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  opacity: 0.85;
  margin-top: 4px;
  letter-spacing: 1px;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(239, 68, 68, 0.45); }
  50% { box-shadow: 0 8px 40px rgba(124, 58, 237, 0.65); }
}

.download .tips {
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
}

.download .tips b {
  color: var(--ok);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
  margin: 10px auto 60px;
}

.faq h2 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 30px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  color: var(--accent);
  font-size: 22px;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .body {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- 用户好评 ---------- */
.reviews {
  margin-bottom: 60px;
}

.reviews h2 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 30px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.review {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.review .stars {
  color: #facc15;
  font-size: 16px;
  margin-bottom: 10px;
}

.review p {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 12px;
}

.review .meta {
  font-size: 12px;
  color: var(--muted);
}

.review .meta .badge {
  display: inline-block;
  background: rgba(34, 197, 94, 0.15);
  color: var(--ok);
  border-radius: 4px;
  padding: 1px 8px;
  margin-left: 6px;
}

/* ---------- 更多相关资源 ---------- */
.related {
  margin: 10px auto 60px;
  max-width: 960px;
}

.related h2 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 6px;
}

.related .gsub {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 26px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-item {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.related-item:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.related-item .rn {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
}

.related-item .rd {
  font-size: 12px;
  color: var(--accent);
  word-break: break-all;
}

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.site-footer a {
  color: var(--accent);
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
  .nav-links { display: none; }

  .hero { padding: 40px 0 28px; }

  .plot { padding: 22px 18px; }
  .plot h2 { font-size: 20px; }
  .plot p { font-size: 15px; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .download { padding: 40px 18px; }

  .btn-download {
    width: 100%;
    padding: 16px 20px;
    font-size: 17px;
  }
}