        /* ===== CSS RESET & BASE ===== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }
        
        :root {
            --primary: #ff0084;
            --primary-dark: #00e5ff;
            --primary-light: rgba(255, 0, 132, 0.2);
            --accent: #00ff91;
            --accent2: #00ddff;
            --text: rgba(255, 255, 255, 0.92);
            --text-light: rgba(255, 255, 255, 0.7);
            --bg: #000000;
            --card-bg: rgba(30, 30, 40, 0.5);
            --border: rgba(255, 255, 255, 0.15);
            --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
            --radius: 13px;
            --glass: rgba(40, 40, 50, 0.4);
            --glass-highlight: rgba(255, 255, 255, 0.1);
            --glass-edge: rgba(255, 255, 255, 0.05);
        }
        
        body {
            background: var(--bg);
            color: var(--text);
            line-height: 1.6;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            overflow-x: hidden;
        }
        
        .container { 
            max-width: 1200px; 
            margin: 0 auto; 
            padding: 20px; 
            flex: 1; 
            z-index: 1; 
        }
        
        /* ===== HEADER STYLES ===== */
        header {
            text-align: center; 
            padding: 50px 30px; 
            margin-bottom: 50px; 
            background: var(--glass);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border-radius: var(--radius);
            border: 1px solid var(--glass-edge);
            box-shadow: var(--shadow);
            position: relative; 
            overflow: hidden;
        }
        
        header::before {
            content: ''; 
            position: absolute; 
            top: 0; 
            left: 0; 
            right: 0; 
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--glass-highlight), transparent);
        }
        
        h1 {
            font-size: 3.8rem;
            margin-bottom: 20px;
            font-weight: 800;
            background: linear-gradient(90deg, #ff0084, #00e5ff, #00ff91, #00ddff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            letter-spacing: -1.5px;
            line-height: 1.1;
        }
        
        .subtitle {
            font-size: 1.4rem;
            color: var(--text-light);
            max-width: 700px;
            margin: 0 auto;
            font-weight: 300;
        }
        
        /* ===== WELCOME MESSAGE ===== */
        /* ?id= থাকলে Welcome/হোম পেজ কখনো ঝলকাবে না; মুভি মডাল আসা পর্যন্ত লোডার */
        html.has-movie #welcomeMessage { display: none !important; }
        #earlyLoader { display: none; }
        html.has-movie #earlyLoader { display: flex; position: fixed; top: 0; left: 0; width: 100%; height: 100%; align-items: center; justify-content: center; z-index: 900; }
        html.movie-shown #earlyLoader { display: none !important; }

        .welcome-message {
            text-align: center; 
            padding: 90px 40px; 
            background: var(--glass);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border-radius: var(--radius);
            margin: 50px 0; 
            border: 1px solid var(--glass-edge);
            box-shadow: var(--shadow);
            transition: border-color 0.25s, box-shadow 0.25s;
        }
        
        .welcome-message:hover { 
            border-color: rgba(255,0,132,0.25);
            box-shadow: 0 8px 32px rgba(255,0,132,0.15); 
        }
        
        .welcome-icon { 
            font-size: 6rem; 
            margin-bottom: 35px; 
            color: #ff0084; 
        }
        
        .welcome-message h2 { 
            font-size: 3rem; 
            margin-bottom: 25px; 
            background: linear-gradient(90deg, #ff0084, #00e5ff, #00ff91, #00ddff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .welcome-message p { 
            font-size: 1.3rem; 
            color: var(--text-light); 
            max-width: 700px; 
            margin: 0 auto; 
            line-height: 1.8; 
        }
        
        .url-example {
            display: inline-block; 
            margin-top: 25px; 
            padding: 14px 28px; 
            background: rgba(0, 0, 0, 0.25);
            border-radius: var(--radius); 
            font-family: 'Poppins', monospace; 
            color: #ff0084;
            border: 1px solid var(--glass-edge); 
            font-weight: 500;
        }
        
        /* ===== MODAL STYLES ===== */
        .modal {
            display: none; 
            position: fixed; 
            top: 0; 
            left: 0; 
            width: 100%; 
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8); 
            backdrop-filter: blur(20px); 
            -webkit-backdrop-filter: blur(20px);
            z-index: 1000;
            overflow-y: auto; 
            opacity: 0; 
            transition: opacity 0.4s ease;
            padding: 50px 0; 
            justify-content: center;
            align-items: center;
        }
        
        .modal.show { opacity: 1; display: flex; }
        
        .modal-content {
            background: var(--glass);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            margin: 0 auto;
            padding: 50px 0 50px 0;
            border-radius: var(--radius);
            max-width: 1100px;
            width: 95%; 
            position: relative; 
            border: 1px solid var(--glass-edge);
            box-shadow: var(--shadow);
            transform: scale(0.95); 
            transition: transform 0.4s ease;
        }

        .modal.show .modal-content { transform: scale(1); }
        
        .close-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(255, 255, 255, 0.15);
            color: var(--text);
            border: none;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            font-size: 1.2rem;
            cursor: pointer;
            z-index: 10;
            transition: background 0.2s;
        }
        
        .close-btn:hover {
            background: #ff0084;
        }

        .modal-inner-padding { padding: 0 50px; }
        
        .movie-title { 
            font-size: 2.8rem; 
            margin-bottom: 20px; 
            font-weight: 700; 
            letter-spacing: -1px; 
            line-height: 1.2; 
            background: linear-gradient(90deg, #ff0084, #00e5ff, #00ff91, #00ddff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .movie-meta { 
            display: flex; 
            gap: 18px; 
            flex-wrap: wrap; 
            margin-bottom: 30px; 
        }
        
        .meta-item {
            display: flex; 
            align-items: center; 
            gap: 10px; 
            font-size: 1.1rem; 
            color: var(--text-light);
            padding: 10px 20px; 
            background: var(--glass);
            border-radius: var(--radius);
            border: 1px solid var(--glass-edge); 
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        .meta-item:hover { background: var(--glass-highlight); color: var(--text); }
        
        .movie-description { 
            margin-top: 30px; 
            color: var(--text-light); 
            line-height: 1.8; 
            font-size: 1.1rem; 
            max-width: 900px; 
        }
        
        /* ===== DOWNLOAD & EMBED SECTIONS ===== */
        .download-section, .embed-section { padding-top: 40px; margin-top: 40px; }
        .embed-section, .download-section { border-top: 1px solid var(--glass-edge); }

        .section-title {
            font-size: 1.8rem; 
            margin-bottom: 30px; 
            display: flex; 
            align-items: center;
            gap: 15px; 
            font-weight: 600;
            background: linear-gradient(90deg, #ff0084, #00e5ff, #00ff91, #00ddff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .section-title i { color: #ff0084; font-size: 2rem; }

        /* ===== EPISODE LIST ===== */
        .episode-list { display: flex; flex-direction: column; gap: 14px; }
        
        .episode-item { 
            background: var(--glass); 
            border: 1px solid var(--glass-edge); 
            border-radius: var(--radius); 
            overflow: hidden; 
            transition: border-color 0.25s ease, box-shadow 0.25s ease; 
        }
        
        .episode-item:hover { 
            border-color: rgba(255, 0, 132, 0.4); 
        }

        .episode-item.active {
            border-color: rgba(255, 0, 132, 0.5);
            box-shadow: 0 6px 24px rgba(255, 0, 132, 0.12);
        }
        
        .episode-header { 
            padding: 18px 24px; 
            cursor: pointer; 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            gap: 16px;
            font-weight: 600; 
            font-size: 1.15rem; 
            user-select: none;
            -webkit-tap-highlight-color: transparent;
        }
        
        .episode-header .arrow-icon { 
            transition: transform 0.3s ease; 
            color: var(--text-light);
            flex-shrink: 0;
        }
        .episode-item.active .episode-header .arrow-icon { transform: rotate(180deg); color: #ff0084; }
        
        .episode-links { 
            max-height: 0; 
            overflow: hidden; 
            transition: max-height 0.5s ease; 
            background: rgba(0,0,0,0.2); 
        }
        
        .episode-item.active .episode-links { 
            max-height: 1000px; 
            padding: 22px; 
            border-top: 1px solid var(--glass-edge); 
        }
        
        .episode-links .download-card { 
            display: flex; 
            justify-content: space-between; 
            align-items: center; 
            gap: 16px;
            padding: 16px 18px; 
            background: rgba(255, 255, 255, 0.03); 
            border-radius: 14px; 
            transition: background-color 0.25s ease, border-color 0.25s ease; 
            border: 1px solid var(--glass-edge);
            position: relative;
            overflow: hidden;
        }
        
        .episode-links .download-card:hover { 
            background-color: rgba(255, 255, 255, 0.06);
            border-color: rgba(255, 0, 132, 0.3);
        }
        
        .episode-links .download-card:not(:last-child) { margin-bottom: 12px; }

        .download-card-info { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
        .download-card-action { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
        
        /* ===== BUTTON STYLES (professional) ===== */
        .download-btn {
            display: inline-flex; 
            align-items: center; 
            justify-content: center;
            gap: 9px; 
            padding: 13px 26px;
            min-height: 46px;
            background: linear-gradient(135deg, #00ff91, #00ddff);
            color: #04140f;
            text-decoration: none; 
            border-radius: 50px; 
            font-weight: 700;
            font-size: 0.95rem;
            letter-spacing: 0.2px;
            white-space: nowrap;
            transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; 
            border: none;
            box-shadow: 0 4px 16px rgba(0, 255, 145, 0.25);
            cursor: pointer;
            -webkit-tap-highlight-color: transparent;
        }

        .download-btn i { font-size: 0.95em; }
        
        .download-btn:hover { 
            transform: translateY(-2px); 
            filter: brightness(1.08);
            box-shadow: 0 6px 22px rgba(0, 255, 145, 0.35);
        }

        .download-btn:active { transform: translateY(0) scale(0.98); }
        .download-btn:focus-visible { outline: 2px solid #00ddff; outline-offset: 3px; }
        
        .download-btn.locked-btn {
            background: linear-gradient(135deg, #ff0084, #ff6a00);
            color: #fff;
            box-shadow: 0 4px 16px rgba(255, 0, 132, 0.3);
        }
        .download-btn.locked-btn:hover { box-shadow: 0 6px 22px rgba(255, 0, 132, 0.4); }

        .download-btn.locked-btn.step-2 {
            background: linear-gradient(135deg, #00ddff, #0084ff);
            box-shadow: 0 4px 16px rgba(0, 136, 255, 0.3);
        }
        .download-btn.locked-btn.step-2:hover { box-shadow: 0 6px 22px rgba(0, 136, 255, 0.4); }

        .download-btn[data-premium="true"] {
            background: linear-gradient(135deg, #ffb300, #ff0084);
            color: #fff;
            box-shadow: 0 4px 16px rgba(255, 179, 0, 0.3);
        }
        .download-btn[data-premium="true"]:hover { box-shadow: 0 6px 22px rgba(255, 179, 0, 0.4); }

        .btn-step-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.68rem;
            font-weight: 800;
            background: rgba(0, 0, 0, 0.28);
            padding: 2px 8px;
            border-radius: 20px;
            margin-left: 1px;
        }

        .unavailable-badge {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            padding: 12px 22px;
            min-height: 46px;
            background: rgba(255, 0, 132, 0.08);
            border: 1px solid rgba(255, 0, 132, 0.25);
            border-radius: 50px;
            color: #ff0084;
            font-weight: 600;
            font-size: 0.88rem;
            cursor: not-allowed;
            white-space: nowrap;
        }

        .premium-exclusive-tag {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            padding: 6px 13px;
            background: rgba(255, 179, 0, 0.1);
            border: 1px solid rgba(255, 179, 0, 0.3);
            border-radius: 20px;
            color: #ffb300;
            font-weight: 600;
            font-size: 0.74rem;
            white-space: nowrap;
        }
        
        .unlock-stream-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            padding: 20px 30px;
            background: linear-gradient(135deg, #ff0084, #00e5ff, #00ff91, #00ddff);
            color: #000000;
            text-decoration: none;
            border-radius: var(--radius);
            font-weight: 700;
            font-size: 1.2rem;
            transition: transform 0.25s, filter 0.25s;
            box-shadow: 0 8px 25px rgba(255, 0, 132, 0.4);
            border: none;
            cursor: pointer;
            width: fit-content;
            margin: 30px auto 0;
        }

        .unlock-stream-btn:hover {
            transform: translateY(-3px);
            filter: brightness(1.08);
        }
        .unlock-stream-btn:active { transform: translateY(-1px) scale(0.98); }
        .unlock-stream-btn:focus-visible { outline: 2px solid #00ddff; outline-offset: 3px; }

        .watch-online-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            padding: 18px 34px;
            background: linear-gradient(135deg, #00ff91, #00ddff);
            color: #04140f;
            text-decoration: none;
            border-radius: var(--radius);
            font-weight: 700;
            font-size: 1.15rem;
            transition: transform 0.25s, filter 0.25s, box-shadow 0.25s;
            box-shadow: 0 8px 25px rgba(0, 255, 145, 0.35);
            border: none;
            cursor: pointer;
            width: fit-content;
            margin: 4px auto 0;
        }
        .watch-online-btn:hover { transform: translateY(-3px); filter: brightness(1.08); box-shadow: 0 10px 30px rgba(0, 255, 145, 0.45); }
        .watch-online-btn:active { transform: translateY(-1px) scale(0.98); }
        .watch-online-btn:focus-visible { outline: 2px solid #00ddff; outline-offset: 3px; }

        .premium-message {
            text-align: center;
            padding: 40px;
            color: var(--text);
            background: var(--glass);
            border-radius: var(--radius);
            border: 1px solid var(--glass-edge);
            line-height: 1.6;
        }

        .premium-message p { font-size: 1.2rem; margin-bottom: 20px; }
        .premium-message strong { color: #00ff91; font-weight: 700; }

        /* ===== FOOTER ===== */
        footer {
            text-align: center; 
            margin-top: 100px; 
            padding: 40px; 
            color: var(--text-light);
            background: var(--glass);
            border-top: 1px solid var(--glass-edge); 
        }
        
        /* ===== LOADING & NOTIFICATION ===== */
        .loading { 
            display: flex; 
            flex-direction: column;
            justify-content: center; 
            align-items: center; 
            padding: 100px 40px;
            width: 100%; 
        }
        
        .spinner { 
            width: 70px; 
            height: 70px; 
            border: 5px solid rgba(255, 255, 255, 0.1); 
            border-radius: 50%; 
            border-top: 5px solid #ff0084;
            border-right: 5px solid #00ff91;
            animation: spin 1s linear infinite;
            filter: drop-shadow(0 0 15px #ff0084);
            margin-bottom: 20px;
        }

        .loading-text {
            font-size: 1.1rem;
            font-weight: 600;
            letter-spacing: 2px;
            background: linear-gradient(90deg, #ff0084, #00e5ff, #00ff91, #00ddff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-transform: uppercase;
        }

        /* ===== LOADING PROGRESS (percentage) ===== */
        .loading-percent {
            font-size: 2.2rem;
            font-weight: 800;
            margin-top: 14px;
            font-variant-numeric: tabular-nums;
            background: linear-gradient(90deg, #ff0084, #00e5ff, #00ff91, #00ddff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .loading-bar-track {
            width: 220px;
            max-width: 70vw;
            height: 6px;
            margin-top: 16px;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.12);
            overflow: hidden;
        }

        .loading-bar-fill {
            height: 100%;
            width: 0%;
            border-radius: 8px;
            background: linear-gradient(90deg, #ff0084, #00e5ff, #00ff91);
            box-shadow: 0 0 8px #ff0084;
            transition: width 0.25s ease-out;
        }

        @keyframes spin { 
            0% { transform: rotate(0deg); } 
            100% { transform: rotate(360deg); } 
        }
        
        .notification {
            position: fixed; top: 25px; right: 25px; padding: 18px 28px; 
            background: var(--glass); backdrop-filter: blur(15px); 
            border-radius: var(--radius); border: 1px solid var(--glass-edge);
            color: var(--text); transform: translateX(120%); opacity: 0;
            transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1); z-index: 1001; font-weight: 500;
        }
        
        .notification.show { transform: translateX(0); opacity: 1; }
        .notification.error { border-left: 5px solid #ff0084; }
        .notification.success { border-left: 5px solid #00ff91; }
        
        .no-embed, .no-download { text-align: center; padding: 40px; color: var(--text-light); font-style: italic; background: var(--glass); border-radius: var(--radius); }

        /* ===== BENGALI TEXT ===== */
        .download-warning { color: #00ff91; font-weight: 700; text-align: center; margin-bottom: 15px; font-size: 22px; font-family: 'Hind Siliguri', sans-serif; }
        .download-suggestion { color: #00ddff; font-weight: 600; text-align: center; margin-bottom: 20px; font-size: 18px; font-family: 'Hind Siliguri', sans-serif; }

        /* ===== TELEGRAM FLOAT ===== */
        .telegram-float { position: fixed; bottom: 25px; right: 25px; z-index: 1000; }
        .telegram-icon {
            width: 52px; height: 52px; border-radius: 50%;
            background: linear-gradient(135deg, #ff0084, #00e5ff);
            display: flex;
            justify-content: center; align-items: center;
        }
        .telegram-icon svg { fill: #fff; width: 26px; height: 26px; }

        /* ===== SCROLL-TO-TOP (inside long movie modals) ===== */
        .scroll-top-btn {
            position: fixed;
            bottom: 92px;
            right: 25px;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            border: 1px solid var(--glass-edge);
            background: linear-gradient(135deg, #ff0084, #00e5ff);
            color: #000;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            cursor: pointer;
            z-index: 1001;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
            -webkit-tap-highlight-color: transparent;
        }
        .scroll-top-btn.show { opacity: 1; visibility: visible; transform: translateY(0); }
        .scroll-top-btn:hover { filter: brightness(1.1); }
        .scroll-top-btn:active { transform: translateY(0) scale(0.94); }
        .scroll-top-btn:focus-visible { outline: 2px solid #00ddff; outline-offset: 3px; }

        @media (max-width: 480px) {
            .scroll-top-btn { width: 44px; height: 44px; bottom: 80px; right: 16px; font-size: 1rem; }
            .telegram-float { bottom: 18px; right: 16px; }
        }

        /* ===== BADGES ===== */
        .recommended-badge { color: #fff; font-size: 0.75rem; font-weight: 600; padding: 4px 10px; border-radius: 50px; margin-left: 10px; display: inline-block; background: linear-gradient(45deg, var(--primary), var(--accent)); }

        .combo-badge { color: #fff; font-size: 0.75rem; font-weight: 600; padding: 4px 10px; border-radius: 50px; margin: 0 2px; display: inline-block; background: linear-gradient(45deg, var(--primary), var(--accent)); }

        .not-working-header-badge {
    background: rgba(30, 0, 0, 0.85);
    color: #ff3333;
    border: 1.5px solid #cc0000;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
    box-shadow: 0 0 8px rgba(200, 0, 0, 0.4), inset 0 0 6px rgba(180, 0, 0, 0.2);
}
        /* ===== DOWNLOAD OPTIONS ===== */
        .download-option-highlight {
            display: flex; align-items: center; gap: 12px;
            padding: 10px 16px; border-radius: 10px; transition: all 0.3s ease; flex: 1;
            min-width: 0;
        }
        .download-option-highlight > div { min-width: 0; }
        .download-option-highlight.telegram { background: linear-gradient(135deg, rgba(0,136,204,0.15), rgba(0,221,255,0.1)); border: 1px solid rgba(0,221,255,0.3); }
        .download-option-highlight.hd-1080p { background: linear-gradient(135deg, rgba(0,255,145,0.15), rgba(0,229,255,0.1)); border: 1px solid rgba(0,255,145,0.3); }
        .download-option-highlight.hd-720p { background: linear-gradient(135deg, rgba(0,221,255,0.15), rgba(0,255,145,0.1)); border: 1px solid rgba(0,221,255,0.3); }
        .download-option-highlight.backup { background: linear-gradient(135deg, rgba(255,0,132,0.15), rgba(0,229,255,0.1)); border: 1px solid rgba(255,0,132,0.3); }
        .download-option-highlight .emoji { font-size: 1.4rem; flex-shrink: 0; }
        .download-option-highlight .quality-badge { font-weight: 700; font-size: 1rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .download-option-highlight.telegram .quality-badge { color: #00ddff; }
        .download-option-highlight.hd-1080p .quality-badge { color: #00ff91; }
        .download-option-highlight.hd-720p .quality-badge { color: #00e5ff; }
        .download-option-highlight .size-info { font-size: 0.85rem; color: var(--text-light); margin-left: auto; background: rgba(0,0,0,0.3); padding: 4px 8px; border-radius: 6px; white-space: nowrap; flex-shrink: 0; }
        .download-option-highlight .server-badge { background: linear-gradient(135deg, #ff0084, #00e5ff, #00ff91); color: #000; padding: 4px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; white-space: nowrap; flex-shrink: 0; }
        .download-option-highlight.telegram .server-badge { background: linear-gradient(135deg, #00ddff, #00ff91); color: #000; }
        .download-option-highlight.hd-1080p .server-badge { background: linear-gradient(135deg, #00ff91, #00e5ff); color: #000; }
        .download-option-highlight.hd-720p .server-badge { background: linear-gradient(135deg, #00e5ff, #00ff91); color: #000; }

        /* ===== EPISODE HEADER ===== */
        .episode-header-with-emoji { display: flex; align-items: center; gap: 12px; min-width: 0; }
        .episode-emoji { font-size: 1.5rem; flex-shrink: 0; }
        .episode-header-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
        .episode-main-text { font-weight: 700; font-size: 1.1rem; }
        .episode-sub-text { font-size: 0.85rem; color: var(--text-light); }

        /* ===== QUALITY INDICATORS ===== */
        .quality-indicator { display: flex; align-items: center; gap: 5px; margin-top: 5px; flex-wrap: wrap; }
        .quality-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
        .quality-dot.hd { background: #00e5ff; box-shadow: 0 0 8px #00e5ff; }
        .quality-dot.fhd { background: #00ff91; box-shadow: 0 0 8px #00ff91; }
        .download-stats { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--text-light); margin-top: 5px; flex-wrap: wrap; }
        .server-status { display: flex; align-items: center; gap: 4px; font-size: 0.7rem; padding: 2px 6px; border-radius: 8px; background: rgba(0,255,145,0.1); color: #00ff91; border: 1px solid rgba(0,255,145,0.3); white-space: nowrap; }
        .speed-indicator { display: flex; align-items: center; gap: 5px; font-size: 0.75rem; color: #00ddff; margin-top: 3px; }
        .download-count { display: flex; align-items: center; gap: 4px; background: rgba(255,255,255,0.1); padding: 2px 8px; border-radius: 10px; white-space: nowrap; }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 768px) {
            .modal-content { padding: 25px 0; }
            .modal-inner-padding { padding: 0 16px; }
            .modal { padding: 15px 0; }
            .movie-title { font-size: 1.8rem; }
            .section-title { font-size: 1.4rem; }
            .episode-header { padding: 16px 18px; font-size: 1.05rem; }
            .episode-item.active .episode-links { padding: 16px; }

            /* Download card: stack info above the action button, both full width */
            .episode-links .download-card {
                flex-direction: column;
                align-items: stretch;
                gap: 14px;
                padding: 16px;
            }
            .download-card-info { width: 100%; }
            .download-card-action { width: 100%; }
            .download-card-action > * { flex: 1; }
            .download-btn, .unavailable-badge { width: 100%; }
            .download-option-highlight .size-info { display: none; }

            h1 { font-size: 2.2rem; }
        }

        @media (max-width: 480px) {
            .download-option-highlight { padding: 9px 12px; gap: 9px; }
            .download-option-highlight .emoji { font-size: 1.2rem; }
            .download-option-highlight .quality-badge { font-size: 0.92rem; }
            .download-stats, .speed-indicator { font-size: 0.72rem; }
            .server-badge { font-size: 0.68rem; padding: 3px 8px; }
            .episode-main-text { font-size: 1rem; }
            .episode-sub-text { font-size: 0.78rem; }
            .download-btn { padding: 12px 20px; font-size: 0.9rem; }
            .unavailable-badge { padding: 11px 18px; font-size: 0.82rem; }
            .premium-exclusive-tag { font-size: 0.7rem; padding: 5px 11px; }

            .unlock-stream-btn { width: 100%; padding: 16px 20px; font-size: 1.05rem; }
            .watch-online-btn { width: 100%; padding: 16px 20px; font-size: 1.05rem; }
            .premium-message { padding: 28px 20px; }
        }

.watch-online-btn.stream-locked-btn {
    background: linear-gradient(135deg, #ff0084, #ff6a00);
    color: #fff;
    box-shadow: 0 8px 25px rgba(255, 0, 132, 0.35);
}
.watch-online-btn.stream-locked-btn.step-2 {
    background: linear-gradient(135deg, #00ddff, #0084ff);
    box-shadow: 0 8px 25px rgba(0, 136, 255, 0.35);
}
    
