:root {
  --bg-base: #0f0c12;
  --bg-gradient: linear-gradient(135deg, #1a1018 0%, #120e14 100%);
  --primary: #e63a78;
  --primary-light: #ff6b9d;
  --secondary: #8c52ff;
  --text-main: #f0e6ed;
  --text-muted: #a89ba3;
  --card-bg: rgba(255, 255, 255, 0.04);
  --border-radius: 16px;
  --transition: all 0.3s ease;
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
body { background: var(--bg-base); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* 全局容器 */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 头部 & 导航 */
header { position: sticky; top: 0; z-index: 100; background: rgba(15, 12, 18, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,0.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 32px; border-radius: 6px; }
.brand span { font-size: 18px; font-weight: 700; color: #fff; letter-spacing: 1px; }
.nav-links { display: flex; gap: 20px; }
.nav-links a { font-size: 14px; color: var(--text-muted); position: relative; padding: 6px 0; transition: var(--transition); }
.nav-links a:hover { color: var(--primary-light); }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background: var(--primary); transition: var(--transition); border-radius: 2px; }
.nav-links a:hover::after { width: 100%; }
.menu-toggle { display: none; font-size: 24px; color: #fff; background: none; border: none; cursor: pointer; }

/* 首屏 */
.hero { position: relative; padding: 60px 0 0; background: radial-gradient(circle at 50% -20%, #2a0a18 0%, var(--bg-base) 70%); overflow: hidden; }
.hero-content { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.hero-text { text-align: center; max-width: 800px; z-index: 2; }
.hero-text h1 { font-size: 32px; line-height: 1.3; margin-bottom: 16px; background: linear-gradient(to right, #fff, var(--primary-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; font-weight: 800; }
.hero-text p { color: var(--text-muted); font-size: 15px; margin-bottom: 24px; }
.hero-btns { 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: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: var(--transition); border: none; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; box-shadow: 0 4px 15px rgba(230, 58, 120, 0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(230, 58, 120, 0.6); }
.btn-outline { border: 1px solid rgba(255,255,255,0.2); color: #fff; background: rgba(255,255,255,0.05); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); }
.hero-images { display: flex; justify-content: center; gap: 16px; max-width: 900px; margin: 0 auto; padding: 0 10px; width: 100%; z-index: 2; }
.hero-images img { width: calc(33.333% - 11px); aspect-ratio: 3/4; object-fit: cover; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.5); transition: var(--transition); border: 1px solid rgba(255,255,255,0.1); }
.hero-images img:hover { transform: scale(1.02); border-color: var(--primary-light); }

/* 跑马灯 */
.marquee-wrap { margin-top: 40px; padding: 12px 0; background: rgba(0,0,0,0.3); border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); overflow: hidden; white-space: nowrap; }
.marquee-content { display: inline-block; animation: marquee 25s linear infinite; }
.marquee-content span { display: inline-block; padding: 0 20px; font-size: 16px; font-weight: 700; background: linear-gradient(90deg, #ff6b9d, #8c52ff, #ff6b9d); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* 通用 Section */
section { padding: 60px 0; position: relative; }
.section-title { font-size: 24px; font-weight: 700; margin-bottom: 8px; text-align: center; color: #fff; }
.section-desc { text-align: center; color: var(--text-muted); font-size: 14px; margin-bottom: 40px; }
.grid-layout { display: grid; gap: 20px; }

/* 同款小说魔改 (左右结构) */
.section-novel { background: linear-gradient(180deg, var(--bg-base) 0%, #1a1018 100%); }
.novel-layout { display: flex; gap: 30px; align-items: flex-start; }
.novel-left { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.novel-right { flex: 1.5; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.novel-list-item { background: var(--card-bg); border: 1px solid rgba(255,255,255,0.05); padding: 12px 16px; border-radius: 8px; font-size: 14px; color: var(--text-main); transition: var(--transition); display: flex; align-items: center; gap: 10px; }
.novel-list-item:hover { background: rgba(230, 58, 120, 0.1); border-color: var(--primary); transform: translateX(4px); }
.novel-list-item::before { content: '✦'; color: var(--primary); font-size: 12px; }
.novel-card { background: var(--card-bg); border-radius: 12px; overflow: hidden; position: relative; border: 1px solid rgba(255,255,255,0.05); cursor: pointer; }
.novel-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; transition: var(--transition); }
.novel-card:hover img { transform: scale(1.05); }
.novel-card .tag { position: absolute; bottom: 8px; left: 8px; background: rgba(0,0,0,0.7); backdrop-filter: blur(4px); padding: 4px 8px; border-radius: 4px; font-size: 12px; color: #fff; }

/* AI短剧 */
.section-ai { background: #120e14; }
.ai-layout { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.ai-card { background: linear-gradient(145deg, #1c1620, #120e14); border-radius: 12px; padding: 20px; border: 1px solid rgba(140, 82, 255, 0.2); transition: var(--transition); display: flex; flex-direction: column; gap: 10px; }
.ai-card:hover { border-color: var(--secondary); box-shadow: 0 8px 24px rgba(140, 82, 255, 0.15); transform: translateY(-4px); }
.ai-card h3 { font-size: 16px; color: #fff; }
.ai-card p { font-size: 13px; color: var(--text-muted); flex: 1; }
.ai-card .meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--secondary); border-top: 1px solid rgba(255,255,255,0.05); padding-top: 10px; }

/* 完结魔改剧 (时间轴) */
.section-complete { background: linear-gradient(135deg, #1a1018 0%, #0f0c12 100%); }
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding: 20px 0; }
.timeline::before { content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--primary), transparent); }
.timeline-item { position: relative; padding-left: 50px; margin-bottom: 30px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot { position: absolute; left: 14px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 10px var(--primary); }
.timeline-time { font-size: 14px; font-weight: 700; color: var(--primary-light); margin-bottom: 6px; }
.timeline-content { background: var(--card-bg); padding: 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); display: flex; gap: 16px; align-items: center; }
.timeline-content img { width: 60px; height: 80px; object-fit: cover; border-radius: 6px; }
.timeline-info h4 { font-size: 15px; color: #fff; margin-bottom: 4px; }
.timeline-info p { font-size: 13px; color: var(--text-muted); }

/* 本周热播榜 */
.section-hot { background: #120e14; }
.hot-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hot-card { position: relative; border-radius: 12px; overflow: hidden; display: flex; align-items: flex-end; aspect-ratio: 16/9; background: #222; }
.hot-card img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: var(--transition); }
.hot-card:hover img { opacity: 1; transform: scale(1.05); }
.hot-info { position: relative; z-index: 2; padding: 20px; width: 100%; background: linear-gradient(transparent, rgba(0,0,0,0.9)); }
.hot-info h3 { font-size: 18px; color: #fff; margin-bottom: 8px; }
.hot-info p { font-size: 13px; color: #ccc; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rank-badge { position: absolute; top: 12px; left: 12px; background: var(--primary); color: #fff; font-weight: bold; font-size: 14px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 6px; z-index: 3; }

/* 会员权益 */
.section-vip { background: linear-gradient(180deg, #1a1018 0%, #0f0c12 100%); }
.vip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vip-item { background: var(--card-bg); border-radius: 12px; padding: 24px; text-align: center; border: 1px solid rgba(255,255,255,0.05); transition: var(--transition); }
.vip-item:hover { border-color: var(--primary); background: rgba(230, 58, 120, 0.05); }
.vip-item h3 { font-size: 16px; color: var(--primary-light); margin-bottom: 12px; }
.vip-item p { font-size: 13px; color: var(--text-muted); }

/* 隐私安全 & 意见反馈 */
.section-privacy { background: #120e14; }
.faq-layout { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 12px; background: var(--card-bg); border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); overflow: hidden; }
.faq-q { padding: 16px; font-size: 15px; font-weight: 600; color: #fff; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-q::after { content: '+'; color: var(--primary); font-size: 18px; transition: var(--transition); }
.faq-item.active .faq-q::after { transform: rotate(45deg); }
.faq-a { padding: 0 16px 16px; font-size: 14px; color: var(--text-muted); display: none; }
.faq-item.active .faq-a { display: block; }

/* 评论区 */
.section-comments { background: #0f0c12; }
.comment-list { display: flex; flex-direction: column; gap: 16px; max-width: 800px; margin: 0 auto; }
.comment-item { display: flex; gap: 12px; background: var(--card-bg); padding: 16px; border-radius: 12px; }
.comment-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.comment-avatar img { width: 100%; height: 100%; object-fit: cover; }
.comment-body { flex: 1; }
.comment-name { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.comment-text { font-size: 13px; color: var(--text-muted); }

/* 下载专区 */
.section-download { background: linear-gradient(135deg, #1a1018 0%, #0f0c12 100%); padding-bottom: 100px; }
.download-box { display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 40px; gap: 40px; }
.download-text { flex: 1; }
.download-text h2 { font-size: 22px; color: #fff; margin-bottom: 12px; }
.download-text p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.download-steps { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.download-steps li { font-size: 13px; color: var(--text-main); display: flex; align-items: center; gap: 8px; }
.download-steps li::before { content: '▶'; color: var(--primary); font-size: 10px; }
.download-img { flex: 0 0 280px; }
.download-img img { border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }

/* 浮动下载 */
.float-download { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: rgba(18, 14, 20, 0.95); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); border-radius: 50px; padding: 8px 12px 8px 8px; display: flex; align-items: center; gap: 12px; z-index: 999; box-shadow: 0 10px 30px rgba(0,0,0,0.5); transition: var(--transition); }
.float-download:hover { border-color: var(--primary); }
.float-download img { width: 40px; height: 40px; border-radius: 8px; }
.float-text { display: flex; flex-direction: column; padding-right: 8px; }
.float-text strong { font-size: 14px; color: #fff; }
.float-text span { font-size: 11px; color: var(--text-muted); }
.float-btn { background: var(--primary); color: #fff; padding: 8px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; white-space: nowrap; }

/* 弹窗 */
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.8); z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-content { background: #1c1620; border-radius: 16px; padding: 24px; max-width: 400px; width: 100%; text-align: center; border: 1px solid rgba(255,255,255,0.1); }
.modal-content p { font-size: 15px; color: #fff; margin-bottom: 20px; }
.modal-link-box { background: #0f0c12; padding: 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); word-break: break-all; font-size: 13px; color: var(--text-muted); margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.modal-link { text-align: left; flex: 1; }
.copy-btn { background: var(--primary); color: #fff; border: none; padding: 8px 16px; border-radius: 6px; cursor: pointer; font-size: 13px; font-weight: 600; flex-shrink: 0; }
.close-btn { background: transparent; color: var(--text-muted); border: 1px solid var(--text-muted); padding: 10px 20px; border-radius: 8px; cursor: pointer; font-size: 14px; width: 100%; }

/* Footer */
footer { background: #0a080c; padding: 40px 0 100px; border-top: 1px solid rgba(255,255,255,0.05); font-size: 12px; color: var(--text-muted); }
.footer-inner { display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.footer-nav a { color: var(--text-muted); transition: var(--transition); }
.footer-nav a:hover { color: var(--primary-light); }
.footer-info { line-height: 1.8; }
.footer-info a { color: var(--text-muted); text-decoration: none; }
.footer-info a:hover { color: var(--text-main); }

/* 响应式 */
@media (max-width: 1024px) {
  .novel-layout { flex-direction: column; }
  .novel-right { width: 100%; }
  .vip-grid { grid-template-columns: 1fr 1fr; }
  .download-box { flex-direction: column-reverse; text-align: center; }
  .download-img { flex: 0 0 auto; width: 100%; max-width: 280px; margin: 0 auto; }
  .download-steps { align-items: center; }
}
@media (max-width: 768px) {
  .nav-links { display: none; width: 100%; flex-direction: column; position: absolute; top: 64px; left: 0; background: rgba(15, 12, 18, 0.98); padding: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-links.active { display: flex; }
  .menu-toggle { display: block; }
  .hero-text h1 { font-size: 24px; }
  .hero-images { flex-direction: column; align-items: center; }
  .hero-images img { width: 100%; max-width: 320px; aspect-ratio: 3/4; }
  .hero-images img:nth-child(2) { display: none; }
  .hero-images img:nth-child(3) { display: none; }
  .hot-layout { grid-template-columns: 1fr; }
  .vip-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 10px; }
  .timeline-dot { left: 4px; }
  .timeline-item { padding-left: 30px; }
  .timeline-content { flex-direction: column; text-align: center; }
  .timeline-content img { width: 100%; height: auto; max-width: 200px; }
  .float-download { width: calc(100% - 40px); max-width: 400px; justify-content: space-between; }
  .float-text { display: none; }
  .download-box { padding: 20px; }
}