:root {
    --primary: #ff6b35;
    --primary-dark: #e8590c;
    --secondary: #f7c948;
    --bg-base: #fdfbf7;
    --text-main: #2d2422;
    --text-light: #6b5e59;
    --card-bg: #ffffff;
    --border-radius: 16px;
    --shadow-sm: 0 4px 12px rgba(255, 107, 53, 0.08);
    --shadow-md: 0 8px 24px rgba(255, 107, 53, 0.12);
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background-color: var(--bg-base); color: var(--text-main); line-height: 1.6; padding-bottom: 70px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; object-fit: cover; }
ul { list-style: none; }

/* 顶部导航 */
header { position: sticky; top: 0; z-index: 100; background: rgba(253, 251, 247, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,107,53,0.1); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 32px; border-radius: 8px; }
.brand span { font-weight: 700; font-size: 1.2rem; color: var(--primary-dark); }
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--text-main); cursor: pointer; }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--text-light); transition: var(--transition); position: relative; padding: 5px 0; }
.nav-links a:hover { color: var(--primary); }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary); transition: var(--transition); }
.nav-links a:hover::after { width: 100%; }

/* 首屏 Hero */
.hero { max-width: 1200px; margin: 0 auto; padding: 40px 20px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.hero-text { flex: 1 1 300px; }
.hero h1 { font-size: 2.5rem; line-height: 1.3; margin-bottom: 20px; color: var(--text-main); }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 1.1rem; color: var(--text-light); margin-bottom: 30px; }
.download-group { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border-radius: 50px; font-weight: 600; transition: var(--transition); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: #fff4f0; transform: translateY(-2px); }

/* 首屏图文创意 */
.hero-visual { flex: 1 1 300px; position: relative; height: 400px; border-radius: var(--border-radius); overflow: hidden; background: #f0e6e1; display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); gap: 10px; padding: 10px; }
.hero-visual img { border-radius: 12px; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.hero-visual img:hover { transform: scale(1.05); }

/* 跑马灯 */
.marquee-wrap { background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary)); padding: 10px 0; overflow: hidden; white-space: nowrap; }
.marquee-content { display: inline-block; animation: scroll 25s linear infinite; color: #fff; font-weight: 700; font-size: 1.1rem; text-shadow: 1px 1px 2px rgba(0,0,0,0.2); }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* 通用区块 */
section { padding: 60px 20px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 40px; color: var(--text-main); position: relative; }
.section-title::after { content: ''; display: block; width: 60px; height: 4px; background: var(--primary); margin: 12px auto 0; border-radius: 2px; }

/* 经典剧场 */
.sec-classic { background: #fff9f2; }
.classic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card { background: #fff; border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); display: flex; flex-direction: column; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card-img { height: 300px; width: 100%; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.card-desc { font-size: 0.85rem; color: var(--text-light); margin-bottom: 12px; flex: 1; }
.card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.tag { font-size: 0.75rem; padding: 2px 8px; background: #fff4f0; color: var(--primary); border-radius: 4px; }
.card-date { font-size: 0.75rem; color: #999; }

/* 深夜心跳 */
.sec-late { background: #1a1523; color: #fff; }
.sec-late .section-title { color: #fff; }
.sec-late .section-title::after { background: var(--secondary); }
.late-layout { display: flex; gap: 30px; align-items: flex-start; }
.late-img { flex: 1 1 40%; position: relative; border-radius: var(--border-radius); overflow: hidden; }
.late-img img { width: 100%; height: auto; }
.late-list { flex: 1 1 60%; display: flex; flex-direction: column; gap: 15px; }
.late-item { display: flex; gap: 15px; align-items: center; background: rgba(255,255,255,0.05); padding: 15px; border-radius: 12px; border-left: 4px solid var(--secondary); }
.late-time { font-size: 1.2rem; font-weight: 700; color: var(--secondary); min-width: 60px; }
.late-info h3 { font-size: 1rem; margin-bottom: 4px; }
.late-info p { font-size: 0.85rem; color: #ccc; }

/* 原著联动区 */
.sec-original { background: #eef7ff; }
.original-timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 20px; }
.original-timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: #b3d4ff; }
.timeline-item { margin-bottom: 25px; position: relative; padding-left: 20px; }
.timeline-item::before { content: ''; position: absolute; left: -25px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: #007bff; border: 3px solid #fff; box-shadow: 0 0 0 2px #b3d4ff; }
.timeline-item h3 { font-size: 1.1rem; color: #0056b3; margin-bottom: 5px; }
.timeline-item p { font-size: 0.9rem; color: var(--text-light); }

/* 全集短剧 & AI剧场 */
.sec-ai { background: #f4fcf4; }
.grid-mixed { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; }
.ai-card { background: #fff; border-radius: 12px; overflow: hidden; display: flex; align-items: center; gap: 15px; padding: 15px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.ai-card img { width: 60px; height: 80px; border-radius: 8px; }
.ai-text h3 { font-size: 0.95rem; margin-bottom: 5px; }
.ai-text p { font-size: 0.8rem; color: var(--text-light); }

/* 用户神评墙 */
.sec-review { background: #fff0f5; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.review-card { background: #fff; padding: 20px; border-radius: 12px; box-shadow: 0 4px 15px rgba(255, 105, 180, 0.1); position: relative; }
.review-card::before { content: '“'; position: absolute; top: 10px; right: 20px; font-size: 4rem; color: #ffe4ef; font-family: serif; line-height: 1; }
.review-user { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.review-user img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.review-user span { font-weight: 600; font-size: 0.9rem; }
.review-text { font-size: 0.9rem; color: var(--text-light); position: relative; z-index: 1; }

/* 保护与反馈 */
.sec-safety { background: #f9f9f9; }
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.faq-item { background: #fff; padding: 20px; border-radius: 12px; border-left: 4px solid #28a745; }
.faq-item h3 { font-size: 1rem; margin-bottom: 8px; color: #1e7e34; }
.faq-item p { font-size: 0.9rem; color: var(--text-light); }

/* 下载区 */
.sec-download { background: linear-gradient(135deg, #fff3e0, #ffe0b2); text-align: center; }
.steps { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; margin-bottom: 40px; }
.step { background: #fff; padding: 20px; border-radius: 12px; flex: 1 1 200px; max-width: 300px; box-shadow: var(--shadow-sm); text-align: left; }
.step-num { display: inline-block; width: 30px; height: 30px; line-height: 30px; text-align: center; background: var(--primary); color: #fff; border-radius: 50%; font-weight: 700; margin-bottom: 10px; }
.step h3 { font-size: 1rem; margin-bottom: 5px; }
.step p { font-size: 0.85rem; color: var(--text-light); }

/* 底部悬浮窗 */
.float-download { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: #fff; padding: 10px 20px; border-radius: 50px; box-shadow: 0 4px 20px rgba(0,0,0,0.15); display: flex; align-items: center; gap: 15px; z-index: 99; border: 1px solid var(--primary); }
.float-download img { height: 30px; border-radius: 6px; }
.float-download a { background: var(--primary); color: #fff; padding: 8px 20px; border-radius: 50px; font-size: 0.9rem; font-weight: 600; }

/* 页脚 */
footer { background: #2d2422; color: #a89c98; padding: 40px 20px 20px; text-align: center; font-size: 0.85rem; }
.footer-nav { margin-bottom: 20px; display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.footer-nav a { color: #a89c98; transition: color 0.3s; }
.footer-nav a:hover { color: #fff; }
.footer-info { margin-bottom: 15px; }
.footer-info a { color: #a89c98; text-decoration: underline; }
.time-tag { font-size: 0.75rem; color: #6b5e59; margin-top: 10px; display: block; }

/* 弹窗 (隐藏状态不禁止可见，用JS控制样式) */
.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); display: none; justify-content: center; align-items: center; z-index: 1000; }
.modal.active { display: flex; }
.modal-content { background: #fff; padding: 25px; border-radius: 16px; width: 90%; max-width: 350px; text-align: center; }
.modal-content p { font-size: 0.95rem; margin-bottom: 15px; color: var(--text-main); }
.modal-content .copy-box { background: #f0f0f0; padding: 10px; border-radius: 8px; font-size: 0.85rem; word-break: break-all; margin-bottom: 15px; color: #333; }
.modal-content button { background: var(--primary); color: #fff; border: none; padding: 10px 30px; border-radius: 50px; font-size: 1rem; cursor: pointer; }

/* 响应式 */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2rem; }
    .hero-visual { height: 320px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: #fff; padding: 20px; box-shadow: var(--shadow-md); border-bottom: 1px solid #eee; }
    .nav-links.active { display: flex; }
    .menu-toggle { display: block; }
    .hero { flex-direction: column; padding: 20px 15px; gap: 20px; }
    .hero h1 { font-size: 1.8rem; text-align: center; }
    .hero p { text-align: center; font-size: 1rem; }
    .download-group { justify-content: center; }
    .hero-visual { height: 280px; width: 100%; }
    .late-layout { flex-direction: column; }
    .late-img { width: 100%; }
    .footer-nav { flex-direction: column; gap: 10px; }
    .float-download { width: 90%; padding: 8px 15px; justify-content: space-between; }
    .float-download a { padding: 8px 15px; font-size: 0.85rem; }
    .steps { flex-direction: column; align-items: center; }
}