/* 基础重置 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --brand-gradient: linear-gradient(135deg, #4A90E2 0%, #D048B6 100%);
    --bg-color: #F7F8FA;
    --card-bg: #FFFFFF;
    --text-main: #111111;
    --text-sub: #666666;
    --shadow-soft: 0 4px 20px rgba(0,0,0,0.05);
    --radius-md: 12px;
    --radius-lg: 16px;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* 板块间距死命令 */
section {
    padding: 90px 0 !important;
}
section h2 {
    margin-bottom: 40px;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* 顶部导航 */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
}
.brand-logo img { height: 34px; width: auto; }
.brand-sub { font-size: 14px; color: var(--text-sub); font-weight: 400; margin-left: 4px; }
.nav-links {
    display: flex;
    gap: 32px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-sub);
}
.nav-links a:hover { color: var(--text-main); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,0,0,0.04);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-sub);
    cursor: pointer;
}
.btn-primary {
    display: inline-block;
    background: var(--brand-gradient);
    color: #fff;
    padding: 10px 24px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(208, 72, 182, 0.3); }

/* 首屏 Hero */
.hero-sec { overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 45% 55%; gap: 40px; align-items: center; }
.hero-text h1 { font-size: 48px; line-height: 1.2; letter-spacing: -1px; margin-bottom: 24px; }
.hero-text h1 span { background: var(--brand-gradient); -webkit-background-clip: text; color: transparent; }
.hero-sub { font-size: 18px; color: var(--text-sub); margin-bottom: 40px; line-height: 1.8; }
.hero-cta { display: flex; align-items: center; gap: 24px; margin-bottom: 48px; }
.hero-link { font-weight: 500; color: var(--text-main); border-bottom: 2px solid #111; padding-bottom: 2px; }
.hero-arrow { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; color: var(--text-sub); font-size: 14px; }

.poster-wall { position: relative; height: 600px; }
.poster-wall img { position: absolute; border-radius: var(--radius-md); box-shadow: 0 10px 30px rgba(0,0,0,0.15); object-fit: cover; transition: transform 0.3s; }
.poster-wall img:hover { transform: scale(1.02) translateY(-5px); z-index: 10; }
.pw-1 { width: 220px; height: 320px; left: 5%; top: 10%; z-index: 3; }
.pw-2 { width: 240px; height: 360px; left: 35%; top: 0; z-index: 5; }
.pw-3 { width: 200px; height: 300px; right: 5%; top: 15%; z-index: 2; }
.pw-4 { width: 220px; height: 320px; left: 20%; bottom: 10%; z-index: 4; }
.pw-5 { width: 180px; height: 260px; right: 20%; bottom: 0; z-index: 1; }

/* 题材分类 */
.topics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.topic-card { padding: 40px; border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.topic-num { font-size: 48px; font-weight: 800; opacity: 0.2; margin-bottom: 16px; }
.topic-title { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.topic-tag { font-size: 14px; background: rgba(255,255,255,0.6); padding: 4px 12px; border-radius: 20px; display: inline-block; }
.tc-1 { background: linear-gradient(135deg, #E8F0FE 0%, #F3E8FE 100%); }
.tc-2 { background: linear-gradient(135deg, #FDE8F3 0%, #FFE8E8 100%); }
.tc-3 { background: linear-gradient(135deg, #E8F8FE 0%, #E8FEEB 100%); }

/* 热播精选 */
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.poster-card { cursor: pointer; }
.poster-img-wrap { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 3/4; margin-bottom: 12px; }
.poster-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.poster-card:hover .poster-img-wrap img { transform: scale(1.05); }
.score-badge { position: absolute; top: 8px; left: 8px; background: rgba(0,0,0,0.6); color: #FFD700; padding: 2px 8px; border-radius: 10px; font-size: 12px; font-weight: 700; }
.status-badge { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.8)); color: #fff; padding: 20px 10px 8px; font-size: 12px; }
.poster-title { font-size: 15px; font-weight: 600; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.poster-tag { font-size: 12px; color: var(--text-sub); }

/* 口碑双列 */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.list-item { display: flex; align-items: center; gap: 16px; padding: 16px; background: #fff; border-radius: var(--radius-md); margin-bottom: 16px; box-shadow: var(--shadow-soft); }
.rank-num { font-size: 20px; font-weight: 800; color: #ddd; width: 30px; }
.list-poster { width: 60px; height: 80px; border-radius: 6px; object-fit: cover; }
.list-info { flex: 1; }
.list-title { font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.list-desc { font-size: 13px; color: var(--text-sub); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.list-score { font-weight: 700; color: #D048B6; font-size: 16px; }

/* 主题片单 */
.col-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.collection-card { padding: 32px; border-radius: var(--radius-lg); color: #fff; background-size: cover; background-position: center; position: relative; min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end; transition: transform 0.3s; }
.collection-card:hover { transform: translateY(-5px); }
.collection-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.6), transparent); border-radius: var(--radius-lg); z-index: 1; }
.collection-card > * { position: relative; z-index: 2; }
.cc-guide { font-size: 12px; opacity: 0.8; margin-bottom: 8px; }
.cc-title { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.cc-desc { font-size: 13px; opacity: 0.9; }

/* 剧场分类 */
.theater-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; }
.theater-title-wrap { display: flex; align-items: baseline; gap: 12px; }
.theater-num { font-size: 24px; font-weight: 800; color: var(--brand-gradient); -webkit-background-clip: text; color: transparent; }
.theater-title { font-size: 24px; font-weight: 700; margin-bottom: 0; }
.more-link { font-size: 14px; color: var(--text-sub); }

/* 下载与片库 */
.download-panel { background: #111; border-radius: 24px; padding: 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; color: #fff; position: relative; overflow: hidden; }
.download-panel::before { content: ''; position: absolute; top: -50%; left: -10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(74,144,226,0.3) 0%, transparent 70%); pointer-events: none; }
.download-panel::after { content: ''; position: absolute; bottom: -50%; right: -10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(208,72,182,0.3) 0%, transparent 70%); pointer-events: none; }
.dl-left, .dl-right { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; }
.dl-tag { font-size: 14px; color: #aaa; margin-bottom: 16px; }
.dl-h2 { font-size: 36px; font-weight: 800; margin-bottom: 20px; }
.dl-desc { font-size: 15px; color: #ccc; margin-bottom: 32px; line-height: 1.7; }
.dl-btn-wrap { display: flex; align-items: center; gap: 16px; }
.dl-note { font-size: 12px; color: #888; }
.dl-right { border-left: 1px solid rgba(255,255,255,0.1); padding-left: 60px; }
.dl-r-arrow { font-size: 48px; margin-bottom: 16px; }
.dl-r-title { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.dl-r-desc { font-size: 15px; color: #ccc; margin-bottom: 32px; }
.btn-outline { display: inline-block; border: 1px solid rgba(255,255,255,0.3); color: #fff; padding: 10px 24px; border-radius: 24px; font-weight: 600; transition: background 0.2s; }
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* 页脚 */
footer { background: #F7F8FA; padding: 60px 0 30px; border-top: 1px solid rgba(0,0,0,0.05); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.f-brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; margin-bottom: 16px; }
.f-brand img { height: 32px; width: auto; }
.f-desc { font-size: 14px; color: var(--text-sub); line-height: 1.8; max-width: 300px; }
.f-col h4 { font-size: 16px; font-weight: 600; margin-bottom: 20px; }
.f-col a { display: block; font-size: 14px; color: var(--text-sub); margin-bottom: 12px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(0,0,0,0.05); padding-top: 24px; font-size: 12px; color: #999; }

/* 响应式 768px 与 1024px */
@media (max-width: 1024px) {
    .grid-6 { grid-template-columns: repeat(3, 1fr); }
    .col-4 { grid-template-columns: repeat(2, 1fr); }
    .hero-text h1 { font-size: 36px; }
    .poster-wall { height: 480px; }
    .poster-wall img { transform: scale(0.8); }
}
@media (max-width: 768px) {
    section { padding: 50px 0 !important; }
    section h2 { margin-bottom: 24px; font-size: 24px; }
    .nav-links, .search-btn { display: none; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .poster-wall { height: 400px; display: flex; overflow-x: auto; gap: 16px; padding-bottom: 20px; }
    .poster-wall img { position: static; width: 160px; height: 240px; flex-shrink: 0; transform: none; }
    .topics-grid { grid-template-columns: 1fr; }
    .grid-6 { grid-template-columns: repeat(2, 1fr); }
    .col-4 { grid-template-columns: 1fr; }
    .split-layout { grid-template-columns: 1fr; }
    .download-panel { grid-template-columns: 1fr; padding: 40px 24px; gap: 40px; }
    .dl-right { border-left: none; border-top: 1px solid rgba(255,255,255,0.1); padding-left: 0; padding-top: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}