:root {
        --brand-color: #ff4d4f;
        --bg-dark: #14151a;
        --bg-light: #ffffff;
        --text-main: #333333;
        --text-light: #888888;
        --border-radius: 16px;
        --max-width: 1200px;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        background-color: #f5f6f8;
        color: var(--text-main);
        line-height: 1.6;
        padding-bottom: 70px; /* Space for floating dock */
        overflow-x: hidden;
    }
    a { text-decoration: none; color: inherit; }
    img { max-width: 100%; display: block; object-fit: cover; }
    .container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
    
    /* Header */
    .site-header {
        background: var(--bg-dark);
        color: #fff;
        padding: 12px 0;
        position: sticky;
        top: 0;
        z-index: 100;
    }
    .logo-group {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 20px;
        font-weight: bold;
    }
    .logo-group img { height: 32px; border-radius: 6px; }
    .header-nav { display: none; }
    
    /* Hero Section */
    .hero {
        background: radial-gradient(circle at top right, #2a2b36, #14151a);
        color: #fff;
        padding: 40px 0 60px;
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
        position: relative;
        overflow: hidden;
    }
    .hero-content { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 30px; }
    .hero h1 { font-size: 28px; margin-bottom: 12px; line-height: 1.3; }
    .hero p { font-size: 14px; color: #aaa; margin-bottom: 24px; }
    
    /* Carousel */
    .carousel-container {
        width: 100%;
        overflow: hidden;
        padding: 10px 0;
        position: relative;
    }
    .carousel-track {
        display: flex;
        gap: 16px;
        width: max-content;
        animation: scroll 20s linear infinite;
    }
    .carousel-item {
        width: 140px;
        border-radius: 12px;
        overflow: hidden;
        flex-shrink: 0;
    }
    .carousel-item img { height: 200px; width: 100%; }
    @keyframes scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-50% - 8px)); }
    }
    
    /* Marquee */
    .marquee {
        background: linear-gradient(90deg, #ff4d4f, #ff7a45);
        color: transparent;
        -webkit-background-clip: text;
        background-clip: text;
        font-weight: bold;
        white-space: nowrap;
        overflow: hidden;
        padding: 10px 0;
        font-size: 18px;
        border-top: 1px solid #333;
        border-bottom: 1px solid #333;
        margin-top: 20px;
    }
    .marquee span { display: inline-block; padding-left: 100%; animation: marquee 15s linear infinite; }
    @keyframes marquee { 0% { transform: translate(0, 0); } 100% { transform: translate(-100%, 0); } }

    /* Global Download Buttons */
    .dl-buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    .dl-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255,255,255,0.1);
        border: 1px solid rgba(255,255,255,0.2);
        color: #fff;
        padding: 10px 18px;
        border-radius: 30px;
        font-size: 14px;
        font-weight: 500;
        flex: 1 1 40%;
        min-width: 130px;
        transition: all 0.3s ease;
    }
    .dl-btn:hover { background: var(--brand-color); border-color: var(--brand-color); }
    .dl-btn.top-dl { background: var(--brand-color); border: none; width: 100%; flex: auto; margin-bottom: 10px; font-size: 16px; padding: 14px; }

    /* Columns */
    .section-block { padding: 50px 0; }
    .section-title { font-size: 24px; margin-bottom: 30px; text-align: center; position: relative; }
    .section-title::after {
        content: '';
        display: block;
        width: 40px;
        height: 4px;
        background: var(--brand-color);
        margin: 10px auto 0;
        border-radius: 2px;
    }
    
    /* Layout Varients */
    .bg-white { background: var(--bg-light); }
    .bg-cream { background: #fffbf0; }
    .bg-light-blue { background: #f0f8ff; }
    .bg-purple { background: #f8f4ff; }
    
    /* Grid System */
    .grid-2 { display: grid; grid-template-columns: 1fr; gap: 20px; }
    .grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
    .flex-col { display: flex; flex-direction: column; gap: 20px; }
    
    /* Movie Card */
    .movie-card {
        background: #fff;
        border-radius: var(--border-radius);
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        display: flex;
        flex-direction: column;
    }
    .movie-card img { width: 100%; height: 220px; object-fit: cover; border-bottom: 1px solid #eee; }
    .movie-info { padding: 12px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
    .movie-title { font-weight: bold; font-size: 15px; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .movie-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
    .tag { font-size: 11px; background: #ffe6e6; color: var(--brand-color); padding: 2px 6px; border-radius: 4px; }
    .movie-desc { font-size: 12px; color: var(--text-light); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; }
    .movie-date { font-size: 11px; color: #999; }

    /* List Card */
    .list-card {
        background: #fff;
        border-radius: var(--border-radius);
        padding: 16px;
        display: flex;
        gap: 16px;
        align-items: center;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    }
    .list-card .index { font-size: 24px; font-weight: bold; color: var(--brand-color); font-style: italic; width: 30px; text-align: center; }
    .list-card .content { flex: 1; }
    .list-card .content h3 { font-size: 16px; margin-bottom: 4px; }
    .list-card .content p { font-size: 12px; color: var(--text-light); }
    .list-card img { width: 60px; height: 80px; border-radius: 8px; object-fit: cover; }

    /* Timeline */
    .timeline { position: relative; padding-left: 20px; margin-top: 20px; }
    .timeline::before { content: ''; position: absolute; left: 6px; top: 0; bottom: 0; width: 2px; background: #e0e0e0; }
    .timeline-item { position: relative; margin-bottom: 20px; }
    .timeline-item::before {
        content: ''; position: absolute; left: -18px; top: 5px; width: 10px; height: 10px;
        border-radius: 50%; background: var(--brand-color); border: 2px solid #fff;
    }
    .timeline-time { font-size: 13px; font-weight: bold; color: var(--brand-color); margin-bottom: 4px; }
    .timeline-content h4 { font-size: 15px; margin-bottom: 4px; }
    .timeline-content p { font-size: 12px; color: var(--text-light); }

    /* Q&A */
    .qa-item { margin-bottom: 16px; background: #fff; padding: 16px; border-radius: 12px; }
    .qa-q { font-weight: bold; margin-bottom: 6px; color: #222;}
    .qa-a { font-size: 14px; color: #555; }

    /* Creator & Comments */
    .creator-box { background: #333; color: #fff; padding: 30px; border-radius: var(--border-radius); text-align: center; }
    .comment-wall { display: grid; gap: 16px; }
    .comment-item { display: flex; gap: 12px; background: #fff; padding: 16px; border-radius: 12px; }
    .comment-item img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
    .comment-content h4 { font-size: 14px; margin-bottom: 4px; }
    .comment-content p { font-size: 13px; color: #555; }

    /* Footer */
    .site-footer { background: var(--bg-dark); color: #777; text-align: center; padding: 30px 20px; font-size: 12px; }
    .footer-nav { margin: 16px 0; }
    .footer-nav a { color: #999; margin: 0 8px; }
    .footer-nav a:hover { color: #fff; }

    /* Floating Download */
    .floating-download {
        position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
        background: rgba(0,0,0,0.8); backdrop-filter: blur(8px);
        border-radius: 40px; padding: 8px 20px 8px 8px;
        display: flex; align-items: center; gap: 12px; z-index: 999;
        box-shadow: 0 4px 20px rgba(0,0,0,0.2); color: #fff;
        transition: transform 0.3s;
    }
    .floating-download img { height: 36px; width: 36px; border-radius: 50%; object-fit: cover; }
    .floating-btn { background: var(--brand-color); color: #fff; padding: 8px 16px; border-radius: 20px; font-size: 14px; font-weight: bold; border: none; cursor: pointer; }

    /* Dialog */
    .dialog-overlay {
        position: fixed; top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.6); z-index: 1000; display: none; align-items: center; justify-content: center;
    }
    .dialog-box { background: #fff; width: 80%; max-width: 320px; border-radius: 16px; padding: 20px; text-align: center; }
    .dialog-box p { margin-bottom: 16px; font-size: 14px; color: #333; }
    .dialog-input { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 8px; margin-bottom: 16px; text-align: center; font-size: 12px; }
    .dialog-btn { background: var(--brand-color); color: #fff; border: none; padding: 10px 20px; border-radius: 20px; width: 100%; font-size: 16px; }

    /* Mobile Collapse Navigation */
    .mobile-nav-select { width: 100%; padding: 12px; border-radius: 8px; border: 1px solid #ddd; margin-bottom: 20px; display: block; background: #fff; font-size: 16px; }
    .desktop-nav { display: none; }

    /* Media Queries */
    @media (min-width: 768px) {
        .hero h1 { font-size: 36px; }
        .grid-2 { grid-template-columns: 1fr 1fr; }
        .grid-3 { grid-template-columns: repeat(3, 1fr); }
        .dl-buttons { flex-wrap: nowrap; }
        .dl-btn { flex: initial; min-width: 120px; }
        .mobile-nav-select { display: none; }
        .desktop-nav { display: flex; gap: 20px; overflow-x: auto; padding: 10px 0; }
        .desktop-nav a { color: #ccc; font-size: 14px; white-space: nowrap; }
        .desktop-nav a:hover { color: #fff; }
        .header-nav { display: block; }
    }
    @media (min-width: 1024px) {
        .hero-content { flex-direction: row; text-align: left; gap: 40px; }
        .hero-text { flex: 1; }
        .hero-download { width: 400px; }
        .dl-btn.top-dl { width: auto; }
        .hello-grid { display: grid; grid-template-columns: 300px 1fr; gap: 30px; align-items: start;}
    }