:root {
  --bg-main: #0f111a;
  --bg-card: #1a1d2b;
  --text-main: #f2f3f5;
  --text-muted: #a0a4b8;
  --accent: #ff3366;
  --accent-grad: linear-gradient(90deg, #ff3366, #ff9933, #ff3366);
  --neon-cyan: #00f0ff;
  --neon-purple: #9d4edd;
  --border-light: rgba(255,255,255,0.08);
  --radius-md: 12px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; object-fit: cover; }

/* 通用布局 */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-title { font-size: 28px; font-weight: 800; margin-bottom: 12px; text-align: center; }
.section-desc { font-size: 16px; color: var(--text-muted); text-align: center; margin-bottom: 40px; }
.tag { display: inline-block; padding: 4px 10px; background: rgba(255,51,102,0.15); color: var(--accent); border-radius: 4px; font-size: 12px; margin-right: 6px; margin-bottom: 6px; }

/* 头部下划线等创意交互 */
.nav-link { position: relative; padding: 10px 0; color: var(--text-muted); transition: color 0.3s; font-size: 15px; font-weight: 500; }
.nav-link:hover { color: var(--accent); }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: var(--accent-grad); transition: all 0.3s; transform: translateX(-50%); }
.nav-link:hover::after { width: 100%; }

/* 跑马灯 */
.marquee-wrap { overflow: hidden; white-space: nowrap; background: #000; padding: 12px 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.marquee-content { display: inline-block; animation: marquee 20s linear infinite; }
.marquee-content span { font-size: 18px; font-weight: bold; margin-right: 40px; background: var(--accent-grad); -webkit-background-clip: text; color: transparent; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* 首屏 */
.hero { padding: 60px 0 40px; background: radial-gradient(circle at top, rgba(157,78,221,0.15), transparent 60%); position: relative; }
.hero-header { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.logo-img { height: 36px; border-radius: 6px; }
.brand-name { font-size: 24px; font-weight: 800; background: var(--accent-grad); -webkit-background-clip: text; color: transparent; }
.hero-content { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero h1 { font-size: 42px; line-height: 1.3; margin-bottom: 16px; }
.hero-sub { font-size: 18px; color: var(--text-muted); max-width: 800px; margin-bottom: 30px; }
.download-group { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: 30px; font-weight: 600; font-size: 15px; border: 1px solid var(--border-light); background: var(--bg-card); color: var(--text-main); transition: all 0.3s; cursor: pointer; }
.btn:hover { background: rgba(255,255,255,0.1); border-color: var(--accent); }
.btn-primary { background: var(--accent-grad); border: none; color: #fff; }
.btn-primary:hover { opacity: 0.9; transform: translateY(-2px); }

/* 导航栏 */
.nav-bar { display: flex; justify-content: center; gap: 30px; padding: 20px 0; border-bottom: 1px solid var(--border-light); position: sticky; top: 0; background: rgba(15,17,26,0.9); backdrop-filter: blur(10px); z-index: 100; overflow-x: auto; white-space: nowrap; }
.nav-bar::-webkit-scrollbar { display: none; }
@media (max-width: 768px) {
  .nav-bar { justify-content: flex-start; padding: 20px 10px; }
  .hero h1 { font-size: 30px; }
}

/* 模块 1：经典剧场 */
.sec-classic { background: #fdfdfd; color: #222; padding: 60px 0; }
.sec-classic .section-title { color: #111; }
.sec-classic .section-desc { color: #666; }
.grid-classic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card-classic { background: #fff; border: 1px solid #eee; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.05); transition: transform 0.3s; }
.card-classic:hover { transform: translateY(-5px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.card-classic img { aspect-ratio: 3/4; width: 100%; }
.card-classic-body { padding: 12px; }
.card-classic-title { font-size: 16px; font-weight: bold; margin-bottom: 6px; color: #111; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-classic-meta { font-size: 12px; color: #888; display: flex; justify-content: space-between; margin-bottom: 8px; }
.card-classic-desc { font-size: 13px; color: #555; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

@media (max-width: 1024px) { .grid-classic { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .grid-classic { grid-template-columns: repeat(2, 1fr); } }

/* 模块 2：深夜心跳剧场（暗黑结构） */
.sec-night { background: #0a0a0f; padding: 60px 0; border-top: 1px solid #222; }
.sec-night .section-title { color: var(--neon-purple); text-shadow: 0 0 10px rgba(157,78,221,0.5); }
.list-night { display: flex; flex-direction: column; gap: 16px; }
.item-night { display: flex; gap: 20px; background: #15151e; border-radius: 12px; padding: 16px; align-items: center; border: 1px solid rgba(157,78,221,0.2); transition: border-color 0.3s; }
.item-night:hover { border-color: var(--neon-purple); }
.item-night img { width: 80px; height: 110px; border-radius: 8px; flex-shrink: 0; }
.item-night-info { flex: 1; }
.item-night-title { font-size: 18px; font-weight: bold; color: #fff; margin-bottom: 6px; }
.item-night-desc { font-size: 14px; color: #888; margin-bottom: 10px; }
.item-night-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #666; }

/* 模块 3：原著联动区（时间轴风格） */
.sec-original { background: #f4f0ec; color: #333; padding: 60px 0; }
.sec-original .section-title { color: #3e2723; }
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 30px; border-left: 2px solid #d7ccc8; }
.timeline-item { position: relative; margin-bottom: 30px; }
.timeline-item::before { content: ''; position: absolute; left: -37px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #8d6e63; border: 2px solid #f4f0ec; }
.timeline-time { font-size: 14px; font-weight: bold; color: #8d6e63; margin-bottom: 6px; }
.timeline-content { background: #fff; padding: 16px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.timeline-content h3 { font-size: 16px; margin-bottom: 6px; color: #3e2723; }
.timeline-content p { font-size: 14px; color: #666; }

/* 模块 4：全集短剧（左右均分图文结构） */
.sec-full { background: #eef2f5; color: #222; padding: 60px 0; }
.full-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.full-img-box img { border-radius: 16px; aspect-ratio: 3/4; width: 100%; }
.full-list { display: flex; flex-direction: column; gap: 16px; }
.full-item { background: #fff; padding: 16px; border-radius: 8px; display: flex; gap: 16px; }
.full-item img { width: 60px; height: 80px; border-radius: 4px; flex-shrink: 0; }
.full-item h3 { font-size: 16px; margin-bottom: 4px; }
.full-item p { font-size: 13px; color: #666; }
@media (max-width: 768px) { .full-split { grid-template-columns: 1fr; } }

/* 模块 5：AI剧场（问答/特色风格） */
.sec-ai { background: #1a1a24; padding: 60px 0; }
.qa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.qa-card { background: #242430; padding: 24px; border-radius: 12px; border-left: 4px solid var(--neon-cyan); }
.qa-q { font-size: 16px; font-weight: bold; color: var(--neon-cyan); margin-bottom: 12px; }
.qa-a { font-size: 14px; color: #a0a4b8; }
@media (max-width: 768px) { .qa-grid { grid-template-columns: 1fr; } }

/* 模块 6：用户神评墙 */
.sec-review { background: #fff8f0; color: #333; padding: 60px 0; }
.review-wall { columns: 3; column-gap: 20px; }
.review-card { background: #fff; padding: 20px; border-radius: 12px; margin-bottom: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); break-inside: avoid; }
.review-user { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.review-user img { width: 32px; height: 32px; border-radius: 50%; object-fit: contain; background: #f0f0f0; padding: 4px; }
.review-name { font-size: 14px; font-weight: bold; }
.review-text { font-size: 14px; color: #555; }
@media (max-width: 1024px) { .review-wall { columns: 2; } }
@media (max-width: 768px) { .review-wall { columns: 1; } }

/* 模块 7：未成年人保护 */
.sec-minor { background: #e8f5e9; color: #2e7d32; padding: 60px 0; }
.minor-box { max-width: 800px; margin: 0 auto; background: #fff; padding: 30px; border-radius: 12px; border: 1px solid #c8e6c9; }
.minor-box h3 { font-size: 18px; margin-bottom: 12px; }
.minor-box p { font-size: 15px; color: #555; margin-bottom: 16px; line-height: 1.8; }

/* 模块 8：意见反馈 */
.sec-feedback { background: #f9f9f9; color: #333; padding: 60px 0; }
.feedback-form { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.feedback-form input, .feedback-form textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 15px; font-family: inherit; }
.feedback-form textarea { resize: vertical; min-height: 120px; }
.feedback-form button { align-self: flex-start; }

/* 模块 9：下载专区 */
.sec-download { background: var(--bg-main); padding: 60px 0; }
.download-steps { max-width: 800px; margin: 0 auto 40px; display: flex; flex-direction: column; gap: 20px; }
.step-item { display: flex; gap: 16px; background: var(--bg-card); padding: 20px; border-radius: 12px; }
.step-num { font-size: 24px; font-weight: bold; color: var(--accent); }
.step-text h3 { font-size: 16px; margin-bottom: 4px; }
.step-text p { font-size: 14px; color: var(--text-muted); }
.download-btns-bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* 浮动下载窗口 */
.float-download { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: rgba(26, 29, 43, 0.95); backdrop-filter: blur(10px); border: 1px solid var(--border-light); padding: 10px 24px; border-radius: 40px; display: flex; align-items: center; gap: 12px; z-index: 999; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.float-download img { height: 24px; border-radius: 4px; }
.float-download a { background: var(--accent-grad); padding: 8px 20px; border-radius: 20px; font-size: 14px; font-weight: bold; color: #fff; }
.float-download .close-btn { cursor: pointer; color: var(--text-muted); font-size: 20px; line-height: 1; display: none; }
@media (max-width: 768px) {
  .float-download { width: 90%; justify-content: space-between; padding: 10px 16px; }
  .float-download .close-btn { display: block; }
}

/* 移动端菜单折叠 (简化版处理，因为顶部导航较多) */
@media (max-width: 768px) {
  .mobile-menu-btn { display: block; background: none; border: none; color: #fff; font-size: 16px; padding: 10px; width: 100%; text-align: left; background-color: var(--bg-main); border-bottom: 1px solid var(--border-light); }
  .nav-bar { display: none; flex-direction: column; gap: 0; }
  .nav-bar.active { display: flex; }
  .nav-link { padding: 12px 20px; border-bottom: 1px solid var(--border-light); }
}
@media (min-width: 769px) { .mobile-menu-btn { display: none; } }

/* 页脚 */
footer { background: #050508; padding: 40px 20px 20px; text-align: center; border-top: 1px solid var(--border-light); }
.footer-content { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.footer-desc { font-size: 13px; color: #666; line-height: 1.6; }
.footer-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: #888; }
.footer-links a:hover { color: var(--text-main); }
.footer-copy { font-size: 12px; color: #444; margin-top: 20px; border-top: 1px solid #111; padding-top: 20px; }
.footer-copy a { color: #444; }