/* --- 核心设置 --- */
:root {
    --bg: #050505;
    --text: #e0e0e0;
    --accent: #fff;
    --mono: 'JetBrains Mono', monospace; /* 剧本/参数字体 */
    --serif: 'Playfair Display', serif; /* 电影标题字体 */
}

* { margin: 0; padding: 0; box-sizing: border-box; cursor: none; /* 隐藏原生鼠标 */ }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

/* --- 特效层 (与主站一致) --- */
.noise-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48ZmlsdGVyIGlkPSJjb250cmFzdCI+PHBmZVR1cmJ1bGVuY2UgdHlwZT0iZnJhY3RhbE5vaXNlIiBiYXNlRnJlcXVlbmN5PSIwLjY1IiBudW1PY3RhdmVzPSIzIiBzdGl0Y2hUaWxlcz0ic3RpdGNoIi8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsdGVyPSJ1cmwoI2NvbnRyYXN0KSIgb3BhY2l0eT0iMC4wNCIvPjwvc3ZnPg==');
    pointer-events: none; z-index: 900; opacity: 0.4;
}

#cursor-light {
    position: fixed; top: 0; left: 0; width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 60%);
    transform: translate(-50%, -50%); pointer-events: none; z-index: 0;
    transition: opacity 0.5s;
}

/* --- 背景层 --- */
#bg-holder {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    opacity: 0.2; /* 默认很暗，营造氛围 */
    transition: all 1s ease;
    z-index: -1;
    filter: grayscale(50%) contrast(1.2); /* 电影感滤镜 */
}
/* 激活时变亮一点 */
#bg-holder.visible { opacity: 0.6; transform: scale(1.02); }
/* 叠加一个渐变遮罩，保证文字可读 */
#bg-holder::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, #050505 0%, transparent 50%, #050505 100%);
}

/* --- 导演按钮 --- */
#open-dashboard-btn {
    position: fixed; top: 30px; right: 30px; z-index: 1000;
    background: transparent; border: 1px solid rgba(255,255,255,0.2);
    color: #fff; padding: 10px 20px; display: flex; align-items: center; gap: 10px;
    font-family: var(--mono); font-size: 0.8rem; letter-spacing: 1px;
    backdrop-filter: blur(5px); transition: 0.3s;
}
#open-dashboard-btn svg { width: 16px; height: 16px; }
#open-dashboard-btn:hover { background: #fff; color: #000; }

/* --- Hero: 电影海报 --- */
.hero-poster {
    height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; position: relative; z-index: 2;
}
.logo-mark { margin-bottom: 40px; opacity: 0.8; }
.hero-meta {
    font-family: var(--mono); font-size: 0.7rem; color: #888; letter-spacing: 2px;
    margin-bottom: 20px; display: flex; gap: 20px;
}
.movie-title {
    font-family: var(--serif); font-size: clamp(3rem, 8vw, 6rem); line-height: 1.1;
    margin-bottom: 40px;
}
.movie-title .highlight {
    display: block; font-style: italic; color: #fff;
    background: linear-gradient(90deg, #fff, #aaa); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.release-date {
    border: 1px solid rgba(255,255,255,0.3); padding: 15px 30px;
    font-family: var(--mono); display: flex; gap: 20px; align-items: center;
}
.release-date .label { font-size: 0.7rem; color: #888; }
.release-date .date { font-size: 1.2rem; font-weight: 700; }

.scroll-hint {
    position: absolute; bottom: 40px; font-family: var(--mono); font-size: 0.7rem; color: #666;
    animation: blink 2s infinite;
}
@keyframes blink { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

/* --- Narrative Stream (流体叙事) --- */
.narrative-stream {
    max-width: 800px; margin: 0 auto; padding-bottom: 100px;
}

.scene {
    min-height: 80vh; display: flex; flex-direction: column; justify-content: center;
    padding: 40px; opacity: 0.2; transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-left: 1px solid rgba(255,255,255,0.1); /* 极简的时间轴线 */
    margin-left: 20px;
}

.scene.active {
    opacity: 1; transform: translateY(0);
    border-left-color: #fff; /* 激活时线变亮 */
    padding-left: 60px; /* 动态位移 */
}

.scene-meta {
    font-family: var(--mono); font-size: 0.8rem; color: #00ff9d; margin-bottom: 20px;
    letter-spacing: 1px;
}

.scene-content h2 {
    font-family: var(--serif); font-size: 2.5rem; margin-bottom: 20px; line-height: 1.3;
    color: #ddd;
}
.scene-content p {
    font-family: var(--mono); color: #666; font-size: 1rem;
}

/* 最后一幕的特殊样式 */
.final-scene .scene-content h2 { color: #fff; text-shadow: 0 0 20px rgba(255,255,255,0.5); }
.back-home-btn {
    display: inline-block; margin-top: 40px; padding: 15px 30px;
    background: #fff; color: #000; text-decoration: none; font-family: var(--mono); font-size: 0.8rem;
    transition: 0.3s;
}
.back-home-btn:hover { background: #00ff9d; }

/* --- Dashboard Modal (分镜墙) --- */
#dashboard-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 2000;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: 0.4s;
}
#dashboard-modal:not(.modal-hidden) { opacity: 1; visibility: visible; }

.dashboard-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9); backdrop-filter: blur(20px);
}

.dashboard-content-window {
    position: relative; width: 90%; max-width: 1200px; height: 80%;
    z-index: 2001; display: flex; flex-direction: column;
}

.modal-header {
    display: flex; justify-content: space-between; align-items: center;
    padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 20px;
}
.modal-header h2 { font-family: var(--mono); font-size: 1rem; letter-spacing: 2px; }
#close-dashboard-btn {
    background: none; border: none; color: #fff; font-family: var(--mono); cursor: pointer;
}
#close-dashboard-btn:hover { color: #ff0055; }

#dashboard-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px;
    overflow-y: auto; padding-right: 10px;
}

.dashboard-card {
    height: 160px; border: 1px solid rgba(255,255,255,0.1); position: relative;
    text-decoration: none; overflow: hidden; transition: 0.3s;
}
.dashboard-card:hover { border-color: #fff; }
.card-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center; opacity: 0.4; transition: 0.5s;
}
.dashboard-card:hover .card-bg { opacity: 0.8; transform: scale(1.1); }
.card-info {
    position: absolute; bottom: 10px; left: 10px; z-index: 2;
}
.card-num { font-family: var(--mono); font-size: 0.7rem; color: #00ff9d; }
.card-title { font-family: var(--sans); font-size: 0.9rem; color: #fff; margin-top: 5px; }

/* 响应式 */
@media (max-width: 768px) {
    .movie-title { font-size: 3rem; }
    .scene { padding: 20px; margin-left: 0; border-left: 2px solid rgba(255,255,255,0.1); }
    .scene.active { padding-left: 30px; }
}