        /* ==================================== */
        /* 1. VARIÁVEIS E GERAL                 */
        /* ==================================== */
        :root {
            --bg-color: #121826; /* Azul marinho escuro */
            --container-bg: rgba(30, 40, 50, 0.5); /* Cinza escuro transparente */
            --text-color-primary: #ffffff;
            --text-color-secondary: #c0c0c0;
            --accent-color-1: #00aaff; /* Azul elétrico */
            --accent-color-2: #66b3ff; /* Azul claro */
            --button-turbo-bg: #444;
            --button-turbo-active: #ffdd00;
            --spin-speed-duration: 0.8s;
            --spin-delay-base: 30ms;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background-color: var(--bg-color);
            margin: 0;
            padding: 0;
            text-align: center;
            color: var(--text-color-primary);
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            position: relative;
            overflow: hidden;
        }

        #tsparticles {
            position: fixed;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: -1;
        }

        .container {
            background-color: var(--container-bg);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            padding: 40px;
            border-radius: 20px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
            max-width: 600px;
            width: 90%;
            position: relative;
            z-index: 1;
        }

        /* ==================================== */
        /* Novo Botão de Depósito               */
        /* ==================================== */
        .deposit-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            background-color: #2ecc71; /* Um verde chamativo */
            color: white;
            border: none;
            border-radius: 8px;
            padding: 10px 20px;
            font-size: 1em;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.3s, transform 0.2s;
            z-index: 10;
        }

        .deposit-btn:hover {
            background-color: #27ae60;
            transform: scale(1.05);
        }

        .deposit-btn:active {
            transform: scale(0.95);
        }

        h1 {
            font-size: 2.5em;
            color: var(--accent-color-1);
            text-shadow: 0 0 10px rgba(0, 170, 255, 0.5);
            font-weight: 700;
        }

        .balance {
            font-size: 1.4em;
            margin: 20px 0;
            font-weight: 400;
            color: var(--text-color-secondary);
        }

        /* ==================================== */
        /* 2. MENU DE APOSTA                    */
        /* ==================================== */
        .bet-menu {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 20px;
        }

        .bet-menu-btn {
            background-color: rgba(255, 255, 255, 0.1);
            color: var(--text-color-primary);
            border: 1px solid var(--accent-color-2);
            border-radius: 5px;
            padding: 10px 15px;
            font-size: 1em;
            cursor: pointer;
            transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
            min-width: 70px;
        }

        .bet-menu-btn:hover {
            background-color: rgba(102, 179, 255, 0.3);
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        }

        .bet-menu-btn:active, .bet-menu-btn.active-bet {
            transform: scale(0.95);
            background-color: var(--accent-color-2);
            border-color: var(--accent-color-2);
            box-shadow: 0 0 15px var(--accent-color-2);
            color: #121826;
            font-weight: 600;
        }

        /* ==================================== */
        /* 3. CAIXA DE MULTIPLICADOR            */
        /* ==================================== */
        .multiplier-box {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 160px;
            height: 80px;
            background-color: var(--accent-color-1);
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease, transform 0.3s ease;
            z-index: 10;
        }

        .multiplier-box.visible {
            opacity: 1;
            animation: riseUp 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
        }

        @keyframes riseUp {
            0% { transform: translateY(20px) scale(0.8) translate(-50%, -50%); opacity: 0; }
            50% { transform: translateY(0px) scale(1.1) translate(-50%, -50%); opacity: 1; }
            100% { transform: translateY(0px) scale(1) translate(-50%, -50%); opacity: 1; }
        }

        .multiplier-box span {
            font-size: 2.8em;
            font-weight: 700;
            color: #ffffff;
            text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
        }

        /* ==================================== */
        /* 4. MÁQUINA DE CAÇA-NÍQUEIS           */
        /* ==================================== */
        .slot-machine {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin: 30px auto;
            width: 360px;
            height: 320px;
            background-color: rgba(0, 0, 0, 0.2);
            border: 2px solid var(--accent-color-1);
            border-radius: 12px;
            box-shadow: inset 0 0 10px rgba(0,0,0,0.3);
            overflow: hidden;
            position: relative;
        }

        .column {
            width: 120px;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .symbol {
            width: 100%;
            height: 106px;
            font-size: 2.5em;
            font-weight: 700;
            color: var(--text-color-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: rgba(255, 255, 255, 0.1);
            transition: transform var(--spin-speed-duration) cubic-bezier(0.25, 1, 0.5, 1);
        }

        .highlight {
            background-color: rgba(0, 170, 255, 0.2) !important;
            box-shadow: 0 0 20px var(--accent-color-1);
            transform: scale(1.05);
        }

        .parallax {
            animation: parallaxScroll var(--spin-speed-duration) cubic-bezier(0.1, -0.6, 0.2, 1) forwards;
        }

        @keyframes parallaxScroll {
            0% { transform: translateY(-120px) scale(1.1); opacity: 0.5; }
            50% { transform: translateY(0px) scale(1); opacity: 1; }
            100% { transform: translateY(0px); }
        }
        
        /* Estilos do botão de controle */
        .controls {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
        }

        .spin-btn, .turbo-btn {
            border: none;
            cursor: pointer;
            transition: transform 0.2s, background-color 0.3s;
            font-weight: 600;
            margin-top: 30px;
        }

        .spin-btn {
            background-color: var(--accent-color-1);
            color: var(--bg-color);
            padding: 15px 30px;
            font-size: 1.5em;
            border-radius: 8px;
            width: auto;
            height: auto;
            line-height: normal;
            display: inline-block;
            text-align: center;
            border: none;
            }

        .spin-btn:hover {
            background-color: var(--accent-color-2);
            transform: scale(1.05);
        }

        .spin-btn:active {
            transform: scale(0.95);
        }

        .spin-btn:disabled {
            background-color: #c0c0c0;
            color: #666;
            cursor: not-allowed;
            transform: none;
        }

        .turbo-btn {
            background-color: var(--button-turbo-bg);
            color: #ffffff;
            padding: 10px 20px;
            font-size: 1.2em;
            border-radius: 8px;
        }

        .turbo-btn:hover {
            background-color: #555;
            transform: scale(1.05);
        }

        .turbo-btn:disabled {
            cursor: not-allowed;
        }

        .turbo-btn.turbo-active {
            background-color: var(--button-turbo-active);
            color: var(--bg-color);
            box-shadow: 0 0 15px var(--button-turbo-active);
        }

        .result-message {
            font-size: 1.2em;
            margin-top: 30px;
            min-height: 30px;
            font-weight: 600;
        }

        .result-message.win {
            color: #39ff14; /* Verde neon para vitória */
            text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
        }

        .result-message.lose {
            color: #ff3333; /* Vermelho para derrota */
            text-shadow: 0 0 10px rgba(255, 51, 51, 0.5);
        }

        footer {
            margin-top: 40px;
            font-size: 0.9em;
            color: #c0c0c0;
        }

        /* ==================================== */
        /* 6. POPUP DE CARTAS DE BÔNUS          */
        /* ==================================== */
        .card-bonus-popup {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 100;
            backdrop-filter: blur(8px);
        }

        .card-bonus-content {
            background-color: var(--bg-color);
            padding: 50px;
            border-radius: 20px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
            text-align: center;
            animation: fadeIn 0.5s ease-out;
            border: 2px solid var(--accent-color-1);
            max-width: 90%;
        }
        
        .card-container {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 30px;
            flex-wrap: wrap;
        }

        .card {
            width: 120px;
            height: 180px;
            border-radius: 12px;
            border: 3px solid #fff;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2em;
            font-weight: 700;
            color: #121826;
            transition: transform 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            position: relative;
            perspective: 1000px;
        }
        
        .card:hover {
            transform: translateY(-10px) scale(1.05);
        }

        .card.revealed {
            cursor: default;
        }

        .card-inner {
            position: relative;
            width: 100%;
            height: 100%;
            text-align: center;
            transition: transform 0.6s;
            transform-style: preserve-3d;
            
        }

        .card.revealed .card-inner {
            transform: rotateY(180deg);
        }

        .card-face {
            position: absolute;
            width: 100%;
            height: 100%;
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
        }

        .card-back {
            background-color: var(--accent-color-2);
            font-size: 4em;
            color: #fff;
            text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
        }

        .card-front {
            background-color: #fff;
            color: #121826;
            transform: rotateY(180deg);
            font-size: 2em;
        }
        
        .card-front.win-5x { background-color: #e6ff00; }
        .card-front.win-30x { background-color: #39ff14; }
        .card-front.lose { background-color: #ff3333; }
        .card-front span {
            font-weight: 700;
        }

        #customBetInputContainer {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
        }
        
        #customBetInput {
            padding: 10px;
            border-radius: 5px;
            border: 1px solid var(--accent-color-2);
            background-color: rgba(255, 255, 255, 0.1);
            color: var(--text-color-primary);
            font-size: 1em;
            width: 150px;
            text-align: center;
        }

        #customBetInput:focus {
            outline: none;
            box-shadow: 0 0 10px var(--accent-color-2);
        }
        
