
        :root {
            --apple-bg: #0a0a0c;
            --apple-surface: #1c1c1e;
            --apple-surface-elevated: #2c2c2e;
            --apple-accent: #ffffff;
            --apple-text-primary: #ffffff;
            --apple-text-secondary: #8e8e93;
            --apple-blur: saturate(180%) blur(20px);
            
            --glass-grad: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 50%, rgba(0, 0, 0, 0.2) 100%);
            --glass-accent-grad: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(0, 0, 0, 0.05) 100%);
            --glass-border: 1px solid rgba(255, 255, 255, 0.05);
            --glass-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0px rgba(255, 255, 255, 0.05);
        }

        body { 
            background-color: var(--apple-bg); 
            color: var(--apple-text-primary); 
            font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
            margin: 0; 
            padding: 0; 
            display: flex; 
            flex-direction: column; 
            min-height: 100vh; 
            box-sizing: border-box; 
            -webkit-tap-highlight-color: transparent;
            letter-spacing: -0.2px;
        }

        /* Super Liquid-Smooth Apple Glass Header Matrix */
        header { 
            display: flex; 
            flex-direction: column; 
            gap: 16px; 
            align-items: center; 
            max-width: 100%; 
            width: 100%; 
            margin: 0 auto; 
            padding: 18px 20px 20px 20px; 
            box-sizing: border-box; 
            position: sticky; 
            top: 0;
            z-index: 100; 
            text-align: center; 
            background: rgba(10, 10, 12, 0.75);
            backdrop-filter: var(--apple-blur);
            -webkit-backdrop-filter: var(--apple-blur);
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            transition: padding 0.4s cubic-bezier(0.25, 1, 0.5, 1);
            will-change: padding;
        }

        .controls-group { 
            display: flex; 
            flex-direction: column; 
            gap: 14px; 
            width: 100%; 
            align-items: center; 
            transform-origin: top center;
            transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), 
                        opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
                        max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1),
                        margin-top 0.35s cubic-bezier(0.25, 1, 0.5, 1);
            max-height: 200px; 
            opacity: 1;
            transform: translateY(0) scale(1);
            will-change: transform, opacity, max-height;
        }

        header.hide-controls {
            padding-bottom: 0px;
        }
        header.hide-controls .controls-group {
            opacity: 0;
            max-height: 0px;
            margin-top: -16px;
            transform: translateY(-20px) scale(0.96);
            pointer-events: none;
        }
        
        .logo-area { display: flex; align-items: center; gap: 10px; cursor: pointer; text-decoration: none; color: inherit; justify-content: center; }
        .logo-favicon { width: 34px; height: 34px; object-fit: contain; }
        .logo-text-wrapper { display: flex; flex-direction: column; text-align: left; }
        
        h1 { 
            color: var(--apple-text-primary); 
            font-size: 1.8rem; 
            font-weight: 700;
            letter-spacing: -0.5px; 
            margin: 0; 
        }
        .tagline { color: var(--apple-text-secondary); font-size: 0.8rem; margin-top: 1px; font-weight: 500; }
        
        .search-bar { 
            background: rgba(255, 255, 255, 0.06); 
            border: 1px solid rgba(255, 255, 255, 0.04); 
            padding: 12px 16px; 
            border-radius: 12px; 
            color: #fff; 
            width: 100%; 
            max-width: 380px; 
            font-size: 0.95rem; 
            outline: none; 
            box-sizing: border-box; 
            box-shadow: inset 0 1px 2px rgba(0,0,0,0.4);
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); 
        }
        .search-bar:focus { 
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.15);
            box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.03), inset 0 1px 2px rgba(0,0,0,0.4);
        }

        .tab-buttons { display: flex; gap: 8px; width: 100%; justify-content: center; flex-wrap: wrap; }
        
        .nav-btn { 
            background: var(--glass-grad);
            border: var(--glass-border); 
            padding: 10px 22px; 
            border-radius: 20px; 
            color: rgba(255, 255, 255, 0.75); 
            cursor: pointer; 
            font-weight: 600; 
            font-size: 0.9rem; 
            box-shadow: var(--glass-shadow);
            transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1); 
            position: relative;
            overflow: hidden;
            -webkit-user-select: none; 
            user-select: none; 
        }
        .nav-btn::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; height: 50%;
            background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
            pointer-events: none;
        }
        .nav-btn:hover { 
            background: rgba(255, 255, 255, 0.08);
            color: #fff;
            transform: translateY(-1px);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), inset 0 1px 0px rgba(255, 255, 255, 0.08);
        }
        .nav-btn:active { transform: translateY(1px); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); }
        .nav-btn.active { 
            background: var(--glass-accent-grad), #ffffff;
            color: #000; 
            border: 1px solid rgba(255, 255, 255, 0.8);
            box-shadow: 0 4px 14px rgba(255, 255, 255, 0.1), inset 0 1px 0px rgba(255, 255, 255, 0.3);
        }
        
        .hero-banner { 
            position: relative; 
            width: calc(100% - 32px); 
            max-width: 1400px;
            height: 420px; 
            background-size: cover; 
            background-position: center top; 
            display: flex; 
            align-items: flex-end; 
            margin: 20px auto 30px auto; 
            border-radius: 18px; 
            overflow: hidden; 
            box-shadow: 0 20px 40px rgba(0,0,0,0.4); 
            transition: background-image 0.6s cubic-bezier(0.4, 0, 0.2, 1); 
        }
        .hero-overlay { 
            position: absolute; 
            top: 0; left: 0; width: 100%; height: 100%; 
            background: linear-gradient(to bottom, rgba(10,10,12,0.1) 0%, rgba(10,10,12,0.4) 50%, rgba(10,10,12,0.95) 100%); 
        }
        .hero-content { position: relative; z-index: 2; max-width: 720px; padding: 30px 40px; text-align: left; box-sizing: border-box; width: 100%; opacity: 1; transition: opacity 0.4s ease-in-out; }
        .hero-title { font-size: 2.6rem; font-weight: 800; margin: 0 0 12px 0; color: #fff; letter-spacing: -1px; line-height: 1.1; text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
        .hero-meta { display: flex; gap: 14px; font-size: 0.85rem; color: rgba(255,255,255,0.7); font-weight: 600; margin-bottom: 14px; align-items: center; flex-wrap: wrap; }
        .hero-rating { background: rgba(255, 255, 255, 0.15); padding: 2px 8px; border-radius: 4px; font-weight: 700; color: #fff; backdrop-filter: var(--apple-blur); }
        .hero-desc { color: rgba(255,255,255,0.75); font-size: 0.95rem; line-height: 1.5; margin: 0 0 24px 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
        
        .hero-play-btn { 
            display: inline-flex; align-items: center; justify-content: center; gap: 8px; 
            background: var(--glass-accent-grad), #ffffff; color: #000; font-weight: 700; padding: 12px 32px; border-radius: 24px; text-decoration: none; font-size: 0.95rem; border: 1px solid rgba(255, 255, 255, 0.8);
            box-shadow: 0 10px 20px rgba(0,0,0,0.3), inset 0 1px 0px rgba(255, 255, 255, 0.4); transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.2s ease; position: relative;
        }
        .hero-play-btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 24px rgba(0,0,0,0.4), inset 0 1px 0px rgba(255, 255, 255, 0.5); }
        
        .carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; background: rgba(30, 30, 30, 0.4); border: 1px solid rgba(255, 255, 255, 0.08); color: #fff; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1rem; backdrop-filter: var(--apple-blur); -webkit-backdrop-filter: var(--apple-blur); transition: all 0.25s ease; box-shadow: var(--glass-shadow); -webkit-user-select: none; user-select: none; }
        .carousel-arrow:hover { background: var(--apple-accent); color: #000; transform: translateY(-50%) scale(1.05); }
        .carousel-arrow.left-btn { left: 20px; }
        .carousel-arrow.right-btn { right: 20px; }
        .carousel-indicators-box { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 6px; }
        .indicator-dot { width: 6px; height: 6px; background: rgba(255, 255, 255, 0.3); border-radius: 50%; cursor: pointer; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); }
        .indicator-dot.active { background: var(--apple-accent); width: 18px; border-radius: 3px; }

        .section-heading { max-width: 1400px; width: 100%; margin: 24px auto 16px auto; padding: 0 20px; box-sizing: border-box; font-size: 1.4rem; font-weight: 700; letter-spacing: -0.3px; color: var(--apple-text-primary); text-align: left; }
        .grid-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; max-width: 1400px; width: 100%; margin: 0 auto; padding: 0 20px; box-sizing: border-box; flex: 1; }
        
        .movie-card { 
            background: var(--apple-surface); border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; position: relative; transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease; box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }
        .movie-poster { width: 100%; height: 210px; object-fit: cover; background: #111; transition: opacity 0.2s ease; }
        .movie-details { padding: 12px; background: var(--apple-surface); }
        .movie-title { font-weight: 600; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 3px; color: var(--apple-text-primary); }
        .movie-info { font-size: 0.8rem; color: var(--apple-text-secondary); font-weight: 500; display: flex; align-items: center; gap: 4px; }
        
        .badge { 
            position: absolute; top: 10px; right: 10px; background: rgba(0, 0, 0, 0.65); backdrop-filter: var(--apple-blur); -webkit-backdrop-filter: var(--apple-blur); color: #fff; padding: 3px 8px; border-radius: 6px; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.5px; border: 1px solid rgba(255,255,255,0.08); z-index: 2; 
        }

        .load-more-box { text-align: center; margin: 40px auto; max-width: 1400px; width: 100%; padding: 0 20px; box-sizing: border-box; }
        .load-more-btn { 
            background: var(--glass-grad); border: var(--glass-border); padding: 12px 36px; border-radius: 24px; color: var(--apple-text-primary); cursor: pointer; font-weight: 600; font-size: 0.95rem; box-shadow: var(--glass-shadow); position: relative; overflow: hidden; transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1); 
        }
        .load-more-btn:hover { background: rgba(255,255,255,0.08); transform: translateY(-1px); }

        .player-wrapper { display: none; flex-direction: column; align-items: center; max-width: 1200px; width: 100%; margin: 20px auto; padding: 0 16px; box-sizing: border-box; flex: 1; position: relative; }
        .player-responsive-container { position: relative; width: 100%; padding-top: 56.25%; background: #000; border-radius: 16px; overflow: hidden; box-shadow: 0 25px 50px rgba(0,0,0,0.5); }
        iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
        
        .controls-row { display: flex; flex-direction: column; gap: 14px; width: 100%; margin-bottom: 20px; align-items: stretch; }
        
        .back-btn { 
            padding: 10px 22px; background: var(--glass-grad); color: var(--apple-text-primary); text-decoration: none; border-radius: 20px; font-weight: 600; font-size: 0.9rem; text-align: center; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: var(--glass-border); box-shadow: var(--glass-shadow); position: relative; overflow: hidden; transition: all 0.2s ease; 
        }
        .back-btn:hover { background: rgba(255,255,255,0.08); transform: translateY(-1px); }
        
        .playback-header { color: var(--apple-text-primary); font-weight: 700; font-size: 1.3rem; text-align: left; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: -0.3px; }
        .player-search-bar { background: var(--apple-surface); border: 1px solid rgba(255,255,255,0.05); padding: 12px 16px; border-radius: 12px; color: #fff; width: 100%; font-size: 0.95rem; outline: none; box-sizing: border-box; box-shadow: inset 0 1px 2px rgba(0,0,0,0.4); transition: all 0.2s; }
        .player-search-bar:focus { border-color: rgba(255,255,255,0.15); background: var(--apple-surface-elevated); }

        .list-actions-container { display: flex; gap: 12px; width: 100%; margin-top: 20px; flex-wrap: wrap; }
        
        .action-toggle-btn { 
            background: var(--glass-grad); border: var(--glass-border); color: #fff; padding: 12px 24px; border-radius: 24px; font-weight: 600; font-size: 0.9rem; cursor: pointer; box-shadow: var(--glass-shadow); position: relative; overflow: hidden; transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1); flex: 1; min-width: 150px; text-align: center; 
        }
        .action-toggle-btn:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-1px); }
        .action-toggle-btn.added { 
            background: var(--glass-accent-grad), rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.2), inset 0 1px 0px rgba(255,255,255,0.1);
        }

        .media-details-box { width: 100%; background: var(--apple-surface); border-radius: 16px; padding: 24px; margin-top: 24px; box-sizing: border-box; text-align: left; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
        .meta-tags-container { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
        .meta-tag-item { font-size: 0.75rem; background: rgba(255, 255, 255, 0.06); color: rgba(255, 255, 255, 0.9); padding: 4px 12px; border-radius: 6px; font-weight: 600; border: 1px solid rgba(255,255,255,0.02); }
        .details-heading { font-size: 1.2rem; color: #fff; font-weight: 700; margin: 0 0 12px 0; letter-spacing: -0.2px; }
        .details-overview { font-size: 0.95rem; color: rgba(255,255,255,0.75); line-height: 1.6; margin: 0; }
        .author-badge-row { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 0.8rem; color: var(--apple-text-secondary); font-weight: 500; }
        .author-badge-row span { color: #fff; font-weight: 600; }

        .dashboard-view-container { display: none; max-width: 1400px; width: 100%; margin: 0 auto; padding: 20px; box-sizing: border-box; }
        .auth-card-wrapper { background: var(--apple-surface); border: 1px solid rgba(255, 255, 255, 0.05); padding: 32px 24px; border-radius: 20px; max-width: 400px; margin: 40px auto; text-align: center; box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
        .auth-input-field { width: 100%; background: var(--apple-bg); border: 1px solid rgba(255, 255, 255, 0.08); padding: 12px 16px; border-radius: 10px; color: #fff; font-size: 1rem; margin-bottom: 16px; outline: none; box-sizing: border-box; }
        .auth-input-field:focus { border-color: rgba(255,255,230,0.2); }
        
        .auth-submit-btn { 
            background: var(--glass-accent-grad), #ffffff; color: #000; border: 1px solid rgba(255,255,255,0.6); font-weight: 700; width: 100%; padding: 14px; border-radius: 12px; font-size: 1rem; cursor: pointer; margin-bottom: 16px; box-shadow: var(--glass-shadow); position: relative; overflow: hidden; transition: opacity 0.2s; 
        }
        .auth-submit-btn:hover { opacity: 0.95; }
        
        .user-profile-header { background: var(--apple-surface); border-radius: 16px; padding: 24px; margin-bottom: 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }

        .notes-section-box { width: 100%; background: var(--apple-surface); border-radius: 16px; padding: 24px; margin-top: 24px; box-sizing: border-box; text-align: left; }
        .note-input-area { width: 100%; background: var(--apple-bg); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 10px; padding: 14px; color: #fff; font-size: 0.95rem; resize: vertical; outline: none; box-sizing: border-box; min-height: 90px; margin-bottom: 12px; }
        
        .note-submit-btn { 
            background: var(--glass-accent-grad), #ffffff; color: #000; border: 1px solid rgba(255,255,255,0.6); font-weight: 700; padding: 10px 26px; border-radius: 20px; cursor: pointer; font-size: 0.9rem; float: right; box-shadow: var(--glass-shadow); transition: opacity 0.2s; 
        }
        
        .notes-list-wrapper { margin-top: 24px; clear: both; display: flex; flex-direction: column; gap: 12px; }
        .single-note-card { background: var(--apple-bg); border: 1px solid rgba(255, 255, 255, 0.04); border-radius: 10px; padding: 16px; position: relative; }
        .note-delete-btn { position: absolute; top: 16px; right: 16px; background: none; border: none; color: #ff453a; font-size: 0.85rem; cursor: pointer; font-weight: 600; padding: 0; opacity: 0.8; }
        .note-meta-info { font-size: 0.75rem; color: var(--apple-text-secondary); margin-bottom: 6px; font-weight: 600; }
        .note-body-text { font-size: 0.9rem; color: rgba(255,255,255,0.85); line-height: 1.5; margin: 0; white-space: pre-wrap; }

        .donation-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; width: 100%; margin-top: 24px; box-sizing: border-box; }
        .donation-item { background: var(--apple-surface); border: 1px solid rgba(255, 255, 255, 0.04); border-radius: 12px; padding: 14px 18px; font-size: 0.85rem; color: rgba(255,255,255,0.8); display: flex; align-items: center; gap: 10px; cursor: pointer; transition: background 0.2s; }
        .donation-item code { color: #fff; background: rgba(255, 255, 255, 0.1); padding: 3px 8px; border-radius: 6px; font-family: monospace; font-size: 0.85rem; margin-left: auto; font-weight: 600; }

        .series-picker { display: none; flex-direction: column; gap: 14px; margin: 20px 0; background: var(--apple-surface); padding: 16px; border-radius: 14px; width: 100%; box-sizing: border-box; }
        .selector-box { background: var(--apple-bg); color: #fff; border: 1px solid rgba(255, 255, 255, 0.08); padding: 12px 16px; border-radius: 10px; outline: none; font-size: 0.95rem; width: 100%; box-sizing: border-box; cursor: pointer; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='%23ffffff'><path d='M0 0h10L5 6z'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; }
        
            /* ========================================================
                    SWITCH SERVER CHIPS - HORIZONTAL SCROLL MATRIX
            ======================================================== */
            .source-selector { 
                display: flex; 
                gap: 8px; 
                margin-top: 20px; 
                background: var(--apple-surface); 
                padding: 12px; 
                border-radius: 14px; 
                width: 100%; 
                box-sizing: border-box; 
                align-items: center;
                
                /* Enables liquid-smooth touchscreen swiping/scrolling */
                overflow-x: auto; 
                white-space: nowrap;
                -webkit-overflow-scrolling: touch; 
            }

            /* Hide ugly default browser scrollbars while keeping swipe logic active */
            .source-selector::-webkit-scrollbar {
                display: none;
            }

            .source-label { 
                color: var(--apple-text-secondary); 
                font-size: 0.8rem; 
                font-weight: 700; 
                white-space: nowrap; 
                margin-right: 4px; 
                letter-spacing: 0.5px; 
                flex-shrink: 0; /* Prevents the label from compressing on tight screens */
            }

            .source-btn { 
                background: var(--glass-grad); 
                color: rgba(255,255,255,0.8); 
                border: var(--glass-border); 
                padding: 10px 18px; 
                border-radius: 20px; 
                cursor: pointer; 
                font-weight: 600; 
                font-size: 0.85rem; 
                white-space: nowrap; 
                box-shadow: var(--glass-shadow); 
                position: relative; 
                overflow: hidden; 
                transition: all 0.2s ease; 
                flex-shrink: 0; /* Forces buttons to retain full width without text compression */
            }

            .source-btn.active { 
                background: var(--glass-accent-grad), #ffffff; 
                color: #000; 
                border-color: rgba(255,255,255,0.8); 
                box-shadow: 0 4px 12px rgba(255,255,255,0.1);
            }

/* ========================================================
   DESKTOP UNWRAP MATRIX
   ======================================================== */
@media (min-width: 768px) {
    .source-selector { 
        padding: 16px 20px; 
        overflow-x: visible; /* Unwraps scroll row into a flat grid block on desktops */
        border-radius: 16px; 
    }
}

        footer { text-align: center; padding: 40px 0 30px 0; border-top: 1px solid rgba(255, 255, 255, 0.06); margin-top: auto; width: 100%; font-size: 0.85rem; color: var(--apple-text-secondary); font-weight: 500; letter-spacing: 0.5px; }
        footer span { color: var(--apple-text-primary); font-weight: 600; }

        @media (min-width: 768px) {
    header { flex-direction: row; padding: 16px 40px; justify-content: space-between; gap: 40px; }
    header.hide-controls .controls-group, .controls-group { opacity: 1 !important; max-height: 200px !important; margin-top: 0 !important; transform: translateY(0) scale(1) !important; pointer-events: auto !important; }
    .controls-group { flex-direction: row; width: auto; gap: 20px; }
    .search-bar { width: 280px; }
    .tab-buttons { width: auto; gap: 8px; }
    .hero-banner { height: 540px; width: calc(100% - 80px); margin: 30px auto; border-radius: 20px; }
    .hero-content { padding: 0 60px 50px 60px; }
    .hero-title { font-size: 3.8rem; }
    .section-heading { padding: 0 40px; font-size: 1.6rem; margin: 40px auto 20px auto; }
    
    /* Grid adjustments */
    .grid-container { padding: 0 40px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 24px; }
    .movie-poster { height: 270px; transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); will-change: transform; }
    
    /* ====== THE NEW NETFLIX-STYLE HOVER EFFECT EFFECT ====== */
    .movie-card:hover { 
        transform: scale(1.1) !important; 
        box-shadow: 0 20px 38px rgba(0, 0, 0, 0.65) !important; 
        z-index: 10 !important; 
    }
    .movie-card:hover .movie-poster {
        transform: scale(1.03) !important; 
    }
    /* ======================================================= */

    .player-wrapper { margin: 30px auto; padding: 0 40px; }
    .player-responsive-container { height: 640px; padding-top: 0; }
    .controls-row { flex-direction: row; align-items: center; gap: 20px; }
    .back-btn { width: auto; }
    .player-search-bar { max-width: 320px; margin-left: auto; }
    .series-picker { flex-direction: row; padding: 20px; border-radius: 16px; }
    .picker-item { flex: 1; }
    .source-selector { padding: 16px 20px; overflow-x: visible; border-radius: 16px; }
    .dashboard-view-container { padding: 40px; }
}

        /* Sleek Glass Discord Announcement Banner */
    .discord-banner {
      display: flex;
        justify-content: space-between;
        align-items: center;
        background: linear-gradient(90deg, rgba(88, 101, 242, 0.15) 0%, rgba(10, 10, 12, 0.8) 100%);
        backdrop-filter: var(--apple-blur);
        -webkit-backdrop-filter: var(--apple-blur);
        border-bottom: 1px solid rgba(88, 101, 242, 0.25);
        padding: 10px 20px;
        position: relative;
        z-index: 101; /* Layered slightly above your sticky header matrix */
        width: 100%;
        box-sizing: border-box;
        transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .discord-banner-content {
        display: flex;
        align-items: center;
        gap: 12px;
        flex: 1;
        justify-content: center;
        padding-right: 24px;
    }   

    .discord-icon {
     font-size: 1.2rem;
     filter: drop-shadow(0 2px 8px rgba(88, 101, 242, 0.5));
    }

    .discord-text {
        margin: 0;
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 500;
        line-height: 1.4;
        letter-spacing: -0.1px;
    }

    .discord-text strong {
        color: #5865F2; /* Native Discord Blurple Accent Branding */
        font-weight: 600;
}

    .discord-join-btn {
        background: #5865F2;
        color: #ffffff;
        text-decoration: none;
        font-size: 0.8rem;
        font-weight: 700;
        padding: 6px 14px;
        border-radius: 14px;
        box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
        transition: all 0.2s ease;
        white-space: nowrap;
    }   

    .discord-join-btn:hover {
        background: #4752C4;
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(88, 101, 242, 0.4);
    }

    .discord-close-btn {
        background: none;
        border: none;
        color: var(--apple-text-secondary);
        font-size: 1.3rem;
        cursor: pointer;
        font-weight: 500;
        padding: 0;
        line-height: 1;
        transition: color 0.2s;
    }

    .discord-close-btn:hover {
        color: #ffffff;
    }

    /* Dynamic Responsive Queries */
    /* Dynamic Responsive Queries for Mobile Devices */
@media (max-width: 576px) {
    .discord-banner {
        padding: 8px 12px !important; /* Tight, spacesaving block layout */
    }
    
    .discord-banner-content {
        flex-direction: row !important; /* Force items side-by-side */
        align-items: center !important;
        justify-content: flex-start !important; /* Push text to the left, button to the right */
        gap: 8px !important;
        padding-right: 12px !important;
        overflow: hidden; /* Safety guard against line bleeding */
    }
    
    .discord-icon {
        display: none !important; /* Hide emoji */
    }
    
    /* WIPE OUT THE GHOST TEXT: Hide the old HTML text blocks completely on phone sizes */
    .discord-text,
    .discord-text p,
    .discord-text strong {
        font-size: 0 !important;
        color: transparent !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* RE-INJECT CLEAN OVERRIDE TEXT: Build a single, independent line element */
    .discord-text::before {
        content: "Join Discord for URL updates!";
        font-size: 0.8rem !important; /* Perfect readability scaling */
        color: rgba(255, 255, 255, 0.95) !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
        display: inline-block !important;
    }
    
    .discord-join-btn {
        font-size: 0.75rem !important;
        padding: 5px 12px !important;
        border-radius: 10px !important;
        white-space: nowrap !important;
    }
}
    /* ========================================================
   ADBLOCK CONTAINER - DEFAULT MOBILE CONFIGURATION
   ======================================================== */
#adblock-notice {
    background: rgba(255, 69, 58, 0.1);
    border: 1px solid rgba(255, 69, 58, 0.3);
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 14px;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    position: relative;
}

/* Hide detailed descriptive blocks on mobile to save vertical player space */
.adblock-paragraph,
.adblock-platforms-grid,
.adblock-alert-emoji,
.adblock-main-heading {
    display: none !important;
}

/* Condense the entire warning into a single-line mobile strip alert */
.adblock-text-body::after {
    content: "🛑 Notice: Video servers contain heavy redirects. We strongly recommend using Brave Browser on mobile or uBlock Origin on PC.";
    font-size: 0.78rem;
    color: #ff453a;
    font-weight: 500;
    line-height: 1.3;
    display: block;
    padding-right: 20px;
}

.adblock-close-btn {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    color: var(--apple-text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    font-weight: bold;
    padding: 0;
    line-height: 1;
    z-index: 5;
}

/* ========================================================
   RESTORE FULL DETAILED TEXT LAYOUT FOR DESKTOP SCREENS
   ======================================================== */
@media (min-width: 768px) {
    #adblock-notice {
        background: var(--apple-surface);
        border: 1px solid rgba(255, 69, 58, 0.25);
        border-radius: 14px;
        padding: 20px;
        margin-bottom: 24px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    }

    /* Turn back on the full descriptive guide columns */
    .adblock-paragraph,
    .adblock-platforms-grid,
    .adblock-alert-emoji {
        display: flex !important;
    }
    .adblock-main-heading {
        display: block !important;
        color: #ff453a;
        font-size: 1.1rem;
        margin-bottom: 6px;
        font-weight: 800;
        letter-spacing: -0.3px;
    }

    /* Wipe out the mobile summary text string override */
    .adblock-text-body::after {
        content: none !important;
    }

    .adblock-close-btn {
        top: 16px;
        right: 18px;
        font-size: 1.4rem;
    }

    .adblock-content-wrapper {
        display: flex;
        gap: 16px;
        align-items: flex-start;
    }

    .adblock-alert-emoji {
        font-size: 1.8rem;
        line-height: 1;
        filter: drop-shadow(0 2px 8px rgba(255,69,58,0.4));
    }

    .adblock-text-body {
        font-size: 0.95rem;
        line-height: 1.6;
        color: rgba(255,255,255,0.85);
        width: 100%;
    }

    .adblock-paragraph {
        margin: 0 0 14px 0;
    }

    .adblock-platforms-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 10px;
        width: 100%;
    }

    .adblock-platform-card {
        background: rgba(0,0,0,0.3);
        padding: 10px 14px;
        border-radius: 8px;
        border: 1px solid rgba(255,255,255,0.04);
    }

    .adblock-platform-tag {
        background: rgba(0,0,0,0.4);
        padding: 2px 6px;
        border-radius: 4px;
        font-size: 0.75rem;
        font-weight: 700;
        color: #fff;
        display: inline-block;
    }

    .adblock-platform-instruction {
        margin-top: 6px;
        font-size: 0.85rem;
        color: rgba(255,255,255,0.7);
    }
}