:root {
        --brand-color: #d32f2f; /* 荔枝红 */
        --bg-dark: #121212;
        --text-main: #f5f5f5;
        --text-muted: #aaaaaa;
        --card-bg: #1e1e1e;
        --accent: #ffb300;
    }

    * {
        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-dark);
        color: var(--text-main);
        line-height: 1.6;
        overflow-x: hidden;
    }

    /* 进度条 */
    .progress-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: rgba(255,255,255,0.1);
        z-index: 1000;
    }
    .progress-bar {
        height: 100%;
        background: var(--brand-color);
        width: 0%;
    }
    .progress-text {
        position: fixed;
        top: 10px;
        right: 15px;
        font-size: 12px;
        color: var(--text-main);
        background: rgba(0,0,0,0.6);
        padding: 4px 8px;
        border-radius: 4px;
        z-index: 1000;
    }

    /* 导航/选集条 */
    .nav-bar {
        position: fixed;
        top: 4px;
        left: 0;
        width: 100%;
        background: rgba(18, 18, 18, 0.95);
        backdrop-filter: blur(10px);
        z-index: 999;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .nav-inner {
        display: flex;
        overflow-x: auto;
        padding: 10px 15px;
        gap: 10px;
        scrollbar-width: none;
    }
    .nav-inner::-webkit-scrollbar { display: none; }
    .nav-item {
        color: var(--text-muted);
        text-decoration: none;
        font-size: 14px;
        white-space: nowrap;
        padding: 4px 10px;
        border-radius: 20px;
        transition: all 0.3s;
    }
    .nav-item.active {
        color: #fff;
        background: var(--brand-color);
        font-weight: bold;
    }

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

    /* 首屏 */
    .hero {
        padding: 100px 0 60px;
        text-align: center;
        position: relative;
        min-height: 80vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .logo-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-bottom: 20px;
    }
    .logo-wrap img {
        height: 32px;
        border-radius: 6px;
    }
    .logo-text {
        font-size: 20px;
        font-weight: bold;
        letter-spacing: 2px;
    }
    h1 {
        font-size: 2.5rem;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    .hero p {
        color: var(--text-muted);
        font-size: 1.1rem;
        margin-bottom: 30px;
        max-width: 600px;
    }
    .btn-main {
        display: inline-block;
        background-color: var(--brand-color);
        color: #fff;
        padding: 12px 40px;
        border-radius: 30px;
        text-decoration: none;
        font-size: 1.2rem;
        font-weight: bold;
        box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
        transition: transform 0.2s;
    }
    .btn-main:hover {
        transform: scale(1.05);
    }

    /* 跑马灯 */
    .marquee-wrap {
        width: 100%;
        overflow: hidden;
        white-space: nowrap;
        margin-top: 40px;
        position: relative;
    }
    .marquee-track {
        display: inline-flex;
        gap: 15px;
        animation: scrollX 20s linear infinite;
    }
    .marquee-track img {
        height: 120px;
        border-radius: 8px;
        object-fit: cover;
    }
    @keyframes scrollX {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }

    /* 弹幕层 */
    .danmu-container {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 80px;
        background: linear-gradient(to top, rgba(18,18,18,0.9), transparent);
        z-index: 900;
        pointer-events: none;
        overflow: hidden;
    }
    .danmu-item {
        position: absolute;
        white-space: nowrap;
        color: #fff;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 6px;
        animation: danmuMove linear infinite;
        pointer-events: auto;
    }
    .danmu-item img {
        width: 20px;
        height: 20px;
        border-radius: 50%;
    }
    .danmu-container:hover .danmu-item {
        animation-play-state: paused;
    }
    @keyframes danmuMove {
        from { transform: translateX(100vw); }
        to { transform: translateX(-100%); }
    }

    /* 场景（Act） */
    .act {
        padding: 80px 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .act-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
        text-align: center;
        position: relative;
    }
    .act-title::after {
        content: '';
        display: block;
        width: 40px;
        height: 3px;
        background: var(--brand-color);
        margin: 10px auto 0;
    }

    /* 第2幕 人物 */
    .actor-list {
        display: flex;
        flex-direction: column;
        gap: 20px;
        max-width: 800px;
        margin: 0 auto;
    }
    .actor-card {
        display: flex;
        align-items: center;
        gap: 20px;
        background: var(--card-bg);
        border-radius: 12px;
        padding: 15px;
        transform: translateY(20px);
        opacity: 0;
        transition: all 0.6s ease-out;
    }
    .actor-card.show {
        transform: translateY(0);
        opacity: 1;
    }
    .actor-card img {
        width: 90px;
        height: 120px;
        border-radius: 8px;
        object-fit: cover;
    }
    .actor-info {
        flex: 1;
    }
    .actor-info h3 { margin-bottom: 5px; font-size: 1.1rem; }
    .actor-info p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 5px;}
    .tag {
        display: inline-block;
        background: rgba(211,47,47,0.2);
        color: var(--brand-color);
        padding: 2px 8px;
        border-radius: 4px;
        font-size: 12px;
        margin-right: 5px;
    }

    /* 第3幕 剧本 */
    .script-box {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
    }
    .script-page {
        flex: 1;
        min-width: 300px;
        background: #fff;
        color: #333;
        border-radius: 8px;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
        transition: transform 0.3s;
    }
    .script-page:hover {
        transform: rotateX(5deg) rotateY(-2deg);
    }
    .script-page h3 {
        border-bottom: 2px solid #eee;
        padding-bottom: 10px;
        margin-bottom: 15px;
        color: #111;
    }
    .script-scene {
        display: flex;
        gap: 10px;
        margin-bottom: 15px;
    }
    .script-scene img {
        width: 60px;
        height: 80px;
        object-fit: cover;
        border-radius: 4px;
    }
    .script-line {
        font-family: "Kaiti", "STKaiti", serif;
        font-size: 1rem;
    }

    /* 第4幕 高能名场面 */
    .polaroid-wall {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    .polaroid {
        background: #fff;
        padding: 10px 10px 30px;
        border-radius: 2px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.5);
        position: relative;
        transform: rotate(var(--rot, 0deg));
    }
    .polaroid img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }
    .polaroid .rank {
        position: absolute;
        bottom: 10px;
        left: 10px;
        font-family: "Kaiti", "STKaiti", serif;
        font-size: 1.2rem;
        color: #333;
    }
    .polaroid .comment {
        position: absolute;
        bottom: 10px;
        right: 10px;
        font-size: 12px;
        color: #666;
        font-family: "Kaiti", "STKaiti", serif;
    }
    .polaroid.top-3 {
        border: 3px solid var(--accent);
    }
    .polaroid:nth-child(1) { --rot: -2deg; }
    .polaroid:nth-child(2) { --rot: 3deg; }
    .polaroid:nth-child(3) { --rot: -1deg; }
    .polaroid:nth-child(4) { --rot: 2deg; }
    .polaroid:nth-child(5) { --rot: -3deg; }
    .polaroid:nth-child(6) { --rot: 1deg; }
    .polaroid:nth-child(7) { --rot: -2deg; }
    .polaroid:nth-child(8) { --rot: 2deg; }
    .polaroid:nth-child(9) { --rot: -1deg; }

    /* 第5幕 追更预告 */
    .preview-card {
        background: var(--brand-color);
        color: #fff;
        padding: 30px;
        border-radius: 12px;
        text-align: center;
        margin-bottom: 20px;
    }
    .preview-card h3 {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    .countdown {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin: 20px 0;
    }
    .countdown span {
        background: rgba(0,0,0,0.3);
        padding: 10px 15px;
        border-radius: 8px;
        font-size: 1.5rem;
        font-weight: bold;
    }
    .tomorrow-slider {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 10px;
    }
    .tomorrow-slider img {
        height: 140px;
        border-radius: 8px;
    }

    /* 第6幕 下载 */
    .download-section {
        text-align: center;
        padding: 80px 0;
    }
    .phone-mockup {
        width: 300px;
        height: 600px;
        border: 10px solid #333;
        border-radius: 40px;
        margin: 0 auto 40px;
        position: relative;
        overflow: hidden;
        background: #000;
    }
    .phone-screen {
        width: 100%;
        height: 100%;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 15px;
        scrollbar-width: none;
    }
    .phone-screen::-webkit-scrollbar { display: none; }
    .phone-screen img {
        width: 100%;
        border-radius: 8px;
    }
    .download-btns {
        display: flex;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }
    .btn-download {
        display: inline-block;
        background: #333;
        color: #fff;
        padding: 12px 30px;
        border-radius: 8px;
        text-decoration: none;
        border: 1px solid #555;
        transition: all 0.3s;
    }
    .btn-download:hover {
        background: var(--brand-color);
        border-color: var(--brand-color);
    }

    /* 第7幕 片尾字幕 */
    .credits-footer {
        padding: 60px 20px 40px;
        text-align: center;
        font-size: 12px;
        color: var(--text-muted);
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    .credits-footer a {
        color: var(--text-muted);
        text-decoration: none;
    }
    .credits-footer a:hover { color: #fff; }
    .footer-links {
        margin: 15px 0;
        display: flex;
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }
    .footer-links a { margin: 0 5px; }

    /* 响应式 */
    @media (max-width: 992px) {
        .actor-list { padding: 0 10px; }
        .script-box { flex-direction: column; }
    }
    @media (max-width: 768px) {
        h1 { font-size: 1.8rem; }
        .hero p { font-size: 1rem; }
        .marquee-track img { height: 90px; }
        .polaroid-wall { grid-template-columns: repeat(2, 1fr); }
        .phone-mockup { width: 260px; height: 520px; }
        .danmu-container { display: none; } /* 手机端隐藏弹幕，改为纵向或省略 */
    }
    @media (max-width: 480px) {
        .polaroid-wall { grid-template-columns: 1fr; }
        .nav-inner { padding: 10px; }
    }