    *, *::before, *::after {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        -webkit-user-select: none !important;
        -moz-user-select: none !important;
        -ms-user-select: none !important;
        user-select: none !important;
        -webkit-touch-callout: none !important;
    }
    
    input, textarea {
        -webkit-user-select: text !important;
        -moz-user-select: text !important;
        -ms-user-select: text !important;
        user-select: text !important;
    }

    /*
     * Computer wheel/trackpad is captured by overflow:auto/hidden boxes that
     * are not actually scrolling (body, game cards, game panels). html is the
     * only page scroller. overflow-x:clip on the root also blocks some desktops.
     */
    html.eu-game-root {
        overflow-x: hidden;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
    }

    html.eu-game-root body.eu-game-theme,
    body.eu-game-theme {
        font-family: 'Nunito', sans-serif;
        min-height: 100vh;
        color: #f0f9ff;
        overflow: visible;
        -webkit-overflow-scrolling: auto;
        position: relative;
        z-index: 1;
    }

    .header {
        background:
            linear-gradient(100deg, rgba(12, 74, 92, 0.55) 0%, rgba(26, 48, 128, 0.52) 55%, rgba(88, 28, 135, 0.55) 100%);
        backdrop-filter: blur(22px) saturate(165%);
        -webkit-backdrop-filter: blur(22px) saturate(165%);
        padding: max(18px, env(safe-area-inset-top)) 20px 20px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
        position: sticky;
        top: 0;
        z-index: 40;
        box-shadow:
            0 8px 40px rgba(30, 27, 75, 0.28),
            inset 0 1px 0 rgba(255, 255, 255, 0.22);
    }

    .header h1 {
        font-family: 'Nunito', sans-serif;
        font-size: clamp(1.6rem, 5vw, 2.8rem);
        font-weight: 800;
        color: #fff;
        text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
        letter-spacing: 0.12em;
    }

    .balance-display {
        margin-top: 10px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 12px 16px;
        font-size: clamp(1rem, 3vw, 1.5rem);
        color: #a5f3fc;
    }

    .balance-amount {
        color: #fde047;
        font-size: clamp(1.3rem, 4vw, 2rem);
        font-weight: 800;
    }

    .reset-btn {
        margin-left: 0;
        padding: 8px 20px;
        background: rgba(248, 113, 113, 0.25);
        border: 1px solid rgba(248, 113, 113, 0.55);
        border-radius: 99px;
        color: #fff;
        cursor: pointer;
        font-family: 'Nunito', sans-serif;
        font-size: 0.85rem;
        font-weight: 700;
        transition: all 0.3s ease;
    }

    .reset-btn:hover {
        background: rgba(248, 113, 113, 0.4);
        transform: scale(1.03);
    }

    .header .eu-sound-btn {
        position: relative;
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        margin: 0;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: rgba(255, 255, 255, 0.95);
        border-radius: 99px;
        border: 1px solid var(--eu-glass-border, rgba(255, 255, 255, 0.22));
        background: var(--eu-glass, rgba(255, 255, 255, 0.1));
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .header .eu-sound-btn svg {
        width: 22px;
        height: 22px;
        display: block;
        overflow: visible;
    }

    .header .eu-sound-btn.is-off::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 2px;
        height: 22px;
        border-radius: 99px;
        background: currentColor;
        box-shadow: 0 0 0 1.6px rgba(10, 16, 40, 0.88);
        transform: translate(-50%, -50%) rotate(45deg);
        pointer-events: none;
    }

    .header .eu-sound-btn.is-off .eu-sound-on,
    .header .eu-sound-btn:not(.is-off) .eu-sound-off {
        display: none;
    }

    .header .eu-sound-btn:hover {
        color: #fff;
        border-color: rgba(94, 255, 212, 0.55);
        background: rgba(255, 255, 255, 0.18);
    }

    body.eu-game-theme .notification-overlay {
        background: rgba(8, 12, 32, 0.58);
        backdrop-filter: blur(16px) saturate(140%);
        -webkit-backdrop-filter: blur(16px) saturate(140%);
    }

    body.eu-game-theme .custom-notification {
        font-family: 'Nunito', sans-serif;
        width: min(420px, calc(100vw - 32px));
        min-width: 0;
        padding: 26px 22px 20px;
        border-radius: 32px;
        border: 1px solid rgba(255, 255, 255, 0.28);
        background-color: #1e1b4b;
        background-image:
            linear-gradient(180deg,
                rgba(56, 189, 248, 0.78) 0%,
                rgba(79, 70, 229, 0.88) 52%,
                rgba(126, 34, 206, 0.86) 100%);
        backdrop-filter: blur(22px) saturate(165%);
        -webkit-backdrop-filter: blur(22px) saturate(165%);
        box-shadow:
            0 24px 70px rgba(15, 12, 40, 0.55),
            inset 0 1px 0 rgba(255, 255, 255, 0.28);
    }

    body.eu-game-theme .custom-notification.is-confirm-danger {
        border-color: rgba(248, 113, 113, 0.5);
    }

    body.eu-game-theme .custom-notification.is-confirm-success {
        border-color: rgba(94, 255, 212, 0.5);
    }

    body.eu-game-theme .notification-icon {
        width: 64px;
        height: 64px;
        margin: 0 auto 14px;
        display: grid;
        place-items: center;
        font-size: 1.7rem;
        line-height: 1;
        border-radius: 50%;
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.1) 100%);
        border: 1px solid rgba(255, 255, 255, 0.32);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }

    body.eu-game-theme .notification-title {
        font-family: 'Nunito', sans-serif;
        font-size: clamp(1.25rem, 4vw, 1.5rem);
        font-weight: 800;
        letter-spacing: 0.04em;
        color: #f0f9ff;
        margin: 0 0 8px;
    }

    body.eu-game-theme .notification-message {
        color: rgba(240, 249, 255, 0.82);
        font-size: 0.98rem;
        line-height: 1.45;
        margin-bottom: 20px;
    }

    body.eu-game-theme .notification-buttons {
        gap: 10px;
    }

    body.eu-game-theme .notification-btn {
        font-family: 'Nunito', sans-serif;
        font-weight: 800;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        border-radius: 99px;
        min-width: 120px;
        padding: 12px 22px;
        border: 1.5px solid rgba(255, 255, 255, 0.18);
        box-shadow: none;
    }

    body.eu-game-theme .notification-btn:hover {
        transform: translateY(-1px);
    }

    body.eu-game-theme .notification-btn-secondary {
        background: rgba(255, 255, 255, 0.10) !important;
        border: 1.5px solid rgba(255, 255, 255, 0.28);
        color: #e8f6ff;
    }

    body.eu-game-theme .notification-btn-secondary:hover {
        background: rgba(255, 255, 255, 0.16) !important;
    }

    body.eu-game-theme .notification-btn-primary {
        background: linear-gradient(135deg, #00c896 0%, #0096e0 100%) !important;
        border: none;
        color: #fff;
        box-shadow:
            0 6px 24px rgba(0, 200, 150, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.25);
    }

    body.eu-game-theme .notification-btn-primary:hover {
        filter: brightness(1.06);
        box-shadow:
            0 8px 26px rgba(0, 200, 150, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.25);
    }

    body.eu-game-theme .notification-btn-danger {
        background: linear-gradient(135deg, #fb7185 0%, #e11d48 100%) !important;
        border: none;
        color: #fff;
        box-shadow:
            0 6px 22px rgba(225, 29, 72, 0.38),
            inset 0 1px 0 rgba(255, 255, 255, 0.28);
    }

    body.eu-game-theme .notification-btn-danger:hover {
        filter: brightness(1.06);
        box-shadow:
            0 8px 26px rgba(225, 29, 72, 0.45),
            inset 0 1px 0 rgba(255, 255, 255, 0.28);
    }

    body.eu-game-theme .notification-btn-success {
        background: linear-gradient(135deg, #00c896 0%, #0096e0 100%) !important;
        border: none;
        color: #fff;
        box-shadow:
            0 6px 24px rgba(0, 200, 150, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.25);
    }

    body.eu-game-theme .notification-input {
        font-family: 'Nunito', sans-serif;
        font-size: 1rem;
        font-weight: 700;
        text-align: center;
        color: #fff;
        background: rgba(255, 255, 255, 0.12);
        border: 1.5px solid rgba(255, 255, 255, 0.28);
        border-radius: 99px;
        padding: 12px 16px;
        margin: 0 0 18px;
    }

    body.eu-game-theme .notification-input:focus {
        border-color: rgba(94, 255, 212, 0.7);
        box-shadow: 0 0 0 3px rgba(94, 255, 212, 0.18);
    }

    body.eu-game-theme .notification-input::placeholder {
        color: rgba(240, 249, 255, 0.45);
    }

    body.eu-game-theme textarea.notification-input {
        min-height: 108px;
        border-radius: 22px;
        text-align: left;
        line-height: 1.45;
        resize: none;
    }

    @media (max-width: 480px) {
        body.eu-game-theme .notification-buttons {
            flex-direction: column-reverse;
        }

        body.eu-game-theme .notification-btn {
            width: 100%;
            min-width: 0;
        }
    }

    .container {
        max-width: 1400px;
        margin: 40px auto;
        padding: 20px;
        position: relative;
        z-index: 1;
        overflow: visible;
    }

    .game-selector {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
        margin-bottom: 40px;
    }

    .game-card {
        position: relative;
        overflow: visible;
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 100%);
        backdrop-filter: blur(18px) saturate(160%);
        -webkit-backdrop-filter: blur(18px) saturate(160%);
        border: 1px solid rgba(255, 255, 255, 0.22);
        border-radius: 28px;
        padding: 30px 20px;
        text-align: center;
        cursor: pointer;
        transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.22s ease, box-shadow 0.22s ease;
        -webkit-tap-highlight-color: transparent;
        box-shadow:
            0 8px 28px rgba(30, 27, 75, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.22);
    }

    .game-card::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.16) 0%, transparent 42%, rgba(167, 139, 250, 0.12) 100%);
        pointer-events: none;
    }

    .game-card:hover, .game-card:active {
        transform: translateY(-6px) scale(1.02);
        box-shadow: 0 18px 46px rgba(0, 200, 150, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.28);
        border-color: rgba(94, 255, 212, 0.55);
    }

    .game-card h2 {
        font-family: 'Nunito', sans-serif;
        font-size: clamp(1.35rem, 4vw, 1.85rem);
        font-weight: 800;
        margin-bottom: 10px;
        letter-spacing: 0.06em;
        color: #fff;
    }

    .game-card p {
        font-size: clamp(0.8rem, 2vw, 1rem);
        color: rgba(240, 249, 255, 0.85);
    }

    .game-card .icon {
        font-size: clamp(3rem, 8vw, 5rem);
        margin-bottom: 15px;
    }

    .game-area {
        position: relative;
        overflow: visible;
        background:
            linear-gradient(180deg,
                rgba(56, 189, 248, 0.38) 0%,
                rgba(59, 130, 246, 0.42) 28%,
                rgba(99, 102, 241, 0.46) 55%,
                rgba(139, 92, 246, 0.48) 78%,
                rgba(168, 85, 247, 0.4) 100%);
        backdrop-filter: blur(22px) saturate(165%);
        -webkit-backdrop-filter: blur(22px) saturate(165%);
        border: 1px solid rgba(255, 255, 255, 0.22);
        border-radius: clamp(22px, 4vw, 32px);
        padding: 36px;
        display: none;
        box-shadow:
            0 20px 70px rgba(30, 27, 75, 0.45),
            0 0 0 1px rgba(255, 255, 255, 0.08) inset,
            inset 0 1px 0 rgba(255, 255, 255, 0.25);
    }

    .game-area::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.14) 0%, transparent 42%, rgba(167, 139, 250, 0.1) 100%);
        pointer-events: none;
    }

    .game-area > * {
        position: relative;
        z-index: 1;
    }

    .game-title {
        text-align: center;
        color: #fff;
        margin-bottom: 24px;
        font-family: 'Nunito', sans-serif;
        font-weight: 800;
        letter-spacing: 0.08em;
        font-size: clamp(1.6rem, 4vw, 2.3rem);
        text-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
    }

    .game-area.active {
        display: block;
    }

    .back-btn {
        background: rgba(255, 255, 255, 0.08);
        color: #a5f3fc;
        border: 1px solid rgba(94, 255, 212, 0.45);
        padding: 12px 28px;
        font-size: 0.85rem;
        font-weight: 800;
        border-radius: 99px;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-bottom: 20px;
        font-family: 'Nunito', sans-serif;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .back-btn:hover {
        background: rgba(255, 255, 255, 0.14);
        border-color: rgba(94, 255, 212, 0.75);
        transform: scale(1.02);
    }

    /* ROULETTE */
    .roulette-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: start;
    }

    .roulette-wheel-container {
        position: relative;
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
    }

    .roulette-wheel {
        position: relative;
        width: 100%;
        aspect-ratio: 1;
        margin: 0 auto;
    }

    .wheel-outer-ring {
        position: absolute;
        inset: 0;
        border-radius: 50%;
        border: 8px solid #8b4513;
        background: linear-gradient(135deg, #654321 0%, #8b4513 100%);
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.8), inset 0 0 30px rgba(0, 0, 0, 0.5);
    }

    .wheel-circle {
        position: absolute;
        inset: 5%;
        border-radius: 50%;
        border: 5px solid #ffd700;
        background: #1a1a1a;
        transition: transform 5s cubic-bezier(0.17, 0.67, 0.12, 0.99);
        box-shadow: 0 0 40px rgba(255, 215, 0, 0.5), inset 0 0 40px rgba(0, 0, 0, 0.7);
    }


    .wheel-center {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 25%;
        height: 25%;
        background: radial-gradient(circle, #ffd700, #ff8c00);
        border-radius: 50%;
        border: 4px solid #000;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: clamp(1.5rem, 3vw, 2.5rem);
        font-weight: bold;
        color: #000;
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
        z-index: 10;
    }

    .wheel-pointer {
        position: absolute;
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        border-top: 30px solid #ffd700;
        filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.8));
        z-index: 20;
    }

    .betting-area {
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.05) 100%);
        backdrop-filter: blur(16px) saturate(150%);
        -webkit-backdrop-filter: blur(16px) saturate(150%);
        padding: 28px;
        border-radius: 28px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 10px 28px rgba(30, 27, 75, 0.18);
    }

    .betting-area h3 {
        color: #5effd4;
        margin-bottom: 18px;
        font-size: clamp(1.05rem, 3vw, 1.35rem);
        letter-spacing: 0.06em;
    }

    .bet-options {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        margin-bottom: 20px;
    }

    .bet-button {
        background: linear-gradient(160deg, #ef4444 0%, #b91c1c 100%);
        color: #fff;
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 16px 10px;
        font-size: clamp(0.85rem, 2vw, 1.05rem);
        font-weight: 800;
        border-radius: 99px;
        cursor: pointer;
        transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, border-color 0.2s ease;
        font-family: 'Nunito', sans-serif;
        letter-spacing: 0.04em;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
    }

    .bet-button.black {
        background: linear-gradient(160deg, #334155 0%, #0f172a 100%);
    }

    .bet-button.green {
        background: linear-gradient(160deg, #22c55e 0%, #15803d 100%);
    }

    .bet-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    }

    .bet-button.selected {
        border-color: #5effd4;
        box-shadow: 0 0 0 2px rgba(94, 255, 212, 0.35), 0 10px 24px rgba(0, 200, 150, 0.22);
    }

    .eu-stake-panel {
        margin: 8px 0 18px;
    }

    .eu-stake-label {
        text-align: center;
        color: rgba(240, 249, 255, 0.68);
        font-weight: 800;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        font-size: 0.75rem;
        margin-bottom: 10px;
    }

    .eu-stake-row,
    .slot-bet {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-bottom: 8px;
        flex-wrap: wrap;
    }

    .eu-stake {
        appearance: none;
        border: 1px solid rgba(255, 255, 255, 0.2);
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 100%);
        backdrop-filter: blur(12px) saturate(150%);
        -webkit-backdrop-filter: blur(12px) saturate(150%);
        color: #f0f9ff;
        border-radius: 99px;
        min-width: 72px;
        height: 46px;
        padding: 0 16px;
        font-family: 'Nunito', sans-serif;
        font-weight: 800;
        font-size: 0.95rem;
        letter-spacing: 0.02em;
        cursor: pointer;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
        transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    }

    .eu-stake:hover:not(:disabled) {
        transform: translateY(-1px);
        border-color: rgba(94, 255, 212, 0.45);
        background: rgba(255, 255, 255, 0.1);
    }

    .eu-stake.selected {
        background: linear-gradient(135deg, rgba(0, 200, 150, 0.3), rgba(0, 150, 224, 0.22));
        border-color: rgba(94, 255, 212, 0.85);
        color: #5effd4;
        box-shadow: 0 0 0 1px rgba(94, 255, 212, 0.22), 0 8px 22px rgba(0, 200, 150, 0.16);
    }

    .eu-stake.all-in {
        background: rgba(249, 115, 22, 0.14);
        border-color: rgba(251, 146, 60, 0.42);
        color: #fdba74;
    }

    .eu-stake.all-in.selected {
        background: rgba(249, 115, 22, 0.28);
        border-color: #fb923c;
        color: #fed7aa;
        box-shadow: 0 8px 22px rgba(249, 115, 22, 0.2);
    }

    .eu-stake:disabled {
        opacity: 0.45;
        cursor: not-allowed;
        transform: none;
    }

    .eu-stake-custom {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin: 4px auto 14px;
        width: min(100%, 360px);
    }

    .eu-stake-custom-label {
        color: rgba(240, 249, 255, 0.55);
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        font-size: 0.68rem;
        text-align: center;
    }

    .eu-stake-custom-field {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
    }

    .eu-stake-euro {
        color: #5effd4;
        font-weight: 800;
        font-size: 1.05rem;
        line-height: 1;
    }

    .eu-stake-input {
        flex: 1 1 auto;
        min-width: 0;
        height: 46px;
        border-radius: 99px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        background: rgba(0, 0, 0, 0.28);
        color: #f0f9ff;
        font-family: 'Nunito', sans-serif;
        font-weight: 800;
        font-size: 1rem;
        padding: 0 16px;
        text-align: center;
        outline: none;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }

    .eu-stake-input:focus,
    .eu-stake-input.is-custom {
        border-color: rgba(94, 255, 212, 0.85);
        color: #5effd4;
        box-shadow: 0 0 0 1px rgba(94, 255, 212, 0.22), 0 8px 22px rgba(0, 200, 150, 0.12);
    }

    .eu-stake-input:disabled {
        opacity: 0.45;
        cursor: not-allowed;
    }

    .eu-stake-set {
        flex: 0 0 auto;
    }

    .eu-btn,
    .eu-btn-go {
        appearance: none;
        font-family: 'Nunito', sans-serif;
        font-weight: 800;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        cursor: pointer;
        border-radius: 99px;
        transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
    }

    .eu-btn {
        border: 1.5px solid rgba(255, 255, 255, 0.18);
        background: rgba(255, 255, 255, 0.08);
        color: #d0eeff;
        padding: 12px 22px;
        font-size: 0.85rem;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    }

    .eu-btn:hover:not(:disabled) {
        background: rgba(255, 255, 255, 0.14);
        transform: translateY(-1px);
    }

    .eu-btn-go {
        display: block;
        width: 100%;
        border: none;
        padding: 16px 28px;
        font-size: clamp(0.95rem, 2.4vw, 1.15rem);
        background: linear-gradient(135deg, #00c896 0%, #0096e0 100%);
        color: #fff;
        box-shadow:
            0 6px 24px rgba(0, 200, 150, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.25);
    }

    .eu-btn-go:hover:not(:disabled) {
        filter: brightness(1.06);
        transform: translateY(-1px);
    }

    .eu-btn-go:disabled,
    .eu-btn:disabled {
        opacity: 0.45;
        cursor: not-allowed;
        transform: none;
        filter: none;
    }

    .eu-btn-hit {
        background: linear-gradient(135deg, #00c896 0%, #059669 100%);
        border: none;
        color: #042f2e;
    }

    .eu-btn-stand {
        background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
        border: none;
        color: #082f49;
    }

    .result-display {
        margin-top: 18px;
        padding: 16px 18px;
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.05) 100%);
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 24px;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
        text-align: center;
        font-size: clamp(0.95rem, 2.2vw, 1.15rem);
        min-height: 88px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.35em;
        width: 100%;
        box-sizing: border-box;
    }

    .result-display > div {
        width: 100%;
        max-width: 100%;
        line-height: 1.35;
    }

    @keyframes pulseWin {
        0%, 100% { transform: scale(1); }
        25% { transform: scale(1.15); }
        50% { transform: scale(1.05); }
        75% { transform: scale(1.12); }
    }

    /* SLOT MACHINE */
    .slot-machine {
        max-width: 800px;
        margin: 0 auto;
        text-align: center;
    }

    .slot-display {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin: 40px 0;
    }

    .slot-reel {
        width: 150px;
        height: 200px;
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.12) 0%, rgba(15, 23, 42, 0.55) 100%);
        border: 2px solid rgba(255, 255, 255, 0.22);
        border-radius: 28px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(255, 215, 0, 0.2);
        position: relative;
        overflow: hidden;
    }

    .slot-reel::before,
    .slot-reel::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        height: 22%;
        z-index: 2;
        pointer-events: none;
    }

    .slot-reel::before {
        top: 0;
        background: linear-gradient(to bottom, rgba(8, 12, 32, 0.5), transparent);
    }

    .slot-reel::after {
        bottom: 0;
        background: linear-gradient(to top, rgba(8, 12, 32, 0.5), transparent);
    }

    .slot-strip {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        will-change: transform;
    }

    @keyframes slot-reel-run {
        from { transform: translate3d(0, 0, 0); }
        to { transform: translate3d(0, calc(var(--slot-cell, 200px) * -6), 0); }
    }

    .slot-reel.spinning .slot-strip {
        animation: slot-reel-run 0.28s linear infinite;
    }

    .slot-strip .symbol {
        display: block;
        width: 72%;
        height: var(--slot-cell, 200px);
        flex: 0 0 var(--slot-cell, 200px);
        object-fit: contain;
        pointer-events: none;
        padding: 10% 0;
        box-sizing: border-box;
    }

    .payout-syms {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .payout-syms img {
        width: 22px;
        height: 22px;
        object-fit: contain;
    }

    .slot-controls {
        margin: 30px 0;
    }

    .slot-controls .eu-btn-go {
        max-width: 420px;
        margin: 18px auto 0;
    }

    .payout-table {
        margin-top: 36px;
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
        padding: 20px;
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
    }

    .payout-table h3 {
        color: #5effd4;
        margin-bottom: 15px;
        letter-spacing: 0.08em;
    }

    .payout-row {
        display: flex;
        justify-content: space-between;
        padding: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .payout-row:last-child {
        border-bottom: none;
    }

    /* BLACKJACK */
    .blackjack-container {
        max-width: 900px;
        margin: 0 auto;
    }

    .blackjack-game {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .dealer-section, .player-section {
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
        padding: 20px;
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
    }

    .hand {
        min-height: 150px;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        padding: 15px;
        background: rgba(0, 0, 0, 0.3);
        border-radius: 10px;
        align-items: center;
        justify-content: center;
    }

    .card {
        width: 80px;
        height: 112px;
        background: linear-gradient(135deg, #fff, #f0f0f0);
        border: 2px solid #333;
        border-radius: 16px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        font-weight: bold;
        font-size: 14px;
        position: relative;
    }

    .card.red {
        color: #e74c3c;
    }

    .card.black {
        color: #2c3e50;
    }

    .card.hidden {
        background: linear-gradient(135deg, #2c3e50, #34495e);
        color: transparent;
    }

    .card-value-top {
        position: absolute;
        top: 5px;
        left: 8px;
    }

    .card-suit-center {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 24px;
    }

    .card-value-bottom {
        position: absolute;
        bottom: 5px;
        right: 8px;
        transform: rotate(180deg);
    }

    .hand-value {
        width: 100%;
        text-align: center;
        margin-top: 10px;
        font-size: 18px;
        font-weight: bold;
        color: #5effd4;
    }

    .blackjack-controls {
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.05) 100%);
        backdrop-filter: blur(16px) saturate(150%);
        -webkit-backdrop-filter: blur(16px) saturate(150%);
        padding: 24px;
        border-radius: 28px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        text-align: center;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }

    .blackjack-buttons {
        display: flex;
        gap: 10px;
        justify-content: center;
        flex-wrap: wrap;
        margin: 16px 0 8px;
    }

    .blackjack-buttons .eu-btn,
    .blackjack-buttons .eu-btn-go {
        width: auto;
        min-width: 140px;
    }

    /* HORSE RACE */
    .horse-sub {
        text-align: center;
        color: rgba(240, 249, 255, 0.72);
        margin: -12px 0 18px;
        font-size: clamp(0.85rem, 2vw, 1.05rem);
    }

    .horse-stage {
        position: relative;
        border-radius: 28px;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow:
            0 16px 48px rgba(30, 27, 75, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.18);
        background: #12102e;
        margin-bottom: 18px;
    }

    .horse-stage canvas {
        display: block;
        width: 100%;
        height: auto;
        touch-action: none;
    }

    .horse-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        margin-bottom: 14px;
        color: #a5f3fc;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        font-size: 0.78rem;
    }

    .horse-streak {
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 100%);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 99px;
        padding: 7px 14px;
        font-size: 0.78rem;
        color: #fff;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }

    .horse-tickets {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        margin-bottom: 16px;
    }

    .horse-ticket {
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 100%);
        backdrop-filter: blur(14px) saturate(150%);
        -webkit-backdrop-filter: blur(14px) saturate(150%);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #fff;
        border-radius: 22px;
        padding: 14px 12px;
        cursor: pointer;
        font-family: 'Nunito', sans-serif;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
        transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }

    .horse-ticket strong {
        display: block;
        font-family: 'Nunito', sans-serif;
        font-size: clamp(1rem, 2.5vw, 1.25rem);
        color: #5effd4;
        margin-bottom: 4px;
        letter-spacing: 0.08em;
    }

    .horse-ticket span {
        font-size: 0.85rem;
        color: rgba(240, 249, 255, 0.75);
    }

    .horse-ticket.selected {
        border-color: rgba(94, 255, 212, 0.7);
        box-shadow:
            0 10px 24px rgba(0, 200, 150, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.28);
        background: linear-gradient(145deg, rgba(0, 200, 150, 0.28) 0%, rgba(0, 150, 224, 0.16) 100%);
    }

    .horse-field {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 18px;
    }

    .horse-card {
        display: grid;
        grid-template-columns: 10px 1fr auto;
        gap: 10px;
        align-items: center;
        text-align: left;
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 100%);
        backdrop-filter: blur(12px) saturate(150%);
        -webkit-backdrop-filter: blur(12px) saturate(150%);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 22px;
        padding: 12px 14px;
        color: #fff;
        cursor: pointer;
        font-family: 'Nunito', sans-serif;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
        transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }

    .horse-card:hover:not(:disabled) {
        transform: translateY(-2px);
        border-color: rgba(94, 255, 212, 0.45);
    }

    .horse-card.selected {
        border-color: rgba(94, 255, 212, 0.7);
        box-shadow:
            0 10px 24px rgba(0, 200, 150, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.28);
        background: linear-gradient(145deg, rgba(0, 200, 150, 0.26) 0%, rgba(0, 150, 224, 0.14) 100%);
    }

    .horse-card:disabled {
        opacity: 0.72;
        cursor: not-allowed;
    }

    .horse-silk {
        width: 10px;
        height: 100%;
        min-height: 42px;
        border-radius: 99px;
        box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
    }

    .horse-card-name {
        display: block;
        font-weight: 800;
        letter-spacing: 0.03em;
        font-size: clamp(0.85rem, 2vw, 1.05rem);
    }

    .horse-card-form {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 5px;
        margin-top: 6px;
        font-size: 0.78rem;
        color: rgba(240, 249, 255, 0.8);
    }

    .horse-form-label {
        margin-right: 2px;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .horse-pip {
        display: inline-flex;
        width: 22px;
        height: 22px;
        border-radius: 99px;
        align-items: center;
        justify-content: center;
        font-size: 0.78rem;
        font-weight: 800;
        font-style: normal;
        background: #3a3a3a;
    }

    .horse-pip.f1 { background: #e8b923; color: #2a1500; }
    .horse-pip.f2 { background: #c0c6d0; color: #1a1a1a; }
    .horse-pip.f3 { background: #c47a3a; color: #fff; }
    .horse-pip.fx { background: #3a3a3a; color: #ddd; }

    .horse-badge {
        font-style: normal;
        font-size: 0.65rem;
        padding: 1px 6px;
        border-radius: 99px;
        margin-left: 6px;
        letter-spacing: 0.06em;
    }

    .horse-badge.fave { background: #e8b923; color: #2a1500; }
    .horse-badge.long { background: #2ecc71; color: #083018; }

    .horse-card-odds {
        font-family: 'Nunito', sans-serif;
        color: #5effd4;
        font-size: clamp(1rem, 2.4vw, 1.25rem);
        font-weight: 800;
        white-space: nowrap;
    }

    .horse-start-hot {
        animation: horsePulse 0.85s ease-in-out infinite;
    }

    @keyframes horsePulse {
        0%, 100% { box-shadow: 0 10px 28px rgba(0, 200, 150, 0.28); }
        50% { box-shadow: 0 14px 36px rgba(0, 200, 150, 0.55); transform: scale(1.02); }
    }

    .horse-cinema-ticket {
        position: absolute;
        top: max(10px, env(safe-area-inset-top));
        right: max(10px, env(safe-area-inset-right));
        z-index: 3;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 2px;
        padding: 8px 14px;
        border-radius: 99px;
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.16) 0%, rgba(8, 10, 24, 0.55) 100%);
        border: 1px solid rgba(255, 255, 255, 0.22);
        backdrop-filter: blur(16px) saturate(160%);
        -webkit-backdrop-filter: blur(16px) saturate(160%);
        color: #f0f9ff;
        pointer-events: none;
        max-width: min(56vw, 220px);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }

    .horse-cinema-ticket[hidden] {
        display: none !important;
    }

    .horse-cinema-ticket strong {
        font-size: 0.95rem;
        letter-spacing: 0.04em;
    }

    .horse-cinema-ticket span {
        font-size: 0.78rem;
        color: #5effd4;
        font-weight: 800;
    }

    .horse-results {
        position: absolute;
        inset: 0;
        z-index: 5;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
        overflow: auto;
        background: rgba(6, 8, 20, 0.38);
        backdrop-filter: blur(10px) saturate(140%);
        -webkit-backdrop-filter: blur(10px) saturate(140%);
    }

    .horse-results[hidden] {
        display: none !important;
    }

    .horse-results-card {
        width: min(440px, 100%);
        max-height: calc(100dvh - 24px);
        overflow: auto;
        padding: 26px 22px 18px;
        border-radius: 32px;
        background:
            linear-gradient(180deg,
                rgba(56, 189, 248, 0.42) 0%,
                rgba(99, 102, 241, 0.48) 50%,
                rgba(168, 85, 247, 0.42) 100%);
        backdrop-filter: blur(22px) saturate(165%);
        -webkit-backdrop-filter: blur(22px) saturate(165%);
        border: 1px solid rgba(255, 255, 255, 0.22);
        box-shadow:
            0 20px 70px rgba(30, 27, 75, 0.45),
            inset 0 1px 0 rgba(255, 255, 255, 0.25);
        text-align: center;
    }

    .horse-results.won .horse-results-card {
        border-color: rgba(94, 255, 212, 0.45);
        box-shadow: 0 24px 64px rgba(0, 200, 150, 0.18);
    }

    .horse-results.lost .horse-results-card {
        border-color: rgba(248, 113, 113, 0.4);
    }

    .horse-results-kicker {
        font-size: 0.72rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: rgba(240, 249, 255, 0.55);
        font-weight: 800;
    }

    .horse-results-title {
        font-family: 'Nunito', sans-serif;
        font-size: clamp(1.35rem, 4vw, 1.9rem);
        font-weight: 800;
        margin: 8px 0 6px;
        color: #f0f9ff;
        letter-spacing: 0.04em;
    }

    .horse-results.won .horse-results-title { color: #5effd4; }
    .horse-results.lost .horse-results-title { color: #fca5a5; }

    .horse-results-sub {
        color: rgba(240, 249, 255, 0.8);
        margin-bottom: 16px;
    }

    .horse-results-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        text-align: left;
        margin-bottom: 16px;
    }

    .horse-results-row {
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 100%);
        border-radius: 18px;
        padding: 10px 12px;
        border: 1px solid rgba(255, 255, 255, 0.14);
    }

    .horse-results-row span {
        display: block;
        font-size: 0.7rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: rgba(240, 249, 255, 0.5);
        font-weight: 800;
    }

    .horse-results-row strong {
        display: block;
        margin-top: 3px;
        font-size: 0.98rem;
    }

    .horse-results-payout {
        font-size: clamp(1.6rem, 4vw, 2.2rem);
        font-weight: 900;
        margin-bottom: 18px;
    }

    .horse-results.won .horse-results-payout { color: #fde047; }
    .horse-results.lost .horse-results-payout { color: #f87171; }

    .horse-results-actions {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    html.eu-game-root:has(body.horse-cinema-on),
    body.horse-cinema-on {
        overflow: hidden;
    }

    body.horse-cinema-on .header,
    body.horse-cinema-on .eu-back-link,
    body.horse-cinema-on .eu-blobs,
    body.horse-cinema-on .horse-board,
    body.horse-cinema-on #gameSelector {
        display: none !important;
    }

    body.horse-cinema-on .container {
        margin: 0;
        padding: 0;
        max-width: none;
    }

    body.horse-cinema-on #horsesGame.game-area {
        display: none !important;
        overflow: visible;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    body.horse-cinema-on .horse-stage {
        position: fixed !important;
        inset: 0;
        z-index: 10050;
        border-radius: 0 !important;
        border: none !important;
        margin: 0 !important;
        width: 100vw;
        height: 100svh;
        height: 100dvh;
        background: #12102e;
        box-shadow: none !important;
        overflow: hidden;
    }

    body.horse-cinema-on .horse-stage canvas {
        display: block;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
    }

    /* Responsive */
    @media (max-width: 968px) {
        .roulette-container {
            grid-template-columns: 1fr;
            gap: 20px;
        }

        .game-area {
            padding: 20px;
        }

        .reset-btn {
            margin-left: 10px;
            font-size: 0.8rem;
            padding: 6px 15px;
        }
    }

    @media (max-width: 640px) {
        .container {
            padding: 10px;
            margin: 20px auto;
        }

        .game-area {
            padding: 15px;
        }

        .betting-area {
            padding: 20px;
        }

        .bet-options {
            grid-template-columns: 1fr;
            gap: 10px;
        }

        .bet-button {
            padding: 15px;
        }

        .eu-stake {
            min-width: 58px;
            height: 40px;
            padding: 0 10px;
            font-size: 0.88rem;
        }

        .eu-stake-input {
            height: 40px;
            font-size: 0.92rem;
        }

        .eu-btn-go {
            padding: 14px 20px;
        }

        .slot-reel {
            width: 100px;
            height: 140px;
            font-size: 3.5rem;
        }

        .slot-bet,
        .eu-stake-row {
            gap: 8px;
        }

        .horse-field {
            grid-template-columns: 1fr;
        }

        .horse-tickets {
            grid-template-columns: 1fr;
        }

        .horse-results-grid {
            grid-template-columns: 1fr;
        }

        .horse-results-card {
            padding: 18px 14px 14px;
            border-radius: 26px;
        }

        .horse-results-title {
            font-size: 1.25rem;
        }

        .horse-results-payout {
            font-size: 1.45rem;
            margin-bottom: 12px;
        }

        .horse-cinema-ticket {
            top: max(8px, env(safe-area-inset-top));
            right: max(8px, env(safe-area-inset-right));
            padding: 6px 12px;
            font-size: 0.78rem;
        }

        .horse-cinema-ticket strong {
            font-size: 0.8rem;
        }

        .horse-cinema-ticket span {
            font-size: 0.68rem;
        }

        .back-btn {
            padding: 12px 30px;
            font-size: 1rem;
            width: 100%;
        }

        .reset-btn {
            display: block;
            margin: 10px auto 0;
        }
    }

    @media (max-width: 480px) {
        .slot-reel {
            width: 85px;
            height: 120px;
            font-size: 3rem;
        }

        .eu-stake {
            min-width: 52px;
            height: 38px;
            font-size: 0.82rem;
        }

        .horse-field {
            grid-template-columns: 1fr;
        }
    }
