/* ============================================================
   《东京牛头人》宣传下载页 — 暗黑风格样式表
   说明：红紫渐变 + 电光蓝点缀，暗黑视频平台风
   ============================================================ */

:root {
  --bg: #0a0a0f;
  --bg-soft: #12121a;
  --card: #171722;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5f5fa;
  --text-dim: #a6a6b8;
  --red: #e50914;
  --violet: #8a2be2;
  --blue: #00d4ff;
  --grad-main: linear-gradient(135deg, #e50914, #8a2be2);
}

/* ---------- 基础重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1100px, 90%); margin: 0 auto; }

/* ---------- 背景光晕 ---------- */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(138, 43, 226, 0.18), transparent 60%),
    radial-gradient(600px 400px at 10% 90%, rgba(229, 9, 20, 0.16), transparent 60%);
}

/* ---------- 导航栏 ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px min(5vw, 40px);
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.navbar.scrolled {
  background: rgba(10, 10, 15, 0.92);
  border-bottom-color: var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--grad-main);
  color: #fff;
}
.nav-links { display: flex; gap: 28px; font-size: 15px; }
.nav-links a { color: var(--text-dim); transition: color 0.2s; position: relative; }
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--grad-main);
  transition: width 0.25s;
}
.nav-links a:hover::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); transition: 0.3s; }
.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); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-primary { background: var(--grad-main); color: #fff; box-shadow: 0 8px 24px rgba(229, 9, 20, 0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(138, 43, 226, 0.5); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Hero 首屏 ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 60px;
  position: relative;
}
.hero-inner { max-width: 760px; }
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--blue);
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease both;
}
.hero-title { font-size: clamp(56px, 10vw, 104px); font-weight: 900; line-height: 1.05; letter-spacing: 6px; }
.hero-title .line { display: block; animation: fadeUp 0.9s ease both; }
.hero-title .line:nth-child(2) { animation-delay: 0.1s; background: var(--grad-main); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-title .line::after { content: ""; }
.hero-subtitle { margin: 18px auto 34px; color: var(--text-dim); font-size: 18px; animation: fadeUp 1s 0.2s ease both; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; animation: fadeUp 1s 0.3s ease both; }
.hero-meta { margin-top: 32px; color: var(--text-dim); font-size: 14px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.hero-poster {
  width: min(560px, 92%);
  margin: 0 auto 36px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(138, 43, 226, 0.2);
  animation: fadeUp 1s 0.15s ease both;
}
.hero-poster img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- 通用 Section ---------- */
.section { padding: 90px 0; }
.section-title {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 42px;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 48px; height: 4px;
  margin: 14px auto 0;
  border-radius: 4px;
  background: var(--grad-main);
}

/* 滚动渐入 */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- 剧情 ---------- */
.story { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%); }
.story-row { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.story-poster { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
.story-poster img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story-text p { margin-bottom: 16px; color: var(--text-dim); font-size: 16px; }
.story-text strong { color: var(--text); }
.story-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; list-style: none; }
.story-tags li {
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--blue);
  font-size: 13px;
}

/* ---------- 角色 ---------- */
.char-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.char-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.char-card:hover { transform: translateY(-8px); border-color: rgba(138, 43, 226, 0.6); box-shadow: 0 18px 40px rgba(138, 43, 226, 0.25); }
.char-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.char-card h3 { margin: 18px 0 6px; font-size: 20px; }
.char-card p { color: var(--text-dim); font-size: 14px; padding: 0 18px 20px; }

/* ---------- 亮点 ---------- */
.highlights { background: var(--bg-soft); }
.hl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hl-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 22px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}
.hl-item:hover { transform: translateY(-6px); border-color: rgba(0, 212, 255, 0.5); }
.hl-icon { font-size: 38px; display: block; margin-bottom: 14px; }
.hl-item h3 { font-size: 18px; margin-bottom: 8px; }
.hl-item p { color: var(--text-dim); font-size: 14px; }

/* ---------- 下载 ---------- */
.download-desc { text-align: center; color: var(--text-dim); margin-bottom: 36px; }
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dl-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-family: inherit;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.dl-card:hover { transform: translateY(-5px); border-color: var(--red); box-shadow: 0 14px 34px rgba(229, 9, 20, 0.25); }
.dl-icon { font-size: 30px; }
.dl-card h3 { font-size: 17px; }
.dl-card p { color: var(--text-dim); font-size: 13px; }
.download-note { text-align: center; margin-top: 28px; color: var(--text-dim); font-size: 14px; min-height: 22px; }

/* ---------- 页脚 ---------- */
.footer { padding: 40px 0; border-top: 1px solid var(--border); text-align: center; color: var(--text-dim); font-size: 13px; }
.footer p { margin-bottom: 6px; }
.footer-legal { max-width: 640px; margin: 6px auto; }
.footer-copy { color: #555; }

/* ---------- 区块引导文字 ---------- */
.section-intro {
  max-width: 680px;
  margin: -20px auto 42px;
  text-align: center;
  color: var(--text-dim);
  font-size: 16px;
}

/* ---------- SEO 正文内容块 ---------- */
.seo-content { background: var(--bg-soft); }
.seo-block {
  max-width: 760px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 40px;
}
.seo-block h3 {
  font-size: 18px;
  color: var(--blue);
  margin: 22px 0 10px;
}
.seo-block h3:first-child { margin-top: 0; }
.seo-block p { color: var(--text-dim); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 6px 22px;
  transition: border-color 0.3s;
}
.faq-item:hover, .faq-item[open] { border-color: rgba(138, 43, 226, 0.5); }
.faq-item summary {
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 0;
  list-style: none;
  position: relative;
  padding-right: 26px;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  font-size: 20px;
  transition: transform 0.3s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { color: var(--text-dim); font-size: 14px; padding: 0 0 16px; }

/* ---------- 页脚链接 ---------- */
.footer-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 8px 0 12px; }
.footer-links a { color: var(--blue); }
.footer-links a:hover { text-decoration: underline; }

/* ---------- 动画 ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 60px; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-soft);
    width: 200px;
    padding: 12px 0;
    border-radius: 0 0 0 16px;
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform 0.3s;
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 14px 20px; }
  .nav-toggle { display: flex; }

  .story-row { grid-template-columns: 1fr; }
  .char-grid, .hl-grid, .dl-grid { grid-template-columns: 1fr; }
}