: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: linear-gradient(100deg, #FF2E88, #8B5CF6 55%, #FFC86B);
  --shadow: 0 18px 55px rgba(0,0,0,.42);
  --radius-card: 16px;
  --radius-btn: 999px;
}

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 滚动条 */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,.03); }
::-webkit-scrollbar-thumb { background: var(--grad); border-radius: 4px; box-shadow: 0 0 12px var(--pink); }

a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; font-family: inherit; }

/* 通用容器 */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* 滚动渐入 */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.js .rv.on { opacity: 1; transform: none; }
html:not(.js) .rv { opacity: 1; transform: none; }

/* 导航 */
nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; transition: background .3s, backdrop-filter .3s, border .3s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(7,6,11,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.nav-brand img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--soft); }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--grad); color: #fff; padding: 8px 20px; border-radius: var(--radius-btn);
  font-size: 14px; font-weight: 600;
}

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

/* 弹窗 */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center; z-index: 200; padding: 24px;
}
.modal-overlay.active { display: flex; }
.modal {
  background: #121016; border: 1px solid var(--line); border-radius: 20px;
  padding: 32px; max-width: 400px; width: 100%; text-align: center;
  transform: scale(.94); opacity: 0; transition: transform .3s, opacity .3s;
  box-shadow: var(--shadow);
}
.modal-overlay.active .modal { transform: scale(1); opacity: 1; }
.modal h3 { font-size: 22px; margin-bottom: 12px; color: var(--ink); }
.modal p { font-size: 14px; color: var(--soft); margin-bottom: 24px; }
.modal .btn { width: 100%; margin-bottom: 12px; }
.modal small { font-size: 12px; color: var(--muted); }

/* 按钮通用 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; border-radius: var(--radius-btn); font-weight: 600; font-size: 15px;
  transition: transform .2s, box-shadow .2s;
}
.btn-primary { background: var(--grad); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,46,136,.3); }
.btn-outline { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn-outline:hover { background: var(--panel); }

/* 01 Hero */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden; padding: 100px 24px 60px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(110px); opacity: .45;
}
.blob-1 { width: 500px; height: 500px; background: var(--pink); top: -10%; left: -10%; animation: drift1 18s infinite alternate; }
.blob-2 { width: 600px; height: 600px; background: var(--violet); bottom: -20%; right: -10%; animation: drift2 20s infinite alternate; }
.blob-3 { width: 400px; height: 400px; background: var(--gold); top: 30%; left: 40%; animation: drift3 22s infinite alternate; }
@keyframes drift1 { from { transform: translate(0,0); } to { transform: translate(80px, 60px); } }
@keyframes drift2 { from { transform: translate(0,0); } to { transform: translate(-70px, -50px); } }
@keyframes drift3 { from { transform: translate(0,0); } to { transform: translate(50px, -70px); } }

.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-btn);
  padding: 6px 16px; font-size: 13px; color: var(--gold); margin-bottom: 24px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #ff3b3b; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

h1 {
  font-size: clamp(28px, 5vw, 52px); font-weight: 800; line-height: 1.2; margin-bottom: 20px;
}
h1 .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 16px; color: var(--soft); margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }

/* 跑马灯数据 */
.trust-bar {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255,46,136,.05), rgba(139,92,246,.05));
  overflow: hidden; white-space: nowrap; padding: 24px 0;
}
.trust-track { display: inline-flex; gap: 48px; animation: scroll 28s linear infinite; padding-left: 26px; }
.trust-track:hover { animation-play-state: paused; }
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.trust-item strong { font-size: 28px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trust-item span { font-size: 13px; color: var(--muted); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 03 热播推荐 */
.section { padding: 80px 0; }
.section-title { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.section-desc { color: var(--soft); margin-bottom: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-card);
  overflow: hidden; position: relative; transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-cover { position: relative; aspect-ratio: 3/4; overflow: hidden; }
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-cover img { transform: scale(1.04); }
.card-info { padding: 16px; }
.card-info h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.tag-group { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font-size: 11px; padding: 2px 8px; background: rgba(255,255,255,.08); border-radius: 4px; color: var(--soft); }

/* 04 分类剧场 */
.cat-row { display: flex; gap: 48px; margin-bottom: 60px; align-items: center; }
.cat-row:nth-child(even) { flex-direction: row-reverse; }
.cat-img { flex: 1; border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 16/10; position: relative; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-text { flex: 1; }
.cat-text h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.cat-text h3::first-letter { color: var(--pink); }
.cat-text p { color: var(--soft); margin-bottom: 20px; }
.cat-link { color: var(--gold); font-size: 14px; font-weight: 600; }

/* 05 成绩横幅 */
.banner {
  background: linear-gradient(135deg, rgba(255,46,136,.15), rgba(139,92,246,.15));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 60px 24px; text-align: center; position: relative; overflow: hidden;
}
.banner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.banner-item strong { font-size: 36px; font-weight: 800; display: block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.banner-item span { font-size: 13px; color: var(--soft); }

/* 06 追剧流程 */
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-item { text-align: center; padding: 24px; background: var(--panel); border-radius: var(--radius-card); border: 1px solid var(--line); }
.step-icon { font-size: 32px; margin-bottom: 12px; color: var(--pink); }
.step-item h3 { font-size: 16px; margin-bottom: 8px; }
.step-item p { font-size: 13px; color: var(--soft); }

/* 07 片花轮播 */
.carousel-wrap { position: relative; aspect-ratio: 21/9; border-radius: var(--radius-card); overflow: hidden; }
.carousel-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s, transform .6s; transform: scale(1.05); }
.carousel-slide.active { opacity: 1; transform: scale(1); }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-caption { position: absolute; bottom: 0; left: 0; padding: 32px; background: linear-gradient(0deg, rgba(0,0,0,.9), transparent); width: 50%; }
.carousel-caption h3 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.carousel-caption p { font-size: 14px; color: var(--soft); }

/* 08 创作者 */
.creator-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.creator-card { text-align: center; position: relative; }
.avatar-wrap { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 12px; background: linear-gradient(135deg, var(--pink), var(--violet)); display: flex; align-items: center; justify-content: center; position: relative; }
.avatar-wrap img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; position: absolute; inset: 0; }
.creator-card h4 { font-size: 14px; margin-bottom: 4px; }
.creator-card p { font-size: 12px; color: var(--muted); }

/* 09 会员 */
.member-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: center; }
.member-card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 32px; text-align: center; }
.member-card.featured { transform: scale(1.04); border: 2px solid transparent; background-clip: padding-box; position: relative; }
.member-card.featured::before { content: ""; position: absolute; inset: -2px; background: var(--grad); border-radius: 22px; z-index: -1; }
.member-card h3 { font-size: 20px; margin-bottom: 16px; }
.member-card .price { font-size: 34px; font-weight: 800; margin-bottom: 24px; }
.member-card .price span { font-size: 14px; font-weight: 400; color: var(--muted); }
.member-card ul { list-style: none; text-align: left; margin-bottom: 24px; }
.member-card li { font-size: 14px; color: var(--soft); margin-bottom: 10px; }
.member-card li::before { content: "✓"; color: var(--pink); margin-right: 8px; }

/* 10 评价与弹幕 */
.review-track { display: flex; gap: 24px; overflow: hidden; margin-bottom: 16px; }
.review-inner { display: flex; gap: 24px; animation: scroll 46s linear infinite; padding-left: 26px; }
.review-inner.reverse { animation-direction: reverse; animation-duration: 58s; }
.review-inner:hover { animation-play-state: paused; }
.review-card { min-width: 300px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 20px; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-head .name { font-size: 14px; font-weight: 600; }
.review-stars { color: var(--gold); font-size: 12px; }
.review-text { font-size: 13px; color: var(--soft); }

.danmaku-bar {
  height: 56px; border-radius: 12px; border: 1px solid var(--line);
  overflow: hidden; position: relative; margin-bottom: 32px; display: flex; flex-direction: column; justify-content: center; gap: 4px;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.danmaku-line { display: flex; gap: 32px; white-space: nowrap; animation: scroll 30s linear infinite; font-size: 12.5px; color: rgba(255,255,255,.42); }
.danmaku-line:nth-child(2) { animation-duration: 35s; animation-direction: reverse; }

/* 11 FAQ */
.faq-item { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; background: var(--panel); }
.faq-item summary { padding: 20px; font-weight: 600; cursor: pointer; 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(--muted); transition: transform .3s, color .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--pink); }
.faq-item p { padding: 0 20px 20px; font-size: 14px; color: var(--soft); }

/* 12 页脚 CTA + 页脚 */
.footer-cta { text-align: center; padding: 80px 24px; position: relative; overflow: hidden; }
.footer-cta h2 { font-size: 32px; margin-bottom: 16px; }
.footer-cta p { color: var(--soft); margin-bottom: 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; padding: 60px 24px; border-top: 1px solid var(--line); max-width: 1200px; margin: 0 auto; }
.footer-brand img { height: 32px; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; color: var(--muted); }
.footer-col h4 { font-size: 14px; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: var(--soft); margin-bottom: 10px; }
.footer-bottom { text-align: center; padding: 24px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); }
.footer-bottom a { color: var(--muted); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .creator-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-row { flex-direction: column !important; gap: 24px; }
  .banner-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .hero { min-height: auto; padding-top: 120px; }
  h1 { font-size: clamp(27px, 8vw, 40px); }
  .trust-track { gap: 28px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .member-grid { grid-template-columns: 1fr; }
  .member-card.featured { transform: none; }
  .creator-grid { grid-template-columns: repeat(3, 1fr); }
  .carousel-wrap { aspect-ratio: 4/3; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .step-grid { grid-template-columns: 1fr; }
  .banner-grid { gap: 32px; }
  .carousel-caption { width: 100%; }
}