  :root {
        --primary: #ec4899;      
        --secondary: #00f0ff;   
        --accent: #a855f7;      
            
        --bg-space-navy: #090e24;   
        --bg-midnight-amethyst: #121836; 
        --bg-dark-core: #060913;    
            
        --bg-panel: rgba(12, 19, 41, 0.96); 
        --glass-border: rgba(0, 240, 255, 0.35); 
            
        --text-main: #f8fafc;   
        --text-muted: #94a3b8;  
            
        --quina-color: #a855f7;     
        --mega-color: #10b981;     
        --loto-color: #ec4899;    
        --lotom-color: #f97316;     
        --diad-color: #f59e0b;     
        --gold: #fbbf24;     
        --silver: #94a3b8;     
        --diamond: #06b6d4;     
            
        --neon-purple: #a855f7;
        --neon-blue: #0ea5e9;
        --core-white: #ffffff;
    }

    
    body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--bg-dark-core);
    background-image: radial-gradient(circle at 50% 0%, var(--bg-midnight-amethyst) 0%, var(--bg-space-navy) 60%, var(--bg-dark-core) 100%);
    color: var(--text-main);
    overflow-x: hidden;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    transition: background-color 0.4s ease, background-image 0.4s ease;
}

    @keyframes cyberBgShift {
        0% {
            background-image: radial-gradient(circle at 50% 0%, #151b3b 0%, #090e24 60%, #060913 100%) !important;
        }
        33% {
            background-image: radial-gradient(circle at 50% 0%, #201035 0%, #0e0921 60%, #06040f 100%) !important;
        }
        66% {
            background-image: radial-gradient(circle at 50% 0%, #082133 0%, #06121f 60%, #02080d 100%) !important;
        }
        100% {
            background-image: radial-gradient(circle at 50% 0%, #210d21 0%, #120716 60%, #080309 100%) !important;
        }
    }

    
   
   
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-image: 
            
            radial-gradient(ellipse 80% 40% at 50% 100%, rgba(245, 158, 11, 0.18) 0%, rgba(16, 185, 129, 0.08) 50%, transparent 100%),
            
            linear-gradient(to top, rgba(245, 158, 11, 0.2) 1px, transparent 1px),
            
            linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
        background-size: 100% 100%, 100% 100%, 60px 60px, 60px 60px;
        pointer-events: none;
        z-index: -2;
    }

    
    
    body::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-image: 
            
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 340' fill='none'%3E%3Crect width='220' height='340' rx='12' fill='%2310b981' fill-opacity='0.04' stroke='%2310b981' stroke-width='2' stroke-opacity='0.4'/%3E%3Crect x='15' y='15' width='190' height='40' rx='6' fill='%2310b981' fill-opacity='0.25'/%3E%3Ctext x='110' y='41' fill='%2310b981' font-family='monospace' font-weight='900' font-size='16' text-anchor='middle' letter-spacing='3'%3EMEGA-SENA%3C/text%3E%3Cg font-family='monospace' font-weight='700' font-size='10' text-anchor='middle'%3E%3C!-- Linha 1 --%3E%3Crect x='20' y='75' width='26' height='26' rx='4' fill='%23000' fill-opacity='0.4' stroke='%2310b981' stroke-opacity='0.4'/%3E%3Ctext x='33' y='92' fill='%2310b981'%3E01%3C/text%3E%3Crect x='52' y='75' width='26' height='26' rx='4' fill='%2310b981' fill-opacity='0.7' stroke='%2310b981'/%3E%3Ctext x='65' y='92' fill='%23fff'%3E08%3C/text%3E%3Crect x='84' y='75' width='26' height='26' rx='4' fill='%23000' fill-opacity='0.4' stroke='%2310b981' stroke-opacity='0.4'/%3E%3Ctext x='97' y='92' fill='%2310b981'%3E13%3C/text%3E%3Crect x='116' y='75' width='26' height='26' rx='4' fill='%23000' fill-opacity='0.4' stroke='%2310b981' stroke-opacity='0.4'/%3E%3Ctext x='129' y='92' fill='%2310b981'%3E19%3C/text%3E%3Crect x='148' y='75' width='26' height='26' rx='4' fill='%2310b981' fill-opacity='0.7' stroke='%2310b981'/%3E%3Ctext x='161' y='92' fill='%23fff'%3E24%3C/text%3E%3Crect x='180' y='75' width='26' height='26' rx='4' fill='%23000' fill-opacity='0.4' stroke='%2310b981' stroke-opacity='0.4'/%3E%3Ctext x='193' y='92' fill='%2310b981'%3E30%3C/text%3E%3C!-- Linha 2 --%3E%3Crect x='20' y='110' width='26' height='26' rx='4' fill='%23000' fill-opacity='0.4' stroke='%2310b981' stroke-opacity='0.4'/%3E%3Ctext x='33' y='127' fill='%2310b981'%3E32%3C/text%3E%3Crect x='52' y='110' width='26' height='26' rx='4' fill='%23000' fill-opacity='0.4' stroke='%2310b981' stroke-opacity='0.4'/%3E%3Ctext x='65' y='127' fill='%2310b981'%3E37%3C/text%3E%3Crect x='84' y='110' width='26' height='26' rx='4' fill='%2310b981' fill-opacity='0.7' stroke='%2310b981'/%3E%3Ctext x='97' y='127' fill='%23fff'%3E42%3C/text%3E%3Crect x='116' y='110' width='26' height='26' rx='4' fill='%23000' fill-opacity='0.4' stroke='%2310b981' stroke-opacity='0.4'/%3E%3Ctext x='129' y='127' fill='%2310b981'%3E48%3C/text%3E%3Crect x='148' y='110' width='26' height='26' rx='4' fill='%23000' fill-opacity='0.4' stroke='%2310b981' stroke-opacity='0.4'/%3E%3Ctext x='161' y='127' fill='%2310b981'%3E53%3C/text%3E%3Crect x='180' y='110' width='26' height='26' rx='4' fill='%2310b981' fill-opacity='0.7' stroke='%2310b981'/%3E%3Ctext x='193' y='127' fill='%23fff'%3E60%3C/text%3E%3C/g%3E%3C/svg%3E"),

            
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 320' fill='none'%3E%3Crect width='220' height='320' rx='12' fill='%23ec4899' fill-opacity='0.04' stroke='%23ec4899' stroke-width='2' stroke-opacity='0.4'/%3E%3Crect x='15' y='15' width='190' height='40' rx='6' fill='%23ec4899' fill-opacity='0.25'/%3E%3Ctext x='110' y='41' fill='%23ec4899' font-family='monospace' font-weight='900' font-size='15' text-anchor='middle' letter-spacing='2'%3ELOTOF%C3%81CIL%3C/text%3E%3Cg font-family='monospace' font-weight='700' font-size='10' text-anchor='middle'%3E%3Ccircle cx='35' cy='85' r='13' fill='%23000' fill-opacity='0.4' stroke='%23ec4899' stroke-opacity='0.5'/%3E%3Ctext x='35' y='89' fill='%23ec4899'%3E02%3C/text%3E%3Ccircle cx='72' cy='85' r='13' fill='%23ec4899' fill-opacity='0.75' stroke='%23ec4899'/%3E%3Ctext x='72' y='89' fill='%23fff'%3E05%3C/text%3E%3Ccircle cx='110' cy='85' r='13' fill='%23000' fill-opacity='0.4' stroke='%23ec4899' stroke-opacity='0.5'/%3E%3Ctext x='110' y='89' fill='%23ec4899'%3E09%3C/text%3E%3Ccircle cx='148' cy='85' r='13' fill='%23ec4899' fill-opacity='0.75' stroke='%23ec4899'/%3E%3Ctext x='148' y='89' fill='%23fff'%3E12%3C/text%3E%3Ccircle cx='185' cy='85' r='13' fill='%23000' fill-opacity='0.4' stroke='%23ec4899' stroke-opacity='0.5'/%3E%3Ctext x='185' y='89' fill='%23ec4899'%3E14%3C/text%3E%3Ccircle cx='35' cy='125' r='13' fill='%23ec4899' fill-opacity='0.75' stroke='%23ec4899'/%3E%3Ctext x='35' y='129' fill='%23fff'%3E17%3C/text%3E%3Ccircle cx='72' cy='125' r='13' fill='%23000' fill-opacity='0.4' stroke='%23ec4899' stroke-opacity='0.5'/%3E%3Ctext x='72' y='129' fill='%23ec4899'%3E20%3C/text%3E%3Ccircle cx='110' cy='125' r='13' fill='%23ec4899' fill-opacity='0.75' stroke='%23ec4899'/%3E%3Ctext x='110' y='129' fill='%23fff'%3E22%3C/text%3E%3Ccircle cx='148' cy='125' r='13' fill='%23000' fill-opacity='0.4' stroke='%23ec4899' stroke-opacity='0.5'/%3E%3Ctext x='148' y='129' fill='%23ec4899'%3E25%3C/text%3E%3C/g%3E%3C/svg%3E");

        background-repeat: no-repeat;
        background-position: 95% 5%, 5% 75%;
        background-size: 320px 480px, 300px 380px;
        opacity: 0.25;
        pointer-events: none;
        z-index: -1;
    }

    .theme-text-primary { color: var(--primary) !important; transition: color 0.3s ease; }
    .theme-text-secondary { color: var(--secondary) !important; transition: color 0.3s ease; }
    .theme-border-primary { border-color: var(--primary) !important; transition: border-color 0.3s ease; }
    .theme-border-secondary { border-color: var(--secondary) !important; transition: border-color 0.3s ease; }
    .theme-bg-primary { background-color: var(--primary) !important; transition: background-color 0.3s ease; }
    .text-gold { color: var(--gold); text-shadow: 0 0 10px rgba(251, 191, 36, 0.6); }
    .border-gold { border-color: var(--gold); }

    .float-rgb-anim {
        display: inline-block;
        background: linear-gradient(90deg,
            var(--primary),
            var(--secondary),
            var(--accent),
            var(--primary)
        ) !important;
        background-size: 300% 100% !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        will-change: transform, background-position;
        animation: floatColorOtimizado 5s ease-in-out infinite !important;
    }
    @keyframes floatColorOtimizado {
        0% { transform: translateY(0); background-position: 0% 50%; }
        50% { transform: translateY(-8px); background-position: 150% 50%; }
        100% { transform: translateY(0); background-position: 300% 50%; }
    }

    h1, h2, h3, .brand, .cmd-font, .modal-title { font-family: 'Orbitron', sans-serif; font-weight: 800; }
    .font-cinzel { font-family: 'Cinzel', serif; }
    .font-mono { font-family: 'JetBrains Mono', monospace; }

    .cyber-grid {
        position: fixed;
        width: 100vw;
        height: 100vh;
        background-image: linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 240, 255, 0.05) 1px, transparent 1px);
        background-size: 35px 35px;
        z-index: -3;
        top: 0;
        left: 0;
        pointer-events: none;
        transform: translateZ(0);
    }
    .glow-spot {
        position: fixed;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(0, 240, 255, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
        top: 20%;
        left: 50%;
        transform: translate(-50%, -50%) translateZ(0);
        z-index: -3;
        pointer-events: none;
        opacity: 0.8;
    }

   
   .animate-ticker {
    display: inline-flex;
    will-change: transform;
    animation: tickerGpu 25s linear infinite;
}

@keyframes tickerGpu {
    0%   { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

    .btn-neon {
        background: rgba(255, 255, 255, 0.05);
        border: 1.5px solid var(--primary);
        color: var(--primary);
        position: relative;
        overflow: hidden;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        text-transform: uppercase;
        letter-spacing: 1.5px;
        cursor: pointer;
        font-family: 'Orbitron', sans-serif !important;
        border-radius: 8px;
        box-shadow: 0 0 12px rgba(236, 72, 153, 0.25);
    }
    .btn-neon:hover {
        background: var(--primary);
        color: #04050f !important;
        box-shadow: 0 0 20px var(--primary);
        transform: translateY(-1.5px);
    }
    .btn-lottery-anim {
        background: rgba(12, 19, 41, 0.95) !important;
        will-change: transform, filter;
        animation: pulsarNeonOtimizado 2.5s infinite alternate ease-in-out;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1.5px solid currentColor;
    }
    .btn-lottery-anim:hover {
        transform: scale(1.06) !important;
        background: rgba(255, 255, 255, 0.08) !important;
    }
    @keyframes pulsarNeonOtimizado {
        0% { box-shadow: 0 0 4px currentColor; }
        100% { box-shadow: 0 0 14px currentColor; }
    }

    .btn-vip-anim {
        position: relative;
        background: linear-gradient(135deg, #fbbf24, #d97706) !important;
        color: #1e1b4b !important;
        font-weight: 850;
        overflow: hidden;
        z-index: 1;
        border: none !important;
        box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
        animation: pulseVipOtimizado 1.5s infinite alternate ease-in-out;
    }
    .btn-vip-anim::before {
        content: '';
        position: absolute;
        top: 0;
        left: -150%;
        width: 50%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
        transform: skewX(-20deg);
        z-index: -1;
        animation: brilhoVIP 2s infinite linear;
    }
    @keyframes brilhoVIP { 0% { left: -150%; } 100% { left: 150%; } }
    @keyframes pulseVipOtimizado {
        0% { transform: scale(1); }
        100% { transform: scale(1.03); box-shadow: 0 0 22px rgba(245, 158, 11, 0.6); }
    }

    .theme-dropdown {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 160px;
        background: rgba(12, 19, 41, 0.98);
        border: 1px solid var(--glass-border);
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.8);
        z-index: 100;
    }
    .group:hover .theme-dropdown { display: block; }

    .cmd-card {
        background: var(--bg-panel);
        border-left: 4px solid var(--secondary);
        border-radius: 8px;
        border-top: 1px solid rgba(0, 240, 255, 0.15);
        border-right: 1px solid rgba(0, 240, 255, 0.15);
        border-bottom: 1px solid rgba(0, 240, 255, 0.15);
        box-shadow: 0 4px 15px rgba(0,0,0,0.4);
        transition: all 0.25s ease;
    }
    .cmd-card:hover {
        border-left-color: var(--primary);
        background: rgba(21, 32, 64, 0.85);
        transform: translateX(5px);
        box-shadow: 0 6px 20px rgba(0, 240, 255, 0.25);
    }
    .cmd-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
    .cmd-list span {
        display: inline-block;
        background: rgba(0, 0, 0, 0.7);
        padding: 5px 12px;
        border-radius: 4px;
        font-family: 'JetBrains Mono', monospace;
        font-size: 0.85rem;
        color: #fca5a5;
        border: 1px solid rgba(255,255,255,0.1);
    }

    .modal-container { transition: opacity 0.3s ease, visibility 0.3s ease; }

    .cyber-input, #menuSearchInput {
        background: rgba(6, 12, 30, 0.92) !important;
        border: 1.5px solid var(--secondary) !important;
        color: #ffffff !important;
        font-family: 'JetBrains Mono', monospace !important;
        transition: all 0.25s ease !important;
        padding: 0.75rem 1rem !important;
        border-radius: 0.5rem !important;
    }
    .cyber-input:focus, #menuSearchInput:focus {
        outline: none !important;
        border-color: var(--primary) !important;
        box-shadow: 0 0 15px rgba(236, 72, 153, 0.4) !important;
        background: rgba(12, 19, 41, 0.98) !important;
    }
    #menuSearchInput::placeholder {
        color: #94a3b8 !important;
        font-size: 11px !important;
        letter-spacing: 1px !important;
        opacity: 0.9 !important;
    }

    .game-row {
        background: rgba(255,255,255,0.04);
        padding: 10px;
        border-radius: 50px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 5px;
        margin-bottom: 10px;
        border: 1px solid rgba(255,255,255,0.12);
    }
    .balls-container { display: flex; gap: 5px; overflow-x: auto; padding: 0 5px; align-items: center; }

    .ball-base {
        width: 35px;
        height: 35px;
        min-width: 35px;
        flex-shrink: 0;
        border-radius: 50%;
        color: white;
        font-family: 'Orbitron';
        font-weight: bold;
        font-size: 1rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1.5px solid rgba(255,255,255,0.3);
        animation: popIn 0.5s forwards;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
        box-shadow: inset -3px -3px 8px rgba(0,0,0,0.5), 0 4px 10px rgba(0,0,0,0.4);
    }
    .ball-super { width: 45px; height: 45px; min-width: 45px; font-size: 1.2rem; border-width: 2px; box-shadow: 0 0 15px currentColor; }
    .ball-result-xl {
        width: 55px;
        height: 55px;
        min-width: 55px;
        font-size: 1.5rem;
        border-width: 2.5px;
        box-shadow: 0 0 20px currentColor;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        font-weight: 900;
        color: white;
    }
    .ball-stat {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        color: white;
        margin: 0 2px;
        text-shadow: 1px 1px 1px rgba(0,0,0,0.6);
        border: 1px solid rgba(255,255,255,0.4);
        animation: popIn 0.5s forwards;
        box-shadow: 0 3px 6px rgba(0,0,0,0.4);
    }
    .ball-stat.hot { background: radial-gradient(circle at 30% 30%, #fca5a5, #ef4444); box-shadow: 0 0 10px rgba(239,68,68,0.5); }
    .ball-stat.cold { background: radial-gradient(circle at 30% 30%, #93c5fd, #3b82f6); box-shadow: 0 0 10px rgba(59,130,246,0.5); }

    .quina-ball { background: radial-gradient(circle at 30% 30%, #c084fc, var(--quina-color)); box-shadow: 0 0 10px rgba(168, 85, 247, 0.5); }
    .mega-ball { background: radial-gradient(circle at 30% 30%, #34d399, var(--mega-color)); box-shadow: 0 0 10px rgba(16, 185, 129, 0.5); }
    .loto-ball { background: radial-gradient(circle at 30% 30%, #f472b6, var(--loto-color)); box-shadow: 0 0 10px rgba(236, 72, 153, 0.5); }
    .lotom-ball { background: radial-gradient(circle at 30% 30%, #f87171, var(--lotom-color)); box-shadow: 0 0 10px rgba(239, 68, 68, 0.5); }
    .diad-ball { background: radial-gradient(circle at 30% 30%, #fbbf24, var(--diad-color)); box-shadow: 0 0 10px rgba(245, 158, 11, 0.5); }

    .lotomania-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
        padding: 12px;
        background: rgba(0,0,0,0.6);
        border-radius: 8px;
        margin-bottom: 10px;
        max-width: 100%;
        border: 1px solid rgba(255,255,255,0.1);
    }
    .lotom-ball-compact {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
        border-width: 1px;
        background: radial-gradient(circle at 30% 30%, #fbbf24, #d97706);
        margin: 0;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        color: white;
        border: 1px solid white;
    }
    @keyframes popIn { to { opacity: 1; transform: scale(1); } }
    .virada-ball { width: 50px; height: 50px; background: transparent; color: #fffbeb; font-weight: 900; font-size: 1.5rem; text-shadow: 0 0 5px white; border: 2px solid white; box-shadow: 0 0 15px var(--gold); }
    .quantum-card { background: rgba(12, 19, 41, 0.98); border: 1.5px solid var(--gold); box-shadow: 0 0 25px rgba(245, 158, 11, 0.25); color: var(--text-main); }

    #gameZone, #menuGeralZone, #megaViradaZone, #vipInterface, #supremeInterface { background-color: var(--bg-dark-core); z-index: 50; top: 0; left: 0; width: 100%; height: 100%; overflow-y: auto; }
    .game-panel {
        background: var(--bg-panel);
        border: 1.5px solid var(--glass-border);
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    }

    .vip-card {
        border: 1.5px solid var(--gold);
        background: rgba(245, 158, 11, 0.12);
        box-shadow: 0 0 20px rgba(245, 158, 0, 0.15);
        margin-bottom: 10px;
        border-radius: 12px;
    }
    .vip-nav-btn {
        text-align: left;
        padding: 12px 16px;
        border-radius: 8px;
        color: #e2e8f0 !important;
        transition: all 0.25s ease;
        width: 100%;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(18, 28, 56, 0.7);
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        font-weight: 700;
    }
    .vip-nav-btn:hover, .vip-nav-btn.active {
        background: linear-gradient(90deg, rgba(245, 158, 11, 0.3), rgba(12, 19, 41, 0.85)) !important;
        color: #fbbf24 !important;
        border-left: 4px solid var(--gold) !important;
        border-color: rgba(251, 191, 36, 0.5) !important;
        box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
    }
    .lottery-actions-vip { flex-shrink: 0; display: flex; gap: 8px; }

    .memory-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 500px; margin: 0 auto; perspective: 1000px; }
    .memory-card { height: 80px; position: relative; transform-style: preserve-3d; transition: transform 0.5s; cursor: pointer; }
    .memory-card.flip { transform: rotateY(180deg); }
    .memory-front, .memory-back { width: 100%; height: 100%; position: absolute; border-radius: 10px; display: flex; align-items: center; justify-content: center; backface-visibility: hidden; border: 2px solid var(--primary); }
    .memory-front { background: rgba(12,18,41,0.98); transform: rotateY(180deg); font-size: 2rem; color: var(--primary); box-shadow: inset 0 0 15px rgba(236,72,153,0.3); }
    .memory-back { background: rgba(18, 28, 56, 0.9); }
    .memory-back::after { content: '?'; font-size: 2rem; color: var(--text-muted); }

    .saved-game-card {
        background: rgba(12, 19, 41, 0.95);
        border: 1.5px solid rgba(255,255,255,0.12);
        border-radius: 12px;
        padding: 15px;
        position: relative;
        overflow: hidden;
        transition: all 0.25s ease;
        margin-bottom: 10px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    }
    .saved-game-card:hover {
        transform: translateY(-2px);
        border-color: var(--primary);
        box-shadow: 0 4px 20px rgba(236,72,153,0.3);
    }

    .stats-table { width: 100%; border-collapse: collapse; font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; text-align: center; }
    .stats-table th { color: var(--gold); background: rgba(18, 28, 56, 0.95); border-bottom: 2px solid var(--gold); padding: 10px; text-transform: uppercase; font-weight: 800; }
    .stats-table td { padding: 8px; border-bottom: 1px solid rgba(255,255,255,0.1); color: #f1f5f9; background: rgba(8, 14, 30, 0.6); }
    .stats-table tr:hover td { background: rgba(0, 240, 255, 0.15) !important; color: #ffffff !important; }
    
    .tag-even { color: #4ade80; font-weight: bold; }
    .tag-odd { color: #f472b6; font-weight: bold; }
    .tag-fib { color: #60a5fa; font-weight: bold; }
    .tag-frame { color: #fbbf24; font-weight: bold; }

    #customToast {
        visibility: hidden; min-width: 280px; background-color: rgba(12, 18, 41, 0.98); border: 1.5px solid var(--primary);
        color: var(--text-main); text-align: center; border-radius: 50px; padding: 14px 24px; position: fixed; z-index: 10000;
        left: 50%; bottom: 30px; transform: translateX(-50%); font-size: 15px; font-weight: bold; font-family: 'Orbitron', sans-serif;
        box-shadow: 0 0 30px rgba(236, 72, 153, 0.5); opacity: 0; transition: all 0.4s ease;
        display: flex; align-items: center; justify-content: center; gap: 10px;
    }
    #customToast.show { visibility: visible; opacity: 1; bottom: 60px; }

    .month-tag { background: #f59e0b; color: #1e1b4b; font-weight: bold; padding: 2px 8px; border-radius: 4px; font-size: 0.7rem; margin-left: 5px; box-shadow: 0 0 10px rgba(245,158,11,0.5); }

    .profile-img-container { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; border: 3px solid transparent; cursor: pointer; position: relative; transition: all 0.3s; }
    .profile-img-container img { width: 100%; height: 100%; object-fit: cover; }
    .profile-img-container:hover::after { content: 'EDIT'; position: absolute; bottom:0; left:0; width:100%; background:rgba(0,0,0,0.8); font-size:8px; text-align:center; color:white; }

    .rank-border-silver { border-color: var(--silver); box-shadow: 0 0 10px rgba(148,163,184,0.4); }
    .rank-border-gold { border-color: var(--gold); box-shadow: 0 0 15px rgba(217,119,6,0.4); animation: pulseGold 2s infinite; }
    .rank-border-diamond { border-color: var(--diamond); box-shadow: 0 0 20px rgba(8,145,178,0.4), inset 0 0 10px rgba(8,145,178,0.2); animation: pulseDiamond 1.5s infinite; }

    @keyframes pulseGold { 0%, 100% { box-shadow: 0 0 10px rgba(217,119,6,0.3); } 50% { box-shadow: 0 0 25px rgba(217,119,6,0.6); } }
    @keyframes pulseDiamond { 0%, 100% { border-color: #0891b2; box-shadow: 0 0 15px rgba(8,145,178,0.4); } 50% { border-color: #06b6d4; box-shadow: 0 0 30px rgba(6,182,212,0.6); } }

    .heatmap-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; padding: 10px; background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; margin-top: 10px; }
    .heatmap-cell { width: 100%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: bold; color: var(--text-main); border-radius: 4px; transition: all 0.25s; border: 1px solid rgba(255,255,255,0.1); }
    .heat-hot { background-color: rgba(220, 38, 38, 0.85) !important; border-color: #ef4444 !important; color: #ffffff !important; font-weight: 800; animation: pulseRed 2s infinite; }
    .heat-warm { background: rgba(234, 179, 8, 0.75) !important; border-color: #fbbf24 !important; color: #ffffff !important; }
    .heat-cold { background: rgba(30, 58, 138, 0.85) !important; border-color: #3b82f6 !important; color: #ffffff !important; }
    .heat-neutral { background-color: rgba(255, 255, 255, 0.1); }
    @keyframes pulseRed { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }

    .adherence-bar-container { width: 100%; height: 6px; background: rgba(255,255,255,0.15); border-radius: 3px; margin-top: 5px; overflow: hidden; }
    .adherence-fill { height: 100%; background: linear-gradient(90deg, #ef4444, #eab308, #22c55e); width: 0%; transition: width 1s ease-out; }
    .adherence-label { font-size: 0.65rem; color: var(--text-muted); display: flex; justify-content: space-between; margin-top: 2px; }

    .virtual-keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; max-width: 200px; margin: 10px auto; }
    .vkey { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22); color: var(--text-main); padding: 10px; border-radius: 5px; font-weight: bold; cursor: pointer; transition: 0.2s; }
    .vkey:active { background: var(--primary); color: #04050f; border-color: var(--primary); }
    .vkey-action { background: rgba(255,255,255,0.25); }

    .live-result-card { background: var(--bg-panel); border-radius: 15px; padding: 20px; margin-bottom: 20px; border: 1.5px solid var(--glass-border); position: relative; overflow: hidden; animation: fadeInResult 0.5s ease-out; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
    @keyframes fadeInResult { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
    .live-result-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 10px; }
    .live-balls-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 15px 0; }

    .skeleton-box { display: inline-block; height: 1em; position: relative; overflow: hidden; background-color: rgba(255, 255, 255, 0.12); border-radius: 4px; }
    .skeleton-box::after { position: absolute; top: 0; right: 0; bottom: 0; left: 0; transform: translateX(-100%); background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.08) 20%, rgba(255, 255, 255, 0.15) 60%, rgba(255, 255, 255, 0)); animation: shimmer 2s infinite; content: ''; }
    @keyframes shimmer { 100% { transform: translateX(100%); } }

    .lottery-globe { width: 220px; height: 220px; position: relative; perspective: 1000px; margin-bottom: 40px; }
    .globe-glass { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2), rgba(255,255,255,0.05) 40%, rgba(14,165,233,0.1) 100%); box-shadow: inset 0 0 20px rgba(255,255,255,0.2), inset 10px 10px 20px rgba(255,255,255,0.12), 0 10px 30px rgba(0,0,0,0.5); border: 1.5px solid rgba(255,255,255,0.2); z-index: 10; pointer-events: none; }
    .globe-inner { width: 100%; height: 100%; border-radius: 50%; position: relative; overflow: hidden; z-index: 1; background: rgba(12, 18, 41, 0.9); }
    .globe-ball-ent { width: 24px; height: 24px; position: absolute; border-radius: 50%; font-size: 10px; font-weight: bold; color: white; display: flex; align-items: center; justify-content: center; box-shadow: inset -2px -2px 6px rgba(0,0,0,0.4); transition: all 0.3s; will-change: transform; }
    .globe-shuffling .globe-ball-ent { animation: rumble 0.5s infinite alternate ease-in-out; }
    @keyframes rumble { 0% { transform: translate(0, 0); } 25% { transform: translate(10px, -15px); } 50% { transform: translate(-8px, 20px); } 100% { transform: translate(-10px, -10px); } }
    .globe-base { position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 120px; height: 30px; background: linear-gradient(90deg, #1e293b, #475569, #1e293b); border-radius: 50%; z-index: 0; border: 1px solid #475569; }
    .globe-stand { position: absolute; bottom: -60px; left: 50%; transform: translateX(-50%); width: 10px; height: 60px; background: #334155; z-index: 0; }
    .globe-chute { position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 40px; height: 60px; background: rgba(255,255,255,0.12); border-left: 1px solid rgba(255,255,255,0.2); border-right: 1px solid rgba(255,255,255,0.2); z-index: 5; }

    .gb-green { background: radial-gradient(circle at 30% 30%, #4ade80, #166534); }
    .gb-purple { background: radial-gradient(circle at 30% 30%, #c084fc, #581c87); }
    .gb-pink { background: radial-gradient(circle at 30% 30%, #f472b6, #831843); }

    .stat-ball-mini { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #4b5563, #1f2937); color: white; font-size: 11px; font-weight: bold; align-items: center; justify-content: center; margin: 1px; border: 1px solid rgba(255,255,255,0.25); box-shadow: 1px 1px 3px rgba(0,0,0,0.4); font-family: 'Orbitron', sans-serif; }
    .ball-stat-lg { width: 45px; height: 45px; font-size: 1.2rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; color: white; margin: 0 5px; text-shadow: 1px 1px 2px rgba(0,0,0,0.6); border: 2.5px solid rgba(255,255,255,0.3); animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; box-shadow: 0 5px 15px rgba(0,0,0,0.4); }
    .ball-stat-lg.hot { background: radial-gradient(circle at 30% 30%, #fca5a5, #ef4444); border-color: #fee2e2; box-shadow: 0 0 15px rgba(239, 68, 68, 0.5); }
    .ball-stat-lg.cold { background: radial-gradient(circle at 30% 30%, #93c5fd, #3b82f6); border-color: #dbeafe; box-shadow: 0 0 15px rgba(59, 130, 246, 0.5); }

    .prize-banner { background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0, 240, 255, 0.25) 20%, rgba(0, 240, 255, 0.25) 80%, rgba(0,0,0,0) 100%); padding: 10px 0; margin-top: 10px; border-top: 1px solid rgba(255,255,255,0.15); border-bottom: 1px solid rgba(255,255,255,0.15); }
    .prize-value { font-family: 'Orbitron', sans-serif; font-weight: 900; font-size: 1.8rem; color: #60a5fa; text-shadow: 0 0 15px rgba(96, 165, 250, 0.6); line-height: 1; letter-spacing: 1px; }
    .draw-label { font-size: 0.7rem; font-weight: bold; color: #9ca3af; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; display: inline-block; background: rgba(255,255,255,0.1); padding: 2px 10px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.2); }

    .ball-result-premium {
        width: 52px; height: 52px;
        font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
        font-weight: 800; font-size: 1.8rem; letter-spacing: -1px;
        border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 4px;
        border: 3px solid rgba(255,255,255,0.4); color: #ffffff;
        text-shadow: 1px 1px 0 rgba(0,0,0,0.6);
        box-shadow: inset -5px -5px 12px rgba(0,0,0,0.6), inset 5px 5px 12px rgba(255,255,255,0.3), 0 4px 10px rgba(0,0,0,0.5);
        transition: transform 0.2s; cursor: default; position: relative; z-index: 1;
    }
    .ball-result-premium:hover { transform: scale(1.08); z-index: 10; }

    .res-mega { background: radial-gradient(circle at 30% 30%, #22c55e, #166534); border-color: #86efac; }
    .res-loto { background: radial-gradient(circle at 30% 30%, #d946ef, #86198f); border-color: #f5d0fe; }
    .res-quina { background: radial-gradient(circle at 30% 30%, #8b5cf6, #5b21b6); border-color: #c4b5fd; }
    .res-lotom { background: radial-gradient(circle at 30% 30%, #f97316, #9a3412); border-color: #fdba74; }
    .res-dupla { background: radial-gradient(circle at 30% 30%, #ef4444, #991b1b); border-color: #fca5a5; }
    .res-super { background: radial-gradient(circle at 30% 30%, #06b6d4, #155e75); border-color: #67e8f9; }
    .res-time, .res-diad { background: radial-gradient(circle at 30% 30%, #facc15, #a16207); color: #000000; text-shadow: none; border-color: #fef08a; font-weight: 900; }

    .q-btn { background: rgba(0,0,0,0.6); border: 1px solid #334155; color: var(--text-muted); padding: 8px 16px; border-radius: 6px; font-size: 0.75rem; font-weight: bold; cursor: pointer; transition: all 0.25s; white-space: nowrap; }
    .q-btn:hover { background: rgba(14, 165, 233, 0.2); color: #0ea5e9; border-color: #0ea5e9; }
    .q-btn.active { background: #0ea5e9; color: white; border-color: #0ea5e9; box-shadow: 0 0 15px rgba(14, 165, 233, 0.5); }

    #quantumGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 8px; padding: 15px; background: rgba(0, 0, 0, 0.65); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 16px; box-shadow: inset 0 0 20px rgba(0,0,0,0.7); }
    .quantum-cell { aspect-ratio: 1; background: rgba(18, 28, 56, 0.95); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; overflow: hidden; cursor: default; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); contain: content; will-change: transform; }
    .quantum-cell:hover { transform: scale(1.15); z-index: 50; border-color: var(--primary); }

    .q-num { font-family: 'Orbitron', sans-serif; font-size: 1.2rem; font-weight: 900; color: white; text-shadow: 2px 2px 0px rgba(0,0,0,0.9); z-index: 2; margin-top: 6px; }
    .q-info { position: absolute; top: 2px; left: 0; width: 100%; display: flex; justify-content: space-between; padding: 0 4px; font-size: 0.55rem; color: rgba(255,255,255,0.85); font-family: 'JetBrains Mono', monospace; font-weight: bold; z-index: 2; }
    .q-bar { position: absolute; bottom: 0; left: 0; width: 100%; height: 4px; background: rgba(0,0,0,0.5); }
    .q-fill { height: 100%; background: var(--secondary); box-shadow: 0 0 8px var(--secondary); }

    .animate-spin-slow { animation: spin 8s linear infinite; }
    .dashed-border { border-style: dashed; }
    @keyframes spin { 100% { transform: rotate(360deg); } }

    .dna-grid-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(35px, 1fr)); gap: 4px; max-height: 400px; overflow-y: auto; padding-right: 5px; }
    .dna-cell { aspect-ratio: 1; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: bold; color: #94a3b8; cursor: pointer; transition: all 0.2s; contain: content; will-change: transform; }
    .dna-cell:hover { background: rgba(14, 165, 233, 0.35); border-color: #0ea5e9; color: white; transform: scale(1.15); z-index: 10; }
    .dna-cell.active { background: #0ea5e9; color: white; box-shadow: 0 0 15px #0ea5e9; border-color: white; }
    .dna-cell.partner { background: rgba(168, 85, 247, 0.6); border-color: #c084fc; color: white; animation: pulseDNA 1.5s infinite; }
    @keyframes pulseDNA { 0% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.5); } 70% { box-shadow: 0 0 0 6px rgba(168, 85, 247, 0); } }

    .fft-bar-container { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; position: relative; min-width: 20px; }
    .fft-bar { width: 100%; background: linear-gradient(to top, #db2777, #f472b6); border-top: 2px solid white; border-radius: 2px 2px 0 0; transition: height 1s cubic-bezier(0.34, 1.56, 0.64, 1); box-shadow: 0 0 10px rgba(244, 114, 182, 0.4); position: relative; }
    .fft-bar:hover { background: #fff; z-index: 10; }
    .fft-label { font-size: 9px; color: #aaa; margin-top: 4px; font-family: monospace; }

    #fractalCanvas { width: 100%; height: 100%; }
    .grid-bg { background-image: linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 240, 255, 0.05) 1px, transparent 1px); background-size: 20px 20px; }
    .attractor-row { display: flex; justify-content: space-between; align-items: center; padding: 8px; background: rgba(0,0,0,0.5); border-radius: 6px; border-left: 2.5px solid #6366f1; font-size: 0.75rem; animation: slideInRight 0.3s ease-out; border: 1px solid rgba(255,255,255,0.08); border-left-width: 2.5px; }

    .trader-badge { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 5px; border-radius: 6px; font-weight: bold; font-size: 0.9rem; position: relative; overflow: hidden; }
    .trader-badge::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: rgba(255,255,255,0.2); }
    .cluster-ball { width: 35px; height: 35px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 0.8rem; transition: all 0.3s; border: 1.5px solid transparent; }
    .cluster-hot { background: #ef4444; color: white; box-shadow: 0 0 10px #ef4444; border-color: white; }
    .cluster-mid { background: #3b82f6; color: white; }
    .cluster-cold { background: #1e293b; color: #94a3b8; border-color: #334155; }

    body.theme-royal {
        background: radial-gradient(circle at top, #021a11, #08422d, #033629) !important;
        font-family: 'Rajdhani', sans-serif !important;
    }
    body.theme-royal .vip-card, body.theme-royal .bg-black\/50, body.theme-royal .bg-gray-900 {
        background: rgba(14, 24, 32, 0.98) !important;
        border-color: #10b981 !important;
        box-shadow: 0 4px 25px rgba(0,0,0,0.6) !important;
    }
    body.theme-royal h2, body.theme-royal h3, body.theme-royal .text-cyan-400, body.theme-royal .text-purple-400, body.theme-royal .text-green-400 {
        color: #34d399 !important;
        text-shadow: 0 0 8px rgba(52, 211, 153, 0.4) !important;
        letter-spacing: 1px;
    }
    body.theme-royal .text-gray-400, body.theme-royal .text-gray-500 {
        color: #94a3b8 !important;
    }
    body.theme-royal button, body.theme-royal .vip-nav-btn {
        border-radius: 6px !important;
    }
    body.theme-royal .btn-neon {
        background: linear-gradient(135deg, #059669, #10b981) !important;
        color: #04050f !important;
        font-weight: 700 !important;
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4) !important;
        border: none !important;
    }
    body.theme-royal .vip-nav-btn.active {
        background: rgba(16, 185, 129, 0.25) !important;
        border-left: 4px solid #10b981 !important;
        color: #34d399 !important;
    }
    body.theme-royal input, body.theme-royal select {
        background: #111827 !important;
        border: 1.5px solid #374151 !important;
        color: #34d399 !important;
    }
    body.theme-royal .animate-pulse {
        animation: emeraldGlow 2.5s ease-in-out infinite !important;
    }
    @keyframes emeraldGlow {
        0%, 100% { opacity: 0.7; }
        50% { opacity: 1; }
    }
    body.theme-royal .quantum-cell {
        background: #111827 !important;
        border-color: #1f2937 !important;
    }
    body.theme-royal .heat-hot {
        background: linear-gradient(135deg, #047857, #10b981) !important;
        border-color: #34d399 !important;
    }

    #container-globo-fullscreen { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: radial-gradient(circle at center, var(--bg-space-navy) 0%, var(--bg-dark-core) 100%); z-index: 2147483647; pointer-events: auto; display: none; overflow: hidden; }
    #container-globo-fullscreen.hidden { display: none !important; visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; z-index: -9999 !important; }
    #stars-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
    #globeCanvas { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; display: block !important; z-index: 10; image-rendering: pixelated; touch-action: none; }
    #status-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 12vw; font-weight: 900; color: rgba(255, 255, 255, 0.02); pointer-events: none; z-index: 2; white-space: nowrap; user-select: none; }
    #ui-layer { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 95%; max-width: 500px; pointer-events: auto; }
    #result-rack { position: absolute; top: 15%; left: 50%; transform: translateX(-50%); display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; background: rgba(8, 14, 30, 0.98); padding: 15px 25px; border-radius: 50px; border: 1.5px solid rgba(255, 255, 255, 0.2); z-index: 100; min-width: 200px; box-shadow: 0 10px 30px rgba(0,0,0,0.8); }
    #victory-modal { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.9); background: rgba(12, 18, 41, 0.98); padding: 30px; border-radius: 20px; border: 2px solid #00d2ff; text-align: center; z-index: 2147483648; opacity: 0; pointer-events: none; transition: all 0.3s ease; box-shadow: 0 0 40px rgba(0, 210, 255, 0.4); }
    #victory-modal.show { opacity: 1 !important; pointer-events: auto !important; transform: translate(-50%, -50%) scale(1) !important; }

    #ui-layer input[type=number] { background: rgba(0,0,0,0.8); border: 1.5px solid #334155; color: #fff; padding: 4px; border-radius: 4px; width: 50px; text-align: center; }
    #btnSortear { background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%); border: none; color: white; padding: 8px 20px; border-radius: 8px; font-weight: 900; cursor: pointer; box-shadow: 0 0 15px rgba(0, 210, 255, 0.5); transition: transform 0.2s; }
    #btnSortear:active { transform: scale(0.95); }
    .result-ball { width: 35px; height: 35px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff, #cbd5e1); color: black; font-weight: bold; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 5px rgba(0,0,0,0.6); animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); contain: content; will-change: transform; }
    .star { position: absolute; background: white; border-radius: 50%; opacity: 0.8; animation: twinkle var(--duration) infinite ease-in-out; will-change: transform, opacity; }
    @keyframes twinkle { 0%, 100% { opacity: 0.2; transform: scale(0.8); } 50% { opacity: 1; transform: scale(1.4); } }

    #vipTab-chat { background: radial-gradient(circle at center, var(--bg-midnight-amethyst) 0%, var(--bg-space-navy) 100%) !important; position: relative; overflow: hidden !important; border: 1.5px solid var(--glass-border) !important; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8) !important; }
    #vipTab-chat::before, #vipTab-chat::after { content: ''; position: absolute; border-radius: 50%; z-index: 0; pointer-events: none; opacity: 0.4; will-change: transform; }
    #vipTab-chat::before { width: 300px; height: 300px; background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, transparent 70%); top: -10%; left: -10%; animation: planetFloat 25s infinite alternate ease-in-out; }
    #vipTab-chat::after { width: 250px; height: 250px; background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%); bottom: 10%; right: -10%; animation: planetFloat 35s infinite alternate-reverse ease-in-out; }
    @keyframes planetFloat { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(20px, 30px) scale(1.05); } 100% { transform: translate(-10px, 10px) scale(1); } }

    #chatHistory { position: relative; z-index: 2; background: rgba(6, 12, 30, 0.94); scroll-behavior: smooth; }
    #chatHistory::-webkit-scrollbar { width: 6px; }
    #chatHistory::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.02); }
    #chatHistory::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 10px; }

    #chatHistory > div.items-start > div { background: rgba(12, 19, 41, 0.98) !important; border: 1.5px solid var(--glass-border) !important; color: #f1f5f9 !important; font-family: 'JetBrains Mono', monospace !important; box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
    #chatHistory > div.items-end > div { background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important; border: none !important; box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4); color: white !important; }
    #vipTab-chat .bg-gray-900.border-t { background: rgba(12, 18, 41, 0.98) !important; border-top: 1.5px solid rgba(255, 255, 255, 0.1) !important; position: relative; z-index: 10; }

    #chatInput { background: rgba(0, 0, 0, 0.8) !important; border: 1.5px solid #334155 !important; color: #fff !important; transition: all 0.25s ease; }
    #chatInput:focus { background: rgba(0, 0, 0, 0.95) !important; border-color: #0ea5e9 !important; box-shadow: 0 0 12px rgba(14, 165, 233, 0.3) !important; }
    #btnSendChat { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important; box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4) !important; border: none !important; }
    #btnSendChat:hover { transform: scale(1.05); box-shadow: 0 0 18px rgba(245, 158, 11, 0.6); }
    .font-mono.text-green-400 { text-shadow: 0 0 8px rgba(74, 222, 128, 0.4); font-weight: 900; }

    #vipTab-trader { min-width: 0; width: 100%; overflow-x: hidden; }
    #traderPanel, #traderTicker, #buyList, #sellList { max-width: 100%; box-sizing: border-box; }
    #buyList, #sellList { max-height: 250px !important; overflow-y: auto !important; overflow-x: hidden; display: flex; flex-wrap: wrap; justify-content: center; align-content: flex-start; padding-right: 5px; }
    #buyList::-webkit-scrollbar, #sellList::-webkit-scrollbar { width: 6px; }
    #buyList::-webkit-scrollbar-thumb, #sellList::-webkit-scrollbar-thumb { background-color: #1e293b; border-radius: 10px; }
    #buyList::-webkit-scrollbar-track { background: rgba(0,0,0,0.2); }

    #vipTab-hunter { background: radial-gradient(circle at top right, #111c3a 0%, var(--bg-dark-core) 100%) !important; position: relative; border: 1.5px solid rgba(245, 158, 11, 0.4); }
    #vipTab-hunter::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(245, 158, 11, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(245, 158, 11, 0.04) 1px, transparent 1px); background-size: 40px 40px; z-index: 0; pointer-events: none; animation: gridMove 60s linear infinite; }
    @keyframes gridMove { 0% { background-position: 0 0; } 100% { background-position: 40px 40px; } }
    #vipTab-hunter .cyber-input:focus { border-color: #f59e0b !important; box-shadow: 0 0 15px rgba(245, 158, 11, 0.4) !important; background: rgba(0, 0, 0, 0.9); }
    #hunterBar { transition: width 0.3s ease-out; box-shadow: 0 0 15px #f59e0b; }
    #hunterResult .custom-scrollbar::-webkit-scrollbar-thumb { background: #374151; border-radius: 4px; }
    #hunterResult .custom-scrollbar::-webkit-scrollbar-thumb:hover { background: #f59e0b; }
    .alert-pulse { animation: redAlert 1.5s infinite alternate; }
    @keyframes redAlert { 0% { box-shadow: 0 0 10px rgba(239, 68, 68, 0.3); } 100% { box-shadow: 0 0 25px rgba(239, 68, 68, 0.6); } }

    .perspective-container { perspective: 1000px; transform-style: preserve-3d; }
    #wheelCanvas { transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); cursor: pointer; z-index: 10; position: relative; }
    #wheelCanvas:hover { transform: rotateX(15deg) scale(1.02) translateY(-5px) !important; filter: brightness(1.1); }
    
    .neon-floor { 
        position: absolute; 
        bottom: 10px; 
        left: 50%; 
        width: 70%; 
        height: 50px; 
        background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.4) 0%, rgba(0,0,0,0) 75%); 
        transform: translateX(-50%) rotateX(60deg); 
        z-index: 0; 
        animation: neonPulse 3s infinite alternate; 
        pointer-events: none; 
    }
    @keyframes neonPulse { 0% { opacity: 0.4; transform: translateX(-50%) rotateX(60deg) scale(0.9); } 100% { opacity: 0.9; transform: translateX(-50%) rotateX(60deg) scale(1.1); } }
    
    .animate-bounce { animation: bounce 1s infinite; }
    @keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

    .cosmic-key { height: 45px; background: rgba(14, 165, 233, 0.2); border: 1px solid rgba(14, 165, 233, 0.4); color: #22d3ee; font-family: 'Orbitron', sans-serif; font-size: 1.2rem; border-radius: 8px; transition: all 0.1s; text-shadow: 0 0 5px #22d3ee; }
    .cosmic-key:active { transform: scale(0.95); background: rgba(14, 165, 233, 0.4); box-shadow: 0 0 15px #22d3ee; color: white; }
    .hacked-anim { animation: glitch-anim 0.3s infinite; color: #4ade80 !important; border-color: #4ade80 !important; text-shadow: 0 0 10px #4ade80 !important; }
    @keyframes glitch-anim { 0%, 100% { transform: translate(0); } 20% { transform: translate(-1px, 1px); } 40% { transform: translate(-1px, -1px); } 60% { transform: translate(1px, 1px); } 80% { transform: translate(1px, -1px); } }

    #gc-board .square { width: 100%; height: 100%; position: relative; display: flex; justify-content: center; align-items: center; }
    #gc-board .white-sq { background: #1e293b; }
    #gc-board .black-sq { background: #0f172a; }
    .gc-last-move { background: rgba(168, 85, 247, 0.4) !important; }
    .gc-selected { background: rgba(14, 165, 233, 0.4) !important; box-shadow: inset 0 0 15px rgba(14, 165, 233, 0.6); }
    .gc-valid-move::after { content: ''; width: 16px; height: 16px; background: rgba(14, 165, 233, 0.5); border-radius: 50%; pointer-events: none; }
    .gc-piece { width: 90%; height: 90%; background-size: contain; background-repeat: no-repeat; background-position: center; pointer-events: none; z-index: 10; transition: transform 0.2s; }
    .gc-p-w { filter: drop-shadow(0 0 5px rgba(14, 165, 233, 0.8)); }
    .gc-p-b { filter: drop-shadow(0 0 5px rgba(168, 85, 247, 0.8)); }
    .grave-img { width: 16px; height: 16px; }

    #chatInterfaceContainer { display: flex; flex-direction: column; height: 100vh; max-width: 800px; margin: 0 auto; border-left: 1px solid #1e293b; border-right: 1px solid #1e293b; background: var(--bg-dark-core); position: relative; }
    .chat-header { flex-shrink: 0; padding: 15px; background: rgba(12, 19, 41, 0.98); border-bottom: 1px solid #1e293b; display: flex; justify-content: space-between; align-items: center; z-index: 10; }
    #chatHistory { flex-grow: 1; overflow-y: auto; overflow-x: hidden; padding: 20px; display: flex; flex-direction: column; gap: 15px; scroll-behavior: smooth; background-image: radial-gradient(circle at center, rgba(0, 240, 255, 0.05) 1px, transparent 1px); background-size: 20px 20px; }
    #chatHistory::-webkit-scrollbar { width: 6px; }
    #chatHistory::-webkit-scrollbar-track { background: var(--bg-space-navy); }
    #chatHistory::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 4px; }

    .chat-footer { flex-shrink: 0; padding: 15px; background: rgba(12, 19, 41, 0.98); border-top: 1px solid #1e293b; display: flex; gap: 10px; align-items: center; }
    .msg-user { align-self: flex-end; background: linear-gradient(135deg, rgba(14, 165, 233, 0.3), rgba(2, 132, 199, 0.4)); border: 1.5px solid #0ea5e9; color: white; padding: 10px 15px; border-radius: 15px 15px 0 15px; max-width: 85%; font-size: 14px; animation: slideInRight 0.3s ease-out; }
    .msg-bot { align-self: flex-start; background: #1e293b; border: 1.5px solid #334155; color: #f1f5f9; padding: 10px 15px; border-radius: 15px 15px 15px 0; max-width: 90%; font-size: 14px; animation: slideInLeft 0.3s ease-out; }

    @keyframes slideInRight { from { opacity:0; transform: translate3d(20px,0,0); } to { opacity:1; transform: translate3d(0,0,0); } }
    @keyframes slideInLeft { from { opacity:0; transform: translate3d(-20px,0,0); } to { opacity:1; transform: translate3d(0,0,0); } }

    .scanner-laser { position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: #22c55e; box-shadow: 0 0 15px #22c55e; z-index: 10; display: none; animation: scanMove 2s infinite linear; }
    @keyframes scanMove { 0% { top: 0%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

    .animate-spin { animation: spin 1s linear infinite; }
    .animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
    @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }

    #vipTab-globo4d {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: var(--bg-dark-core);
        background-image: radial-gradient(circle at 20% 30%, rgba(0, 240, 255, 0.2) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(244, 63, 94, 0.15) 0%, transparent 50%);
        z-index: 100000 !important;
        overflow: hidden;
    }
    #stars-container-4d { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
    #canvas-globo-4d { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; display: block; }
    #status-text-4d { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 12vw; font-weight: 900; color: rgba(255,255,255,0.02); pointer-events: none; z-index: 0; white-space: nowrap; user-select: none; font-family: 'Orbitron', sans-serif; }

    .hud-top { position: absolute; top: 30px; right: 30px; z-index: 50; display: flex; gap: 15px; }
    .hud-bottom { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 50; display: flex; flex-direction: column; align-items: center; gap: 20px; width: 95%; max-width: 500px; }
    #result-rack-4d { display: flex; gap: 10px; background: rgba(0, 0, 0, 0.95); padding: 15px 30px; border-radius: 60px; border: 1.5px solid rgba(255, 255, 255, 0.2); box-shadow: 0 10px 40px rgba(0,0,0,0.8); min-height: 70px; align-items: center; justify-content: center; margin-bottom: 10px; flex-wrap: wrap; }

    #victory-modal-4d { position: fixed; inset: 0; background: rgba(12, 18, 41, 0.98); z-index: 100010; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
    #victory-modal-4d.show { opacity: 1; pointer-events: auto; }

    .latest-results-section { padding: 20px; background: rgba(0,0,0,0.65); border: 1.5px solid rgba(255,255,255,0.1); border-radius: 20px; margin: 20px 10px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.4); }

    #collider-fullscreen { background-color: var(--bg-dark-core) !important; font-family: 'Orbitron', sans-serif; color: var(--text-main); overflow: hidden; }
    #collider-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; mix-blend-mode: screen; }
    #core-glow { position: absolute; top: 50%; left: 50%; width: 120px; height: 120px; margin-left: -60px; margin-top: -60px; border-radius: 50%; background: radial-gradient(circle, #ffffff, #a855f7); box-shadow: 0 0 40px #a855f7, 0 0 80px #0ea5e9; z-index: 2; opacity: 0.9; transition: all 0.3s ease-out; animation: pulseCoreSlow 4s infinite ease-in-out; display: flex; align-items: center; justify-content: center; }
    #collider-result { font-size: 3rem; font-weight: 900; color: #fff; text-shadow: 0 0 10px rgba(0,0,0,0.6); z-index: 3; }
    #core-glow.charging { width: 250px; height: 250px; margin-left: -125px; margin-top: -125px; box-shadow: 0 0 60px #a855f7, 0 0 120px #ffffff; animation: pulseCoreFast 0.1s infinite alternate; background: white; }

    @keyframes pulseCoreSlow { 0%, 100% { transform: scale(1); opacity: 0.9; } 50% { transform: scale(1.05); opacity: 0.7; } }
    @keyframes pulseCoreFast { from { transform: scale(1); filter: hue-rotate(0deg); } to { transform: scale(1.03); filter: hue-rotate(90deg); } }

    .cyber-button { background: rgba(168, 85, 247, 0.2); border: 2px solid var(--neon-purple); color: var(--neon-purple); padding: 15px 40px; font-size: 1.2rem; font-family: 'Orbitron', sans-serif; font-weight: 900; text-transform: uppercase; cursor: pointer; transition: 0.25s; letter-spacing: 2px; box-shadow: 0 0 20px rgba(168, 85, 247, 0.3); border-radius: 8px; }
    .cyber-button:hover { background: var(--neon-purple); color: #04050f !important; box-shadow: 0 0 35px var(--neon-purple); transform: scale(1.03); }
    .cyber-button.secondary { border-color: #ef4444; color: #ef4444; font-size: 0.8rem; padding: 10px 20px; }
    .cyber-button.secondary:hover { background: #ef4444; color: white !important; box-shadow: 0 0 20px #ef4444; }

    .lotofacil-ball { display: flex; justify-content: center; align-items: center; width: 50px; height: 50px; background: radial-gradient(circle at 30% 30%, #ffffff, #a855f7); border-radius: 50%; font-size: 1.5rem; font-weight: 900; color: #1e1b4b; box-shadow: 0 0 15px var(--neon-purple); opacity: 0; transform: scale(0); transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); margin: 5px; }
    .ball-visible { opacity: 1; transform: scale(1); }
    #collider-extraction { perspective: 1000px; display: flex; flex-wrap: wrap; justify-content: center; max-width: 800px; margin-top: 2rem; }

    .atom-ball { width: 45px; height: 45px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff, #cffafe); color: #083344; font-weight: 900; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 15px #22d3ee; border: 1.5px solid #22d3ee; animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }

    .ticket-v8 { background: linear-gradient(145deg, #091024, #121c33); border: 2px dashed #00f0ff; border-radius: 16px; padding: 16px; width: 100%; max-width: 340px; margin: 0 auto; box-shadow: 0 8px 32px rgba(0, 240, 255, 0.2); font-family: 'Courier New', Courier, monospace; }
    .ticket-header { text-align: center; color: #38bdf8; font-size: 14px; font-weight: bold; text-transform: uppercase; margin-bottom: 12px; letter-spacing: 1px; }
    .ticket-grid { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 15px; min-height: 80px; }
    .ticket-ball { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: bold; color: white; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22); }
    .ticket-ball.repeated { background: #00f0ff; color: #04050f; border-color: #38bdf8; box-shadow: 0 0 10px #00f0ff; }
    .ticket-grid span { font-family: 'Courier New', monospace !important; }
    .ticket-btn { width: 100%; background: #00f0ff; color: #04050f; border: none; padding: 10px; border-radius: 8px; font-weight: bold; cursor: pointer; transition: all 0.2s; }
    .ticket-btn:hover { background: #38bdf8; transform: scale(1.02); }
    .ticket-btn:active { transform: scale(0.95); }
    .ticket-info { text-align: center; font-size: 10px; color: #38bdf8; margin-top: 8px; display: block; }

    .vip-interface, .game-ball, .quantum-cell, .dna-cell {
        transform: translateZ(0);
        backface-visibility: hidden;
        perspective: 1000px;
    }

    .glow-spot { animation: none !important; opacity: 0.8; transform: translate(-50%, -50%) translateZ(0) !important; pointer-events: none !important; z-index: -3 !important; }
    .cyber-grid { will-change: transform; transform: translateZ(0); pointer-events: none !important; z-index: -3 !important; }
    .ticker-item, #core-glow, .globe-ball-ent, .ticket-v8 { will-change: transform, opacity; }
    .dna-cell, .quantum-cell, .result-ball { contain: content; will-change: transform; }

    @media (max-width: 768px) {
        #result-rack-4d, #victory-modal-4d, .game-panel, #chatHistory, #result-rack, .modal-container > div {
            background-color: #080f22 !important;
        }
        .stats-table, .heatmap-grid, .dna-grid-container {
            box-shadow: none !important;
        }
        .animate-in { animation-duration: 0.2s !important; animation-timing-function: linear !important; }
        .animate-pulse, .animate-bounce { animation: none !important; opacity: 1 !important; }
        .atom-ball { width: 38px; height: 38px; font-size: 1rem; }
        #collider-result { font-size: 2.5rem !important; }
    }

    .hologram-appear {
        animation: holoIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1) forwards;
        opacity: 0;
        transform: scale(0.95) translateY(10px);
        will-change: transform, opacity;
    }
    @keyframes holoIn {
        to { opacity: 1; transform: scale(1) translateY(0); }
    }

    .cyber-select {
        background: rgba(0, 0, 0, 0.8);
        border: 1px solid #0ea5e9;
        color: #0ea5e9;
        font-family: 'Orbitron', sans-serif;
        outline: none;
        box-shadow: inset 0 0 10px rgba(14, 165, 233, 0.2);
        transition: all 0.3s ease;
        border-radius: 6px;
    }
    .cyber-select:focus {
        box-shadow: 0 0 15px rgba(14, 165, 233, 0.4), inset 0 0 10px rgba(14, 165, 233, 0.3);
    }

    .scan-line-ticket::after {
        content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
        background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
        background-size: 100% 4px, 6px 100%;
        pointer-events: none; opacity: 0.15;
    }

    @media (max-width: 768px) {
        #vipInterface .flex.flex-col.md\:flex-row {
            flex-direction: column !important;
            display: flex !important;
        }
        #vipInterface .w-full.md\:w-64 {
            width: 100% !important;
            max-width: 100% !important;
            flex: none !important;
            height: auto !important;
            max-height: 400px !important;
            overflow-y: auto !important;
            margin-bottom: 20px !important;
            background: #060913 !important;
            padding: 10px !important;
            border: 1px solid #1e293b !important;
        }
        #vipInterface .vip-nav-btn {
            min-height: 50px !important;
            padding: 15px !important;
            font-size: 14px !important;
            justify-content: flex-start !important;
        }
    }

    #vipInterface .vip-nav-btn,
    #vipInterface .cmd-card {
        will-change: auto !important;
        transition: all 0.25s ease !important;
    }

    .vip-tab-content {
        width: 100% !important;
        min-height: 88vh !important;
        display: none;
    }
    #vipContentArea {
        display: flex !important;
        flex-direction: column !important;
        min-height: 100vh !important;
        height: auto !important;
        overflow-y: auto !important;
    }
    .vip-tab-content iframe {
        display: block !important;
        width: 100% !important;
        height: 88vh !important;
        min-height: 600px !important;
        border: none !important;
        background: transparent !important;
    }

    .msg-animada { transition: transform 0.15s ease-out; }

    .custom-scrollbar::-webkit-scrollbar {
        width: 6px;
    }
    .custom-scrollbar::-webkit-scrollbar-track {
        background: #060913;
    }
    .custom-scrollbar::-webkit-scrollbar-thumb {
        background: #1e293b;
        border-radius: 10px;
    }
    .custom-scrollbar::-webkit-scrollbar-thumb:hover {
        background: #0ea5e9;
    } 


    
    
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(16px) scale(0.97);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.animate-comment-rotator {
    animation: slideUpFade 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}




#vipInterface .vip-nav-btn.active,
#vipInterface .cmd-card.active {
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.35), rgba(12, 19, 41, 0.95)) !important;
    border-left: 5px solid #00f0ff !important;
    color: #ffffff !important;
}

#vipInterface .vip-nav-btn.search-match,
#vipInterface .cmd-card.search-match,
.vip-nav-btn.search-match,
.cmd-card.search-match {
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.35), rgba(15, 6, 18, 0.96)) !important;
    border-left: 5px solid #ef4444 !important;
    border-color: #f87171 !important;
    color: #ffffff !important;
    box-shadow: 0 0 22px rgba(239, 68, 68, 0.75), inset 0 0 12px rgba(239, 68, 68, 0.35) !important;
    transform: translateX(8px) !important;
    animation: redMatchPulse 1.4s infinite alternate ease-in-out !important;
}

#vipInterface .vip-nav-btn.search-match i,
#vipInterface .vip-nav-btn.search-match span,
#vipInterface .cmd-card.search-match span,
.vip-nav-btn.search-match i,
.cmd-card.search-match span {
    color: #ff4d4d !important;
    text-shadow: 0 0 12px rgba(255, 77, 77, 0.9) !important;
    font-weight: 900 !important;
}

@keyframes redMatchPulse {
    0% {
        box-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
        border-left-color: #ef4444;
    }
    100% {
        box-shadow: 0 0 30px rgba(248, 113, 113, 0.9);
        border-left-color: #ff0055;
    }
}



#vipTab-chat {
    height: 78vh !important;
    max-height: 800px !important;
    min-height: 450px !important;
    display: flex !important;
    flex-direction: column !important;
}


#chatHistory {
    flex: 1 1 0% !important;
    min-height: 0 !important; 
    max-height: 100% !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}


#chatHistory::-webkit-scrollbar {
    width: 8px !important;
}

#chatHistory::-webkit-scrollbar-track {
    background: rgba(6, 12, 30, 0.95) !important;
    border-radius: 4px !important;
}

#chatHistory::-webkit-scrollbar-thumb {
    background: #00f0ff !important;
    border-radius: 4px !important;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5) !important;
}

#chatHistory::-webkit-scrollbar-thumb:hover {
    background: #ec4899 !important;
}


.grecaptcha-badge { 
    visibility: hidden !important; 
} 


.cyber-laser-red {
    position: relative;
    overflow: hidden;
    background: #090305;
    border: 1.5px solid rgba(239, 68, 68, 0.7);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.cyber-laser-red:hover,
.cyber-laser-red:active {
    background-color: rgba(239, 68, 68, 0.2) !important;
    border-color: #f87171 !important;
}


.cyber-laser-red::after {
    content: '';
    position: absolute;
    top: 0;
    left: -130%;
    width: 45%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent 0%, 
        rgba(239, 68, 68, 0.6) 30%, 
        rgba(168, 85, 247, 0.85) 60%, 
        transparent 100%
    );
    transform: skewX(-20deg) translate3d(0, 0, 0);
    pointer-events: none;
    z-index: 2;
    animation: laserSweepRedPurple 3.2s infinite linear;
}

@keyframes laserSweepRedPurple {
    0%   { transform: skewX(-20deg) translate3d(-150%, 0, 0); }
    35%  { transform: skewX(-20deg) translate3d(320%, 0, 0); }
    100% { transform: skewX(-20deg) translate3d(320%, 0, 0); }
}


.simuladores-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    opacity: 0;
    pointer-events: none;
}

.simuladores-wrapper.active {
    grid-template-rows: 1fr;
    opacity: 1;
    pointer-events: auto;
}

.simuladores-scroll {
    max-height: 60vh;
    overflow-y: auto;
    overscroll-behavior: contain;
} 


#themeDropdownMenu .theme-opt {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}


#themeDropdownMenu .theme-opt:hover,
#themeDropdownMenu .theme-opt:active {
    background-color: rgba(16, 185, 129, 0.22) !important;
    border-color: rgba(52, 211, 153, 0.7) !important;
    transform: translateX(3px);
} 

@keyframes pulseGentleAnimation {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.82; transform: scale(0.99); }
}

.animate-pulse-gentle {
    animation: pulseGentleAnimation 25s ease-in-out infinite;
} 

.comment-quote-text {
    border-left: 2px solid rgba(0, 240, 255, 0.5);
    padding-left: 10px;
    font-style: italic;
    color: #cbd5e1;
} 

.comment-ticket-img {
    border: 1px dashed rgba(0, 240, 255, 0.4);
    border-radius: 12px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.comment-ticket-img:hover {
    transform: scale(1.03);
    border-color: #00f0ff;
} 


body {
    transition: background-color 0.4s ease, background-image 0.4s ease !important;
}


body.theme-cyber, body.theme-cyan {
    background-color: #060913 !important;
    background-image: radial-gradient(circle at 50% 0%, #092038 0%, #061121 60%, #02060d 100%) !important;
}


body.theme-matrix, body.theme-emerald {
    background-color: #021a11 !important;
    background-image: radial-gradient(circle at 50% 0%, #08422d 0%, #03261c 60%, #01120d 100%) !important;
}


body.theme-sunset, body.theme-orange {
    background-color: #060814 !important;
    background-image: radial-gradient(circle at 50% 0%, #291205 0%, #120803 60%, #060301 100%) !important;
}


body.theme-ocean {
    background-color: #030a16 !important;
    background-image: radial-gradient(circle at 50% 0%, #0a2540 0%, #051424 60%, #020912 100%) !important;
}


body.theme-royal {
    background-color: #120d02 !important;
    background-image: radial-gradient(circle at 50% 0%, #3a2505 0%, #1e1302 60%, #0c0701 100%) !important;
}


body.theme-amber, body.theme-brown {
    background-color: #0e0a07 !important;
    background-image: radial-gradient(circle at 50% 0%, #2b1810 0%, #170d08 60%, #080402 100%) !important;
} 


#commentForm input[type="text"],
#commentForm textarea,
#commentName,
#commentText {
    background-color: #040817 !important;
    color: #ffffff !important;
    border: 1.5px solid #334155 !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #ffffff !important;
}


#commentForm input[type="text"]:focus,
#commentForm textarea:focus {
    background-color: #020617 !important;
    color: #ffffff !important;
    border-color: #00f0ff !important;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.4) !important;
}


#commentForm input::placeholder,
#commentForm textarea::placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #94a3b8 !important;
}


#commentForm label {
    color: #cbd5e1 !important;
}