:root {
        --primary: #ff4757;
        --secondary: #ffa502;
        --dark: #1e1e24;
        --light: #f1f2f6;
        --text: #2f3542;
        --text-light: #747d8c;
        --bg-color: #fdfdfd;
        --badge-bg: rgba(255, 71, 87, 0.1);
        --radius: 12px;
        --transition: all 0.3s ease;
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        background-color: var(--bg-color);
        color: var(--text);
        line-height: 1.6;
        padding-bottom: 80px; /* Space for floating window */
    }

    a {
        text-decoration: none;
        color: inherit;
    }

    img {
        max-width: 100%;
        display: block;
    }

    /* Header & Nav */
    header {
        background-color: var(--dark);
        color: white;
        padding: 15px 20px;
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .header-content {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    .logo-area {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 1.2rem;
        font-weight: bold;
    }

    .logo-area img {
        height: 32px;
        width: auto;
    }

    .mobile-menu-btn {
        display: none;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
    }

    nav ul {
        display: flex;
        list-style: none;
        gap: 15px;
        flex-wrap: wrap;
    }

    nav a {
        font-size: 0.9rem;
        transition: var(--transition);
        padding: 5px 10px;
        border-radius: 4px;
    }

    nav a:hover, nav a:active {
        background-color: var(--primary);
        color: white;
    }

    /* Hero Section */
    .hero {
        background: linear-gradient(135deg, #2b2b36, #1a1a22);
        color: white;
        padding: 40px 20px;
        position: relative;
        overflow: hidden;
    }

    .hero-inner {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 30px;
    }

    .hero-text {
        flex: 1;
        max-width: 55%;
    }

    .hero-text h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
        line-height: 1.3;
        color: #fff;
    }

    .hero-text p {
        font-size: 1rem;
        color: #ccc;
        margin-bottom: 20px;
    }

    .download-buttons {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        margin-top: 20px;
    }

    .btn {
        padding: 10px 20px;
        border-radius: 8px;
        font-weight: 600;
        font-size: 0.9rem;
        text-align: center;
        transition: var(--transition);
        border: none;
        cursor: pointer;
        display: inline-block;
    }

    .btn-primary {
        background: var(--primary);
        color: white;
    }
    .btn-primary:hover { background: #ff6b81; }

    .btn-secondary {
        background: var(--secondary);
        color: #fff;
    }
    .btn-secondary:hover { background: #ffbe76; }

    .btn-outline {
        background: transparent;
        color: white;
        border: 1px solid #555;
    }
    .btn-outline:hover { background: #333; }

    .hero-images {
        flex: 1;
        max-width: 45%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .hero-images img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        object-fit: cover;
        aspect-ratio: 3/4;
        transition: transform 0.3s ease;
    }
    .hero-images img:hover {
        transform: scale(1.02);
    }

    /* Marquee */
    .marquee-container {
        background: #111;
        padding: 10px 0;
        overflow: hidden;
        white-space: nowrap;
    }

    .marquee-text {
        display: inline-block;
        animation: marquee 20s linear infinite;
        font-weight: 600;
        font-size: 0.9rem;
        background: linear-gradient(90deg, #ff4757, #ffa502, #ff6b81);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    @keyframes marquee {
        0% { transform: translateX(100%); }
        100% { transform: translateX(-100%); }
    }

    /* Common Section Styles */
    section {
        padding: 50px 20px;
    }

    .section-title {
        text-align: center;
        font-size: 1.8rem;
        margin-bottom: 30px;
        position: relative;
        display: inline-block;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Section 1: 真人短剧 */
    .section-real, .section-remake, .section-ranking, .section-comments, .section-vip, .section-privacy, .section-feedback, .section-faq, .section-minor, .section-download {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .section-real { background-color: #fff5f6; }
    .section-remake { background-color: #f5f6ff; }
    .section-ranking { background-color: #fff5f0; }
    .section-comments { background-color: #f0f8ff; }
    .section-vip { background-color: #fffbf0; }
    .section-privacy { background-color: #f4f4f9; }
    .section-feedback { background-color: #f0fdf4; }
    .section-faq { background-color: #fdf4ff; }
    .section-minor { background-color: #f8fafc; }
    .section-download { background-color: #1e1e24; color: white; padding-bottom: 60px;}

    /* 真人短剧 */
    .real-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    .real-card {
        background: white;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }
    .real-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
    .real-card-info { padding: 12px; }
    .real-card-info h3 { font-size: 1rem; margin-bottom: 5px; color: var(--text); }
    .real-card-info .tag { font-size: 0.75rem; background: var(--badge-bg); color: var(--primary); padding: 2px 6px; border-radius: 4px; display: inline-block; margin-bottom: 5px;}
    .real-card-info .date { font-size: 0.75rem; color: var(--text-light); }

    /* 完结魔改剧 */
    .remake-layout {
        display: flex;
        gap: 30px;
        align-items: center;
        flex-wrap: wrap;
    }
    .remake-left { flex: 1; min-width: 300px; }
    .remake-left img { border-radius: 15px; width: 100%; max-width: 400px; margin: 0 auto; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
    .remake-right { flex: 1; min-width: 300px; }
    .remake-list { list-style: none; }
    .remake-list li {
        background: white; margin-bottom: 10px; padding: 15px; border-radius: 8px;
        display: flex; justify-content: space-between; align-items: center;
        border-left: 4px solid #5352ed;
    }
    .remake-list li span { font-weight: 600; color: #5352ed; }
    .remake-list li small { color: var(--text-light); }

    /* 本周热播榜 */
    .ranking-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    .ranking-item {
        display: flex; gap: 15px; background: white; padding: 10px; border-radius: 8px; align-items: center;
    }
    .ranking-item img { width: 60px; height: 80px; object-fit: cover; border-radius: 6px; }
    .ranking-item .num { font-size: 1.5rem; font-weight: bold; color: var(--secondary); width: 30px; }
    .ranking-item .details h4 { font-size: 1rem; margin-bottom: 3px; }
    .ranking-item .details p { font-size: 0.8rem; color: var(--text-light); }

    /* 热门点评 */
    .comments-layout { display: flex; gap: 30px; flex-wrap: wrap; }
    .comments-left, .comments-right { flex: 1; min-width: 300px; }
    .comments-left img { border-radius: 12px; width: 100%; max-width: 350px; margin: 0 auto; }
    .comment-card {
        background: white; padding: 15px; margin-bottom: 15px; border-radius: 8px; border-left: 4px solid #ff9f1a;
    }
    .comment-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
    .comment-header img { width: 30px; height: 30px; border-radius: 50%; }
    .comment-header .name { font-weight: 600; font-size: 0.9rem; }
    .comment-body { font-size: 0.9rem; color: var(--text); }

    /* 会员权益 */
    .vip-layout { display: flex; gap: 30px; flex-wrap: wrap; align-items: center;}
    .vip-right { flex: 1; min-width: 300px; }
    .vip-right img { border-radius: 12px; width: 100%; max-width: 400px; margin: 0 auto; }
    .vip-left { flex: 1; min-width: 300px; }
    .vip-item {
        background: white; padding: 15px; margin-bottom: 10px; border-radius: 8px; display: flex; gap: 15px; align-items: flex-start;
    }
    .vip-item .icon { font-size: 1.5rem; color: #e67e22; }
    .vip-item h4 { font-size: 1rem; margin-bottom: 5px; }
    .vip-item p { font-size: 0.85rem; color: var(--text-light); }

    /* 隐私安全 / 意见反馈 / 未成年保护 */
    .qa-grid {
        display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
    }
    .qa-card {
        background: white; padding: 20px; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    .qa-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--primary); }
    .qa-card p { font-size: 0.9rem; color: var(--text); }

    /* FAQ */
    .faq-list {
        background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    .faq-item {
        padding: 15px 20px; border-bottom: 1px solid #eee;
    }
    .faq-item:last-child { border-bottom: none; }
    .faq-item h3 { font-size: 1rem; margin-bottom: 5px; color: var(--text); }
    .faq-item p { font-size: 0.9rem; color: var(--text-light); }

    /* 下载专区 */
    .section-download-inner {
        display: flex; gap: 40px; flex-wrap: wrap; align-items: center;
    }
    .download-left { flex: 1; min-width: 300px; }
    .download-left h2 { font-size: 1.8rem; margin-bottom: 15px; }
    .download-left p { color: #ccc; margin-bottom: 20px; }
    .steps { list-style: none; margin-bottom: 30px; }
    .steps li {
        margin-bottom: 10px; color: #ddd; font-size: 0.95rem; display: flex; gap: 10px;
    }
    .steps li span { background: var(--primary); color: white; width: 22px; height: 22px; border-radius: 50%; text-align: center; line-height: 22px; font-size: 0.8rem; flex-shrink: 0; }
    
    .download-right { flex: 1; min-width: 300px; text-align: center; }
    .download-right img { border-radius: 12px; max-width: 300px; margin: 0 auto; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }

    /* 跑马灯(底部) */
    .bottom-marquee {
        background: #111; padding: 10px 0; overflow: hidden; white-space: nowrap;
    }
    .bottom-marquee .marquee-text {
        animation: marquee 25s linear infinite;
    }

    /* Floating Window */
    .floating-download {
        position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
        background: white; padding: 10px 20px; border-radius: 30px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.2);
        display: flex; align-items: center; gap: 15px; z-index: 1000;
        border: 1px solid #eee;
        max-width: 90vw;
    }
    .floating-download img { height: 30px; width: auto; }
    .floating-download .f-text { font-size: 0.85rem; color: var(--text); font-weight: 600; }
    .floating-download .f-btn { background: var(--primary); color: white; padding: 8px 15px; border-radius: 20px; font-size: 0.85rem; white-space: nowrap; }

    /* Footer */
    footer {
        background: #111; color: #888; padding: 30px 20px; text-align: center; font-size: 0.8rem;
    }
    footer .footer-links { margin-bottom: 15px; display: flex; justify-content: center; gap: 15px; flex-wrap: wrap;}
    footer .footer-links a { color: #aaa; }
    footer .footer-links a:hover { color: white; }
    footer p { margin-bottom: 8px; }
    footer a { color: #888; }

    /* Modal for Baidu App */
    .modal-overlay {
        display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.6); z-index: 2000; justify-content: center; align-items: center;
    }
    .modal-box {
        background: white; padding: 25px; border-radius: 12px; width: 80%; max-width: 320px; text-align: center;
    }
    .modal-box p { font-size: 0.9rem; margin-bottom: 15px; color: #333; }
    .modal-box .modal-url {
        background: #f1f2f6; padding: 10px; border-radius: 6px; font-size: 0.8rem; word-break: break-all; margin-bottom: 15px; color: #555;
    }
    .modal-box button {
        background: var(--primary); color: white; border: none; padding: 10px 20px; border-radius: 6px; width: 100%; font-size: 1rem; cursor: pointer;
    }

    /* Responsive */
    @media (max-width: 1024px) {
        .hero-text h1 { font-size: 1.8rem; }
    }

    @media (max-width: 768px) {
        .header-content { flex-direction: row; }
        .mobile-menu-btn { display: block; }
        nav {
            display: none; width: 100%; margin-top: 15px;
        }
        nav.active { display: block; }
        nav ul { flex-direction: column; gap: 0; }
        nav li { width: 100%; }
        nav a { display: block; padding: 10px; border-bottom: 1px solid #333; }

        .hero-inner { flex-direction: column; text-align: center; }
        .hero-text { max-width: 100%; }
        .hero-text h1 { font-size: 1.6rem; }
        .hero-images { max-width: 100%; width: 100%; }
        .download-buttons { justify-content: center; }

        .ranking-grid { grid-template-columns: 1fr; }
        .qa-grid { grid-template-columns: 1fr; }
        
        .section-title { font-size: 1.5rem; }
    }