
        /* --- Movie Poster Grid --- */
        .movie-grid { 
            display: grid; 
            grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); 
            gap: 30px; 
        }

        .movie-thumb {
            width: 100%; 
            aspect-ratio: 2 / 3;
            background: var(--glass); 
            border: 1px solid var(--glass-border); 
            border-radius: 15px; 
            margin-bottom: 15px; 
            overflow: hidden;
            transition: 0.3s ease;
        }

        .movie-thumb img { 
            width: 100%; 
            height: 100%; 
            object-fit: cover;
        }
    
        :root {
            --elite-gradient: linear-gradient(135deg, #ff00ff 0%, #7b2cbf 100%);
            --glass: rgba(255, 255, 255, 0.07);
            --glass-border: rgba(255, 255, 255, 0.15);
            --pink: #ff00ff;
            --purple: #9d4edd;
            --bg-base: #0f0025;
            --bg-speed: 22s;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        html { background-color: var(--bg-base); }

        body {
            background-color: var(--bg-base);
            background-image:
                radial-gradient(circle at 15% 15%, rgba(255, 0, 255, 0.45) 0%, transparent 42%),
                radial-gradient(circle at 85% 25%, rgba(157, 78, 221, 0.50) 0%, transparent 45%),
                radial-gradient(circle at 50% 90%, rgba(214, 130, 255, 0.40) 0%, transparent 48%),
                linear-gradient(135deg, #0f0025 0%, #2b0a4d 55%, #12002b 100%);
            background-size: 180% 180%, 180% 180%, 180% 180%, 100% 100%;
            background-repeat: no-repeat;
            background-attachment: fixed;
            animation: bgSwirl var(--bg-speed) ease-in-out infinite alternate;
            color: white; font-family: 'Space Grotesk', sans-serif;
            min-height: 100vh; overflow-x: hidden;
        }

        @keyframes bgSwirl {
            0%   { background-position: 0% 0%, 100% 0%, 50% 100%, 0 0; }
            25%  { background-position: 60% 20%, 30% 40%, 10% 60%, 0 0; }
            50%  { background-position: 100% 50%, 0% 60%, 60% 20%, 0 0; }
            75%  { background-position: 40% 80%, 70% 20%, 90% 70%, 0 0; }
            100% { background-position: 0% 50%, 100% 100%, 20% 0%, 0 0; }
        }

        h1, h2, h3, .logo, span, p, .nav-link, .game-title, .credit-name, .credit-role, .game-title-display {
            background: var(--elite-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 700;
        }

        /* --- Navbar --- */
        .navbar {
            position: sticky; top: 25px; margin: 0 auto; width: 95%; max-width: 1200px; height: 80px;
            background: var(--glass); backdrop-filter: blur(35px); border: 1px solid var(--glass-border);
            border-radius: 20px; display: flex; align-items: center; justify-content: space-between;
            padding: 0 30px; z-index: 1000; box-shadow: 0 10px 40px rgba(0,0,0,0.3);
        }

        .logo-group { display: flex; flex-direction: column; justify-content: center; line-height: 1.2; }
        .logo { font-size: 1.1rem; letter-spacing: 2px; }
        
        .logo-subtitle { 
            font-size: 0.55rem; 
            letter-spacing: 4.5px; 
            text-transform: uppercase; 
            opacity: 0.9; 
            font-weight: 500; 
            color: rgba(255, 255, 255, 0.95); 
            -webkit-text-fill-color: white; 
            margin-top: 4px; 
        }

        .nav-links { display: flex; gap: 20px; }
        .nav-link {
            text-decoration: none; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px;
            transition: 0.3s; cursor: pointer; opacity: 0.5; color: white; -webkit-text-fill-color: initial;
        }
        .nav-link.active, .nav-link:hover { opacity: 1; -webkit-text-fill-color: transparent; background: var(--elite-gradient); -webkit-background-clip: text; }

        .search-container { position: relative; flex-grow: 0.3; max-width: 300px; }
        .search-bar {
            width: 100%; background: rgba(255,255,255,0.08); border: 1px solid var(--glass-border);
            padding: 10px 15px 10px 40px; border-radius: 14px; color: white; outline: none;
        }
        .fa-search { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--pink); }

        .search-dropdown {
            position: absolute; top: 55px; left: 0; width: 100%; background: rgba(20, 5, 40, 0.98);
            backdrop-filter: blur(25px); border: 1px solid var(--glass-border); border-radius: 14px;
            max-height: 300px; overflow-y: auto; display: none; z-index: 2000;
        }
        .search-item { padding: 10px; display: flex; align-items: center; gap: 12px; cursor: pointer; border-bottom: 1px solid rgba(255,255,255,0.05); }
        .search-item img { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
        .search-item:hover { background: rgba(255, 0, 255, 0.1); }

        /* --- Layout --- */
        .container { max-width: 1200px; margin: 60px auto 0; padding: 0 40px 60px; }
        .page-section { display: none; animation: fadeIn 0.4s ease forwards; }
        .page-section.active { display: block; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

        .elite-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 30px; }
        .elite-card { cursor: pointer; transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); text-align: center; }
        .elite-card:hover { transform: scale(1.08); }
        .elite-thumb { 
            width: 100%; aspect-ratio: 1/1; background: var(--glass); border: 1px solid var(--glass-border); 
            border-radius: 28px; margin-bottom: 15px; overflow: hidden;
        }
        .elite-thumb img { width: 100%; height: 100%; object-fit: cover; }

        /* --- Settings --- */
        .settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
        .settings-card { background: var(--glass); border: 1px solid var(--glass-border); padding: 25px; border-radius: 20px; backdrop-filter: blur(10px); }
        .setting-control { display: flex; justify-content: space-between; align-items: center; margin-top: 15px; }
        .settings-btn { background: var(--elite-gradient); border: none; padding: 10px 20px; border-radius: 12px; color: white; cursor: pointer; font-weight: 700; transition: 0.3s; }
        .settings-btn:hover { transform: scale(1.05); filter: brightness(1.2); }

        /* --- Proxy --- */
        .proxy-wrapper { 
            width: 100%; height: 80vh; background: #000; border-radius: 20px; 
            border: 1px solid var(--glass-border); overflow: hidden; 
        }
        #proxyFrame { width: 100%; height: 100%; border: none; display: block; }

        /* --- GAME WINDOW OVERLAY --- */
        .game-overlay {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(10, 0, 25, 0.9); backdrop-filter: blur(20px);
            z-index: 3000; display: none; opacity: 0;
            transition: opacity 0.4s ease; align-items: center; justify-content: center;
        }
        .game-overlay.active { display: flex; opacity: 1; }

        .game-window-container {
            width: 95%; max-width: 1400px; height: 90vh;
            background-color: var(--bg-base); border-radius: 24px; overflow: hidden;
            border: 1px solid var(--glass-border);
            display: flex; flex-direction: column;
            transform: translateY(20px); transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        .game-overlay.active .game-window-container { transform: translateY(0); }

        .game-top-bar {
            height: 60px; background: rgba(255,255,255,0.03);
            display: flex; align-items: center; justify-content: space-between;
            padding: 0 25px; border-bottom: 1px solid var(--glass-border);
        }

        .game-header-info { display: flex; align-items: center; gap: 15px; }
        .game-header-icon { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; border: 1px solid var(--glass-border); }
        .game-title-display { font-size: 1rem; letter-spacing: 1px; text-transform: uppercase; }

        .game-desc-display {
            font-size: 0.65rem;
            opacity: 0.6;
            -webkit-text-fill-color: white;
            font-weight: 400;
            margin-top: 2px;
            letter-spacing: 0.5px;
        }

        .game-actions { display: flex; gap: 12px; }
        .action-btn {
            background: var(--glass); border: 1px solid var(--glass-border);
            color: white; padding: 8px 16px; border-radius: 10px; cursor: pointer;
            font-family: inherit; font-size: 0.8rem; transition: 0.3s;
            display: flex; align-items: center; gap: 8px;
        }
        .action-btn:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }
        .exit-btn:hover { background: #ff2a2a; border-color: #ff2a2a; }

        /* --- EPISODE SELECTOR PANEL --- */
        .show-controls-bar {
            background: rgba(255,255,255,0.02);
            padding: 10px 25px;
            border-bottom: 1px solid var(--glass-border);
            display: flex;
            gap: 15px;
            align-items: center;
        }
        .show-select {
            background: rgba(20, 5, 40, 0.9);
            border: 1px solid var(--glass-border);
            color: white;
            padding: 8px 15px;
            border-radius: 10px;
            font-family: inherit;
            outline: none;
            cursor: pointer;
        }

        /* --- PARTY SIDEBAR --- */
        .game-main-content { display: flex; flex-grow: 1; width: 100%; overflow: hidden; }
        .game-frame-body { flex-grow: 1; background-color: var(--bg-base); position: relative; }
        #gameFrame { width: 100%; height: 100%; border: none; display: block; }

        /* Game window mirrors the site's animated swirl instead of flat black */
        .game-window-container,
        .game-frame-body {
            background-color: var(--bg-base);
            background-image:
                radial-gradient(circle at 15% 15%, rgba(255, 0, 255, 0.45) 0%, transparent 42%),
                radial-gradient(circle at 85% 25%, rgba(157, 78, 221, 0.50) 0%, transparent 45%),
                radial-gradient(circle at 50% 90%, rgba(214, 130, 255, 0.40) 0%, transparent 48%),
                linear-gradient(135deg, #0f0025 0%, #2b0a4d 55%, #12002b 100%);
            background-size: 180% 180%, 180% 180%, 180% 180%, 100% 100%;
            background-repeat: no-repeat;
            animation: bgSwirl var(--bg-speed) ease-in-out infinite alternate;
        }
        
        .party-sidebar {
            width: 320px;
            background: rgba(15, 0, 37, 0.9);
            backdrop-filter: blur(15px);
            border-left: 1px solid var(--glass-border);
            display: none;
            flex-direction: column;
            padding: 15px;
        }
        .party-sidebar.active { display: flex; }

        .video-grid { 
            display: grid; 
            grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); 
            gap: 10px; 
            margin-bottom: 10px; 
            max-height: 50%;
            overflow-y: auto;
        }
        .video-container { width: 100%; aspect-ratio: 16/9; background: #1a0035; border-radius: 12px; overflow: hidden; border: 1px solid var(--glass-border); position: relative; }
        .video-container video { width: 100%; height: 100%; object-fit: cover; z-index: 2; position: relative; }
        .video-label { position: absolute; bottom: 5px; left: 5px; background: rgba(0,0,0,0.6); font-size: 0.65rem; padding: 2px 6px; border-radius: 4px; z-index: 10; }
        
        .cam-placeholder { 
            position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
            display: flex; align-items: center; justify-content: center; 
            font-size: 2rem; font-weight: bold; color: var(--pink); z-index: 1;
        }

        /* --- CHAT SYSTEM --- */
        .chat-container {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            background: rgba(0, 0, 0, 0.3);
            border-radius: 12px;
            border: 1px solid var(--glass-border);
            margin-bottom: 10px;
            overflow: hidden;
        }
        .chat-messages { flex-grow: 1; overflow-y: auto; padding: 10px; font-size: 0.8rem; }
        .msg { margin-bottom: 6px; line-height: 1.3; }
        .msg-user { color: var(--pink); font-weight: 700; margin-right: 5px; }
        .chat-input-area { display: flex; padding: 8px; gap: 5px; border-top: 1px solid var(--glass-border); }
        .chat-input { flex-grow: 1; background: transparent; border: none; color: white; outline: none; font-size: 0.8rem; }

        .party-controls { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding-top: 10px; border-top: 1px solid var(--glass-border); }
        .party-controls .action-btn { padding: 8px; justify-content: center; }

        .party-info-box { background: var(--glass); border-radius: 10px; padding: 10px; margin-bottom: 10px; font-size: 0.7rem; text-align: center; }
        .party-code-text { color: var(--pink); font-weight: bold; font-family: monospace; font-size: 1rem; display: block; }

        /* Party Modal */
        .party-modal {
            position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
            background: #1a0035; border: 1px solid var(--glass-border); border-radius: 20px;
            padding: 30px; z-index: 5000; display: none; width: 350px; text-align: center;
            box-shadow: 0 0 50px rgba(0,0,0,0.8);
        }
        .party-modal.active { display: block; }

        /* Media Sub-navigation and Media Search Utilities */
        .media-utility-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            flex-wrap: wrap;
            gap: 15px;
        }
        .media-tabs {
            display: flex;
            gap: 15px;
        }
        .media-tab-btn {
            background: var(--glass);
            border: 1px solid var(--glass-border);
            color: white;
            padding: 8px 20px;
            border-radius: 10px;
            cursor: pointer;
            font-family: inherit;
            font-weight: bold;
            transition: 0.3s;
        }
        .media-tab-btn.active, .media-tab-btn:hover {
            background: var(--elite-gradient);
            border-color: transparent;
        }
        .media-search-wrapper {
            position: relative;
            width: 100%;
            max-width: 400px;
        }

        /* --- Legal links --- */
        .legal-bar {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            margin-top: 50px;
            flex-wrap: wrap;
        }
        .legal-bar a {
            color: rgba(255, 255, 255, 0.7);
            -webkit-text-fill-color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: color 0.3s;
        }
        .legal-bar a:hover {
            color: var(--pink);
            -webkit-text-fill-color: var(--pink);
        }
        .legal-bar span {
            color: rgba(255, 255, 255, 0.4);
            -webkit-text-fill-color: rgba(255, 255, 255, 0.4);
        }

    