:root {
    --bg-main: #f7f5f0;
    --bg-alt: #f0ebe1;
    --text-main: #2b2724;
    --text-light: #6b6560;
    --accent-gold: #d4a373;
    --accent-rose: #b56576;
    --accent-purple: #6a4c93;
    --accent-blue: #247ba0;
    --card-bg: #ffffff;
    --border-color: #e5dfd5;
    --radius-lg: 20px;
    --radius-md: 12px;
    --shadow: 0 8px 24px rgba(0,0,0,0.06);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* 头部导航 */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(247, 245, 240, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
    color: var(--text-main);
}
.brand img { height: 32px; width: auto; border-radius: 6px; }
.nav-links {
    display: flex;
    gap: 20px;
}
.nav-links a {
    font-size: 15px;
    color: var(--text-light);
    transition: color 0.2s;
    font-weight: 500;
}
.nav-links a:hover { color: var(--accent-rose); }
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-main);
}

/* 首屏 Hero */
.hero {
    position: relative;
    padding: 60px 20px 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #fdfcfb 0%, #e2e1e0 100%);
    text-align: center;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}
.hero h1 {
    font-size: 42px;
    line-height: 1.25;
    margin-bottom: 16px;
    color: #1a1817;
    letter-spacing: 1px;
}
.hero p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
}
.download-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.btn-primary {
    background: var(--text-main);
    color: #fff;
    box-shadow: 0 4px 12px rgba(43,39,36,0.2);
}
.btn-secondary {
    background: #fff;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}
.hero-collage {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.hero-collage img {
    width: 140px;
    height: 200px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    object-fit: cover;
    transition: transform 0.3s;
}
.hero-collage img:hover { transform: scale(1.05) rotate(2deg); z-index: 3; }

/* 跑马灯 */
.marquee-wrap {
    background: #1a1817;
    color: #fff;
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}
.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
}
.marquee-content span {
    display: inline-block;
    margin-right: 40px;
    font-size: 14px;
    font-weight: 500;
    background: linear-gradient(90deg, #ff7e5f, #feb47b, #ff7e5f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientText 3s linear infinite;
}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes gradientText { to { background-position: 200% center; } }

/* 通用区块 */
section { padding: 60px 20px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: 32px; margin-bottom: 12px; color: #1a1817; }
.section-header p { color: var(--text-light); font-size: 16px; }

/* 经典剧场 */
.bg-alt { background-color: var(--bg-alt); }
.classic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}
.drama-card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}
.drama-card:hover { transform: translateY(-4px); }
.drama-card img { width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; }
.drama-info { padding: 12px; }
.drama-info h3 { font-size: 16px; margin-bottom: 4px; color: #1a1817; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drama-info .tags { font-size: 12px; color: var(--text-light); margin-bottom: 6px; }
.drama-info .meta { font-size: 12px; color: #999; display: flex; justify-content: space-between; }

/* 深夜心跳剧场 */
.night-section { background: #120e17; color: #e0dce4; }
.night-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}
.night-feature { border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.night-feature img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
.night-feature-title {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    padding: 30px 20px 20px;
}
.night-feature-title h3 { font-size: 24px; margin-bottom: 8px; }
.night-feature-title p { font-size: 14px; color: #aaa; }
.night-list { display: flex; flex-direction: column; gap: 16px; }
.night-item {
    display: flex;
    gap: 16px;
    background: rgba(255,255,255,0.05);
    padding: 16px;
    border-radius: var(--radius-md);
    align-items: center;
    border: 1px solid rgba(255,255,255,0.05);
}
.night-item img { width: 60px; height: 80px; border-radius: 6px; object-fit: cover; }
.night-item-info h4 { font-size: 16px; margin-bottom: 4px; }
.night-item-info p { font-size: 13px; color: #8a8494; }

/* 时间轴 排片 */
.timeline-section { background: #fcfaf7; }
.timeline-wrap {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 40px;
}
.timeline-wrap::before {
    content: '';
    position: absolute;
    top: 60px; left: 0; right: 0;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}
.timeline-item {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 16.66%;
}
.time-dot {
    width: 16px; height: 16px;
    background: var(--accent-rose);
    border-radius: 50%;
    margin: 0 auto 12px;
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px var(--accent-rose);
}
.time-label { font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.time-drama { font-size: 13px; color: var(--text-light); }

/* 原著联动区 */
.original-section { background: #eef2f5; }
.original-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.original-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.original-img img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; }
.original-text h2 { font-size: 36px; margin-bottom: 20px; color: #1a1817; }
.original-text p { font-size: 16px; color: var(--text-light); margin-bottom: 20px; }
.original-list li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    font-size: 15px;
}
.original-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
}

/* AI剧场 */
.ai-section { background: linear-gradient(180deg, #f7f5f0 0%, #e8e3f0 100%); }
.ai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}
.ai-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
    border: 1px solid #e0dce4;
}
.ai-card img { width: 100%; height: 240px; object-fit: cover; border-radius: var(--radius-md); margin-bottom: 16px; }
.ai-card h3 { font-size: 18px; margin-bottom: 8px; }
.ai-card p { font-size: 14px; color: var(--text-light); }

/* 用户神评墙 */
.reviews-section { background: #fdfaf6; }
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.review-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    border-left: 4px solid var(--accent-gold);
}
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-header img { width: 40px; height: 40px; border-radius: 50%; object-fit: contain; background: #eee; padding: 4px; }
.review-header strong { display: block; font-size: 14px; }
.review-header span { font-size: 12px; color: #999; }
.review-content { font-size: 14px; color: #444; line-height: 1.7; }

/* 未成年人保护 & 意见反馈 */
.qa-section { background: #f0f4f7; }
.qa-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.qa-block h2 { font-size: 28px; margin-bottom: 24px; color: #1a1817; border-left: 6px solid var(--accent-blue); padding-left: 16px; }
.qa-item { background: #fff; border-radius: var(--radius-md); padding: 20px; margin-bottom: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.03); }
.qa-q { font-weight: 700; font-size: 16px; margin-bottom: 8px; color: #1a1817; display: flex; gap: 8px; }
.qa-q::before { content: 'Q'; color: var(--accent-blue); font-weight: 900; }
.qa-a { font-size: 14px; color: var(--text-light); padding-left: 24px; }
.qa-a::before { content: 'A'; color: var(--accent-rose); font-weight: 900; margin-right: 8px; }

/* 下载专区 */
.download-section {
    background: #1a1817;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}
.download-section h2 { font-size: 36px; margin-bottom: 16px; }
.download-section p { color: #aaa; margin-bottom: 40px; font-size: 16px; max-width: 600px; margin-inline: auto; }
.download-section .btn { margin: 8px; }
.download-section .btn-primary { background: var(--accent-rose); color: #fff; }
.download-section .btn-secondary { background: transparent; color: #fff; border-color: #555; }

/* 浮动下载窗口 */
.floating-download {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 12px 24px;
    border-radius: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 999;
    border: 1px solid var(--border-color);
}
.floating-download img { height: 28px; width: auto; border-radius: 4px; }
.floating-download .float-btn {
    background: var(--text-main);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
}
.floating-download .float-btn:hover { background: var(--accent-rose); }

/* 页脚 */
.site-footer {
    background: #f7f5f0;
    padding: 40px 20px 100px;
    font-size: 13px;
    color: #999;
    text-align: center;
    border-top: 1px solid var(--border-color);
}
.footer-links { margin-bottom: 20px; }
.footer-links a { color: #999; margin: 0 10px; }
.footer-links a:hover { color: var(--text-main); }
.footer-info { margin-bottom: 10px; line-height: 1.8; }
.site-footer a.beian { color: #999; text-decoration: none; }
.site-footer a.beian:hover { color: var(--text-main); }

/* 响应式 */
@media (max-width: 1024px) {
    .night-inner { grid-template-columns: 1fr; }
    .original-layout { grid-template-columns: 1fr; }
    .qa-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; width: 100%; flex-direction: column; padding-top: 20px; }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: block; }
    .header-inner { flex-wrap: wrap; }
    .hero h1 { font-size: 28px; }
    .hero p { font-size: 15px; }
    .hero-collage img { width: 100px; height: 140px; }
    .timeline-wrap { flex-direction: column; gap: 20px; padding-left: 20px; }
    .timeline-wrap::before { top: 0; bottom: 0; left: 28px; width: 2px; height: auto; }
    .timeline-item { width: 100%; display: flex; text-align: left; align-items: center; gap: 16px; }
    .time-dot { margin: 0; }
    .time-drama { margin-bottom: 0; }
    .qa-grid { gap: 20px; }
    .download-group { flex-direction: column; }
    .download-group .btn { width: 100%; }
    .floating-download { width: 90%; justify-content: space-between; bottom: 10px; }
}