/* ============================================================
   滴滴代操短剧观看 — 深夜霓虹剧场 设计系统
   设计概念：深色沉浸基底 + 品红→橙霓虹渐变 + 青色高光 + 土豪金点缀
   ============================================================ */

/* ---------- 设计令牌 ---------- */
:root {
  /* 背景层 */
  --bg: #0a0a14;
  --bg-2: #11111f;
  --bg-3: #181828;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --surface-glass: rgba(20, 20, 36, 0.55);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);

  /* 文字 */
  --text: #f6f6fb;
  --text-dim: #a6a6c0;
  --text-mute: #6c6c88;
  --text-bright: #ffffff;

  /* 品牌色 */
  --primary: #ff2e7e;
  --primary-2: #ff7a18;
  --accent: #00e5ff;
  --accent-2: #7b2ff7;
  --gold: #ffd166;
  --green: #2ee59d;

  /* 渐变 */
  --grad-primary: linear-gradient(135deg, #ff2e7e 0%, #ff7a18 100%);
  --grad-primary-soft: linear-gradient(135deg, rgba(255,46,126,.16), rgba(255,122,24,.16));
  --grad-accent: linear-gradient(135deg, #00e5ff 0%, #7b2ff7 100%);
  --grad-gold: linear-gradient(135deg, #ffd166 0%, #ff7a18 100%);
  --grad-text: linear-gradient(120deg, #ff2e7e, #ff7a18 45%, #ffd166);

  /* 字体 */
  --font-display: "ZCOOL QingKe HuangYou", "Noto Sans SC", system-ui, sans-serif;
  --font-head: "Noto Sans SC", system-ui, sans-serif;
  --font-body: "Noto Sans SC", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;

  /* 阴影与光晕 */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.55);
  --glow-primary: 0 0 40px rgba(255, 46, 126, 0.45);
  --glow-accent: 0 0 40px rgba(0, 229, 255, 0.35);

  /* 圆角与节奏 */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;
  --container: 1200px;
  --nav-h: 68px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

/* 全局氛围背景：多层渐变 + 噪点 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 12% -5%, rgba(255, 46, 126, 0.18), transparent 60%),
    radial-gradient(800px 600px at 95% 8%, rgba(0, 229, 255, 0.10), transparent 60%),
    radial-gradient(700px 700px at 50% 110%, rgba(123, 47, 247, 0.14), transparent 60%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  mix-blend-mode: overlay;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font-family: inherit; }

/* ---------- 排版 ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.25; color: var(--text-bright); }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

.display { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.02em; }
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--grad-primary);
  border-radius: 2px;
}

/* ---------- 布局容器 ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(60px, 9vw, 110px) 0; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--text-dim); margin-top: 14px; font-size: 1.02rem; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(10, 10, 20, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s ease, background .3s ease;
}
.nav.scrolled { box-shadow: var(--shadow-md); background: rgba(10, 10, 20, 0.92); }
.nav-inner { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-logo {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--grad-primary);
  box-shadow: var(--glow-primary);
  position: relative;
  overflow: hidden;
}
.brand-logo::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.5), transparent 55%);
}
.brand-logo svg { position: relative; z-index: 1; }
.brand-name { font-family: var(--font-display); font-size: 1.3rem; line-height: 1; color: var(--text-bright); }
.brand-name small { display: block; font-family: var(--font-body); font-size: 0.62rem; letter-spacing: 0.2em; color: var(--text-mute); font-weight: 600; margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 14px;
  border-radius: var(--r-pill);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text-bright); background: var(--bg-card); }
.nav-links a.active { color: #fff; background: var(--grad-primary-soft); }

.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  place-items: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--text-bright); transition: .3s; position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 46, 126, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(255, 46, 126, 0.5); }

.btn-accent {
  background: var(--grad-accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 229, 255, 0.3);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 229, 255, 0.45); }

.btn-gold {
  background: var(--grad-gold);
  color: #2a1500;
  box-shadow: 0 8px 24px rgba(255, 167, 38, 0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(255, 167, 38, 0.5); }

.btn-ghost {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--bg-card-hover); border-color: var(--primary); color: #fff; }

.btn-lg { padding: 16px 32px; font-size: 1.02rem; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(70px, 12vw, 140px) 0 clamp(50px, 8vw, 90px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 8px;
  border-radius: var(--r-pill);
  background: var(--surface-glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 26px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

.hero h1 { margin-bottom: 22px; }
.hero-lead { font-size: 1.12rem; color: var(--text-dim); max-width: 540px; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 30px; }
.hero-stat .num { font-family: var(--font-display); font-size: 2rem; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.hero-stat .label { font-size: 0.82rem; color: var(--text-mute); margin-top: 4px; }

/* Hero 视觉区 */
.hero-visual { position: relative; }
.hero-visual .glow-orb {
  position: absolute;
  inset: -30px -10px -10px -10px;
  background: radial-gradient(circle at 50% 45%, rgba(255,46,126,.4), rgba(255,122,24,.15) 45%, transparent 70%);
  filter: blur(30px);
  z-index: 0;
}
.hero-visual .hero-img {
  position: relative; z-index: 2;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/4.4;
  object-fit: cover;
  width: 100%;
}
.hero-visual .float-card {
  position: absolute; z-index: 3;
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 11px;
  box-shadow: var(--shadow-md);
  animation: floaty 4s ease-in-out infinite;
}
.float-card .fc-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; }
.float-card .fc-icon.a { background: var(--grad-primary); }
.float-card .fc-icon.b { background: var(--grad-accent); }
.float-card .fc-icon svg { width: 20px; height: 20px; }
.float-card .fc-title { font-size: 0.78rem; font-weight: 600; color: var(--text); }
.float-card .fc-sub { font-size: 0.68rem; color: var(--text-mute); }
.float-card.fc-1 { top: 18px; right: -14px; animation-delay: 0s; }
.float-card.fc-2 { bottom: 26px; left: -18px; animation-delay: 1.2s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- 信任栏 ---------- */
.trust { padding: 30px 0 10px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255,255,255,.015); }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-around; gap: 24px 40px; }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--text-mute); font-size: 0.86rem; font-weight: 500; }
.trust-item svg { width: 22px; height: 22px; color: var(--accent); }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* 短剧卡片 */
.drama-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
  display: flex;
  flex-direction: column;
}
.drama-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.drama-cover { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.drama-cover .cover-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.drama-card:hover .cover-img { transform: scale(1.07); }
.drama-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,20,.92) 4%, transparent 55%); }
.drama-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 4px 10px; border-radius: var(--r-pill);
  font-size: 0.72rem; font-weight: 700;
  background: var(--grad-primary); color: #fff;
}
.drama-badge.hot { background: var(--grad-gold); color: #2a1500; }
.drama-badge.new { background: var(--grad-accent); color: #062029; }
.drama-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(.7); z-index: 2;
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,.7);
  display: grid; place-items: center;
  opacity: 0; transition: .3s ease;
}
.drama-card:hover .drama-play { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.drama-play svg { width: 22px; height: 22px; color: #fff; margin-left: 3px; }
.drama-meta { position: absolute; bottom: 12px; left: 12px; right: 12px; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.drama-title { font-size: 0.98rem; font-weight: 700; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.drama-ep { font-size: 0.74rem; color: var(--accent); font-weight: 600; white-space: nowrap; }
.drama-body { padding: 14px 16px 16px; }
.drama-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tag {
  font-size: 0.72rem; padding: 3px 9px; border-radius: var(--r-pill);
  background: var(--bg-card); border: 1px solid var(--border); color: var(--text-dim);
}
.drama-desc { font-size: 0.84rem; color: var(--text-mute); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 用渐变占位封面（无真实图时） */
.cover-grad { width: 100%; height: 100%; display: grid; place-items: center; position: relative; overflow: hidden; }
.cover-grad::before { content: ""; position: absolute; inset: 0; background: var(--g, var(--grad-primary)); opacity: .9; }
.cover-grad::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.35), transparent 55%); }
.cover-grad span { position: relative; z-index: 1; font-family: var(--font-display); font-size: 2rem; color: rgba(255,255,255,.92); text-shadow: 0 2px 12px rgba(0,0,0,.4); }

/* ---------- 分类/筛选 ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 9px 18px;
  border-radius: var(--r-pill);
  font-size: 0.88rem; font-weight: 500;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: .2s;
  cursor: pointer;
}
.chip:hover { color: #fff; border-color: var(--border-strong); }
.chip.active { background: var(--grad-primary); color: #fff; border-color: transparent; box-shadow: 0 6px 18px rgba(255,46,126,.3); }

/* ---------- 短视频信息流 ---------- */
.feed-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.feed { display: flex; flex-direction: column; gap: 22px; }
.video-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
  transition: border-color .3s, box-shadow .3s;
}
.video-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.video-thumb { position: relative; aspect-ratio: 9/14; overflow: hidden; }
.video-thumb .cover-img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb .play-overlay {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(to top, rgba(10,10,20,.7), transparent 50%);
  opacity: 0; transition: .3s;
}
.video-card:hover .play-overlay { opacity: 1; }
.video-thumb .duration { position: absolute; bottom: 10px; right: 10px; padding: 3px 9px; border-radius: 8px; font-size: 0.72rem; font-weight: 600; background: rgba(0,0,0,.6); color: #fff; backdrop-filter: blur(6px); }
.video-info { padding: 14px 16px; }
.video-info .v-title { font-weight: 600; font-size: 1rem; margin-bottom: 8px; }
.video-stats { display: flex; gap: 18px; font-size: 0.82rem; color: var(--text-mute); }
.video-stats span { display: inline-flex; align-items: center; gap: 5px; }
.video-stats svg { width: 15px; height: 15px; }

.feed-side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 20px; }
.side-card { background: var(--surface-glass); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; backdrop-filter: blur(12px); }
.side-card h4 { font-size: 1.05rem; margin-bottom: 14px; }
.rank-item { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.rank-item:last-child { border-bottom: none; }
.rank-num { font-family: var(--font-display); font-size: 1.3rem; width: 26px; flex-shrink: 0; }
.rank-num.top { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.rank-title { font-size: 0.88rem; font-weight: 500; flex: 1; }
.rank-hot { font-size: 0.74rem; color: var(--primary); }

/* ---------- 功能卡片 ---------- */
.feature-card {
  padding: 32px 26px;
  border-radius: var(--r-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform .3s, border-color .3s, background .3s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--g, var(--grad-primary)); opacity: 0; transition: opacity .3s;
}
.feature-card:hover { transform: translateY(-5px); background: var(--bg-card-hover); border-color: var(--border-strong); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 54px; height: 54px; border-radius: 15px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: var(--g, var(--grad-primary));
  box-shadow: 0 8px 20px rgba(255,46,126,.25);
}
.feature-icon svg { width: 26px; height: 26px; color: #fff; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--text-dim); font-size: 0.92rem; }

/* ---------- 下载区 ---------- */
.download-hero {
  display: grid; grid-template-columns: 1fr 0.9fr; gap: 50px; align-items: center;
  padding: clamp(40px,6vw,70px);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(255,46,126,.14), rgba(123,47,247,.1));
  border: 1px solid var(--border-strong);
  position: relative; overflow: hidden;
}
.download-hero::before {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,122,24,.3), transparent 70%);
  top: -80px; right: -60px; filter: blur(20px);
}
.download-hero .dh-text { position: relative; z-index: 2; }
.download-hero .dh-visual { position: relative; z-index: 2; display: grid; place-items: center; }
.download-hero .dh-visual img { border-radius: var(--r-lg); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); }

.download-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.dl-card { text-align: center; padding: 28px 20px; border-radius: var(--r-lg); background: var(--bg-card); border: 1px solid var(--border); transition: .3s; }
.dl-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.dl-card .dl-icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin: 0 auto 16px; background: var(--grad-primary); }
.dl-card .dl-icon svg { width: 30px; height: 30px; color: #fff; }
.dl-card h4 { margin-bottom: 6px; }
.dl-card p { font-size: 0.86rem; color: var(--text-mute); }

.qr-box { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.qr-box .qr-img { width: 168px; height: 168px; border-radius: var(--r-md); padding: 10px; background: #fff; }
.qr-box .qr-img svg { width: 100%; height: 100%; }

/* ---------- 数据统计带 ---------- */
.stat-band { padding: 50px 0; border-radius: var(--r-xl); background: linear-gradient(135deg, rgba(255,46,126,.1), rgba(0,229,255,.06)); border: 1px solid var(--border); }
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat-item { text-align: center; }
.stat-item .stat-num { font-family: var(--font-display); font-size: clamp(2.2rem,4vw,3rem); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.stat-item .stat-label { font-size: 0.88rem; color: var(--text-dim); margin-top: 8px; }

/* ---------- 剧情预览 ---------- */
.preview-hero { position: relative; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--border-strong); min-height: 380px; display: flex; align-items: flex-end; }
.preview-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.preview-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,20,.95) 8%, rgba(10,10,20,.4) 60%, transparent); }
.preview-hero .ph-content { position: relative; z-index: 2; padding: 40px; max-width: 640px; }
.preview-hero .ph-tag { display: inline-block; padding: 5px 12px; border-radius: var(--r-pill); background: var(--grad-gold); color: #2a1500; font-size: 0.78rem; font-weight: 700; margin-bottom: 14px; }
.preview-hero h2 { margin-bottom: 12px; }
.preview-hero p { color: var(--text-dim); margin-bottom: 20px; }

/* 剧集列表 */
.episode-list { display: grid; grid-template-columns: repeat(6,1fr); gap: 12px; }
.episode-btn {
  padding: 12px 8px; border-radius: var(--r-sm); background: var(--bg-card); border: 1px solid var(--border);
  text-align: center; transition: .2s; font-weight: 600;
}
.episode-btn:hover { background: var(--grad-primary); border-color: transparent; transform: translateY(-2px); }
.episode-btn .ep-num { font-family: var(--font-display); font-size: 1.2rem; }
.episode-btn .ep-label { font-size: 0.7rem; color: var(--text-mute); }
.episode-btn:hover .ep-label { color: rgba(255,255,255,.8); }

/* ---------- 步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.step { position: relative; padding: 30px 24px; border-radius: var(--r-lg); background: var(--bg-card); border: 1px solid var(--border); }
.step-num { font-family: var(--font-display); font-size: 2.4rem; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; margin-bottom: 14px; }
.step h4 { margin-bottom: 8px; }
.step p { font-size: 0.88rem; color: var(--text-dim); }

/* ---------- CTA 横幅 ---------- */
.cta-banner {
  position: relative;
  padding: clamp(50px,7vw,80px) 0;
  text-align: center;
  overflow: hidden;
}
.cta-banner .cta-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.cta-banner h2 { margin-bottom: 18px; }
.cta-banner p { color: var(--text-dim); margin-bottom: 32px; font-size: 1.05rem; }
.cta-banner::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at center, rgba(255,46,126,.22), transparent 70%);
}

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--border); padding: 60px 0 30px; background: rgba(255,255,255,.012); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--text-mute); font-size: 0.9rem; max-width: 300px; }
.footer-col h5 { font-size: 0.95rem; margin-bottom: 16px; color: var(--text-bright); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { font-size: 0.88rem; color: var(--text-mute); transition: color .2s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding-top: 26px; border-top: 1px solid var(--border); font-size: 0.82rem; color: var(--text-mute); }
.footer-bottom .fb-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom .fb-links a:hover { color: var(--text); }

/* ---------- 移动端底部导航 ---------- */
.mobile-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  height: 62px;
  background: rgba(10, 10, 20, 0.94);
  backdrop-filter: blur(18px);
  border-top: 1px solid var(--border);
  display: none;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
}
.mobile-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 0.66rem; color: var(--text-mute); padding: 6px 10px; border-radius: 10px; transition: .2s; flex: 1;
}
.mobile-nav a svg { width: 22px; height: 22px; }
.mobile-nav a.active { color: var(--primary); }
.mobile-nav a.active svg { filter: drop-shadow(0 0 6px rgba(255,46,126,.6)); }

/* ---------- 弹窗 ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5,5,12,.75); backdrop-filter: blur(6px); }
.modal-box {
  position: relative; z-index: 2;
  width: 100%; max-width: 440px;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  padding: 36px 30px;
  box-shadow: var(--shadow-lg);
  animation: modalIn .35s cubic-bezier(.2,.8,.3,1);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.96); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 10px; background: var(--bg-card); display: grid; place-items: center; color: var(--text-dim); }
.modal-close:hover { background: var(--bg-card-hover); color: #fff; }
.modal-box h3 { margin-bottom: 14px; }
.modal-box p { color: var(--text-dim); margin-bottom: 22px; }
.modal-store { display: flex; flex-direction: column; gap: 12px; }
.modal-store a { display: flex; align-items: center; gap: 12px; padding: 13px 18px; border-radius: var(--r-md); background: #fff; color: #111; font-weight: 600; transition: transform .2s; }
.modal-store a:hover { transform: translateY(-2px); }
.modal-store a svg { width: 26px; height: 26px; color: #111; }
.modal-store a small { display: block; font-size: 0.72rem; font-weight: 400; color: #666; }

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed; bottom: 80px; right: 24px; z-index: 80;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--grad-primary); color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--glow-primary);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- 滚动揭示动画 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal-stagger.in > * { opacity: 1; transform: none; }

/* ---------- 表单 ---------- */
.search-bar {
  display: flex; gap: 10px; padding: 8px;
  background: var(--bg-card); border: 1px solid var(--border-strong);
  border-radius: var(--r-pill); max-width: 520px;
}
.search-bar input { flex: 1; background: transparent; border: none; outline: none; color: var(--text); font-size: 0.95rem; padding: 0 14px; }
.search-bar input::placeholder { color: var(--text-mute); }
.search-bar button { padding: 10px 22px; border-radius: var(--r-pill); background: var(--grad-primary); color: #fff; font-weight: 600; }

/* ---------- 时间徽章 ---------- */
.time-badge[data-live-time]::after { content: attr(data-live-time); }

/* ---------- 页面通用头部 ---------- */
.page-hero { padding: clamp(50px,8vw,90px) 0 clamp(30px,5vw,50px); text-align: center; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { color: var(--text-dim); max-width: 620px; margin: 0 auto; font-size: 1.08rem; }
.breadcrumb { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 0.84rem; color: var(--text-mute); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { opacity: .5; }

/* ---------- 时间线（关于页） ---------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--primary), var(--accent)); }
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item::before { content: ""; position: absolute; left: -26px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--grad-primary); box-shadow: var(--glow-primary); }
.tl-item .tl-date { font-size: 0.78rem; color: var(--primary); font-weight: 600; margin-bottom: 4px; }
.tl-item h4 { margin-bottom: 6px; }
.tl-item p { color: var(--text-dim); font-size: 0.92rem; }

/* 团队卡 */
.team-card { display: flex; gap: 18px; align-items: center; padding: 20px; border-radius: var(--r-lg); background: var(--bg-card); border: 1px solid var(--border); transition: .3s; }
.team-card:hover { border-color: var(--border-strong); transform: translateX(4px); }
.team-avatar { width: 64px; height: 64px; border-radius: 16px; flex-shrink: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.8rem; color: #fff; }
.team-info h4 { margin-bottom: 3px; }
.team-info .role { font-size: 0.8rem; color: var(--primary); font-weight: 600; }
.team-info p { font-size: 0.84rem; color: var(--text-mute); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .episode-list { grid-template-columns: repeat(6, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .feed-wrap { grid-template-columns: 1fr; }
  .feed-side { position: static; flex-direction: row; flex-wrap: wrap; }
  .feed-side > * { flex: 1 1 280px; }
}

@media (max-width: 820px) {
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(10,10,20,.98); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px; max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
  }
  .nav-links.open { max-height: 360px; }
  .nav-links a { padding: 14px 16px; border-radius: 12px; }
  .nav-toggle { display: grid; }
  .nav-actions .btn:not(.nav-toggle) { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .download-hero { grid-template-columns: 1fr; padding: 32px 24px; }
  .download-cards { grid-template-columns: 1fr; }
  .mobile-nav { display: flex; }
  .to-top { bottom: 76px; }
  body { padding-bottom: 62px; }
  .float-card.fc-1 { right: 8px; }
  .float-card.fc-2 { left: 8px; }
}

@media (max-width: 600px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .steps { grid-template-columns: 1fr; }
  .episode-list { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .hero-stat .num { font-size: 1.6rem; }
  .section { padding: 48px 0; }
  .preview-hero .ph-content { padding: 26px 22px; }
  .modal-box { padding: 28px 20px; }
  .container { padding: 0 16px; }
}

@media (max-width: 380px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ---------- 无障碍 ---------- */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible, .chip:focus-visible, .nav-links a:focus-visible, .mobile-nav a:focus-visible { outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}
