:root {
  --bg: #07060B;
  --panel: rgba(255,255,255,.045);
  --ink: #F6F1F7;
  --soft: #B8AFC6;
  --muted: #7E758F;
  --pink: #FF2E88;
  --violet: #8B5CF6;
  --gold: #FFC86B;
  --line: rgba(255,255,255,.09);
  --grad: 100deg, #FF2E88, #8B5CF6 55%, #FFC86B;
  --shadow: 0 18px 55px rgba(0,0,0,.42);
  --r-card: 18px;
  --r-pill: 999px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,.03); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--pink), var(--violet)); border-radius: 8px; box-shadow: 0 0 12px rgba(255,46,136,.4); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.grad-text {
  background: linear-gradient(var(--grad));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 15px; cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  border: none; outline: none;
}
.btn-primary {
  background: linear-gradient(var(--grad));
  color: #fff; position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  animation: shine 3.4s infinite;
}
@keyframes shine { 0% { left: -100%; } 100% { left: 200%; } }
.btn-ghost {
  background: var(--panel); border: 1px solid var(--line); color: var(--ink);
}
.btn-ghost:hover { border-color: var(--pink); color: var(--pink); }

/* 导航 */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  padding: 18px 0; transition: background .3s, backdrop-filter .3s, border-bottom .3s;
}
.nav.scrolled {
  background: rgba(7,6,11,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.nav .container { display: flex; justify-content: space-between; align-items: center; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; }
.nav-logo img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 28px; font-size: 15px; color: var(--soft); }
.nav-links a:hover { color: var(--pink); }
.nav-cta { display: block; }
@media (max-width: 1024px) {
  .nav-links { display: none; }
}

/* Hero */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 120px 0 80px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(110px); opacity: .5;
  animation: move 18s infinite alternate ease-in-out;
}
.blob-1 { width: 500px; height: 500px; background: var(--pink); top: 10%; left: 10%; }
.blob-2 { width: 600px; height: 600px; background: var(--violet); bottom: 0; right: 5%; animation-duration: 22s; }
.blob-3 { width: 400px; height: 400px; background: var(--gold); top: 40%; left: 40%; opacity: .2; animation-duration: 14s; }
@keyframes move { 0% { transform: translate(0, 0); } 100% { transform: translate(60px, -40px); } }

.poster-wall {
  position: absolute; inset: 0; z-index: -1;
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 16px; padding: 20px;
  transform: perspective(1000px) rotateY(-14deg) rotateX(6deg) scale(1.1);
  opacity: .15;
  mask-image: radial-gradient(circle at center, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 20%, transparent 80%);
  animation: drift 40s linear infinite;
}
@keyframes drift { 0% { transform: perspective(1000px) rotateY(-14deg) rotateX(6deg) scale(1.1) translateY(0); } 100% { transform: perspective(1000px) rotateY(-14deg) rotateX(6deg) scale(1.1) translateY(-50%); } }
.poster-card { aspect-ratio: 3/4; border-radius: 8px; }

.hero-content { position: relative; z-index: 10; padding: 0 20px; max-width: 900px; }
.badge {
  display: inline-block; padding: 6px 16px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.05); border: 1px solid var(--line);
  font-size: 13px; color: var(--soft); margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(32px, 6vw, 64px);
  line-height: 1.2; font-weight: 800; margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: clamp(15px, 2vw, 18px); color: var(--soft); margin-bottom: 40px;
  max-width: 600px; margin-left: auto; margin-right: auto;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; margin-bottom: 60px; }
.scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  color: var(--muted); font-size: 13px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
@media (max-width: 720px) {
  .hero-cta { flex-direction: column; }
  .scroll-hint { display: none; }
  .hero h1 { font-size: clamp(27px, 8vw, 40px); }
}

/* 数据栏 */
.stats-strip {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, transparent, rgba(255,46,136,.05), transparent);
  padding: 24px 0; overflow: hidden; white-space: nowrap;
}
.stats-track {
  display: flex; gap: 60px; align-items: center; padding-left: 26px;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.stats-track:hover { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-num { font-size: 24px; font-weight: 800; }
.stat-label { font-size: 12px; color: var(--soft); }

/* 通用区块 */
section { padding: 80px 0; }
.section-header { margin-bottom: 48px; }
.section-header h2 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 12px; }
.section-header p { color: var(--soft); font-size: 15px; }

/* 热播推荐 */
.grid-posters {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.poster-item {
  position: relative; border-radius: var(--r-card); overflow: hidden;
  aspect-ratio: 3/4; background: #111;
  transition: transform .3s, box-shadow .3s;
}
.poster-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.poster-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.poster-item:hover img { transform: scale(1.04); }
.poster-tag {
  position: absolute; top: 10px; right: 10px; padding: 4px 10px;
  border-radius: var(--r-pill); background: rgba(0,0,0,.6); backdrop-filter: blur(4px);
  font-size: 11px; color: var(--gold); border: 1px solid rgba(255,200,107,.3);
}
.poster-info {
  position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px 14px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.9));
}
.poster-title { font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.poster-tags { display: flex; gap: 6px; }
.poster-tags span { font-size: 11px; color: var(--soft); background: rgba(255,255,255,.1); padding: 2px 6px; border-radius: 4px; }
@media (max-width: 1024px) { .grid-posters { grid-template-columns: repeat(2, 1fr); } }

/* 分类剧场 */
.cat-row {
  display: flex; align-items: center; gap: 48px; margin-bottom: 60px;
}
.cat-row:nth-child(even) { flex-direction: row-reverse; }
.cat-img {
  flex: 1; aspect-ratio: 16/10; border-radius: var(--r-card); overflow: hidden;
  border: 1px solid var(--line); position: relative;
}
.cat-img img { width: 100%; height: 100%; object-fit: cover; animation: float 7s infinite ease-in-out; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.cat-text { flex: 1; }
.cat-text h3 { font-size: 28px; margin-bottom: 16px; }
.cat-text h3 span { color: var(--pink); }
.cat-text p { color: var(--soft); margin-bottom: 24px; font-size: 15px; }
@media (max-width: 1024px) { .cat-row, .cat-row:nth-child(even) { flex-direction: column; gap: 24px; } }

/* 成绩横幅 */
.banner {
  background: linear-gradient(135deg, rgba(139,92,246,.15), rgba(255,46,136,.1));
  border: 1px solid var(--line); border-radius: 24px; padding: 60px 40px;
  position: relative; overflow: hidden;
}
.banner-stats { display: flex; justify-content: space-around; text-align: center; margin-bottom: 40px; }
.banner-num { font-size: 40px; font-weight: 800; margin-bottom: 8px; }
.banner-label { color: var(--soft); font-size: 14px; }
.top3 { display: flex; flex-direction: column; gap: 12px; max-width: 600px; margin: 0 auto; }
.top3-item { display: flex; align-items: center; gap: 16px; font-size: 15px; }
.top3-rank { font-size: 24px; font-weight: 800; color: transparent; -webkit-text-stroke: 1px var(--gold); }

/* 追剧流程 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.step { padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card); }
.step-num { font-size: 32px; font-weight: 800; margin-bottom: 16px; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; text-align: left; display: flex; gap: 16px; } .step { flex: 1; display: flex; align-items: center; gap: 16px; padding: 16px; } .step-num { margin-bottom: 0; font-size: 24px; } }

/* 创作者 */
.creators { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.creator-card { text-align: center; }
.avatar {
  width: 100%; aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(var(--grad)); padding: 3px; margin-bottom: 12px;
}
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #2a1c3e; }
@media (max-width: 1024px) { .creators { grid-template-columns: repeat(3, 1fr); } }

/* 会员与 FAQ */
.vip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vip-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-card); padding: 32px; }
.vip-price { font-size: 34px; font-weight: 800; margin: 16px 0; }
.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-item summary { cursor: pointer; font-weight: 600; outline: none; }
.faq-item p { margin-top: 12px; color: var(--soft); font-size: 14px; }
@media (max-width: 720px) { .vip-grid { grid-template-columns: 1fr; } }

/* 页脚 */
.footer { border-top: 1px solid var(--line); padding: 60px 0 30px; background: #09080e; }
.footer-col { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { font-size: 15px; margin-bottom: 20px; color: var(--ink); }
.footer a { color: var(--muted); font-size: 14px; display: block; margin-bottom: 12px; }
.footer a:hover { color: var(--pink); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; }
@media (max-width: 1024px) { .footer-col { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .footer-col { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; gap: 12px; } }

/* 浮动按钮 */
.floaters { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 12px; z-index: 90; }
.float-btn {
  width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.05);
  border: 1px solid var(--line); backdrop-filter: blur(10px); display: flex;
  align-items: center; justify-content: center; cursor: pointer; transition: transform .2s;
}
.float-btn:hover { transform: translateY(-4px); border-color: var(--pink); }

/* 动画/JS 兜底 */
html:not(.js) .rv { opacity: 1 !important; transform: none !important; }
.rv { opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s; }
.rv.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .rv { opacity: 1 !important; transform: none !important; }
}