/* ============================================================
   Bet With Net - Universal Games Styling & Interactive Elements
   ============================================================ */

/* Hide WhatsApp Floating Widget only inside dedicated game pages */
body.game-page #whatsapp-floating-root,
body.in-game #whatsapp-floating-root {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Universal Bet Control Panel */
.game-control-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.bet-amount-row {
    display: flex;
    gap: 8px;
    align-items: center;
}
.bet-input-wrap {
    flex: 1;
    position: relative;
}
.bet-currency-prefix {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-gold);
    font-weight: 700;
    font-size: 13px;
    pointer-events: none;
}
.bet-input {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 12px 10px 32px;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    font-family: var(--font-mono);
    outline: none;
}
.bet-input:focus {
    border-color: var(--primary-gold);
}

.bet-quick-btn-group {
    display: flex;
    gap: 4px;
}
.btn-bet-modifier {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.1s;
}
.btn-bet-modifier:hover {
    background: #2b364a;
}

.btn-action-primary {
    background: linear-gradient(135deg, #00e700, #00b300);
    color: #0b1a0b;
    border: none;
    font-size: 16px;
    font-weight: 900;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: 0 4px 20px var(--accent-emerald-glow);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.1s, filter 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}
.btn-action-primary:hover:not(:disabled) {
    filter: brightness(1.1);
    transform: translateY(-1px);
}
.btn-action-primary:active:not(:disabled) {
    transform: translateY(1px);
}
.btn-action-primary:disabled {
    background: #242c38;
    color: #5a6679;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-cashout {
    background: linear-gradient(135deg, #f5a623, #ff8c00) !important;
    color: #120c02 !important;
    box-shadow: 0 4px 20px rgba(245, 166, 35, 0.4) !important;
}

/* Common Game Arena Canvas Stage */
.game-stage-wrapper {
    background: #0d1117;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.7);
}

/* Premium Full-Viewport Game Page Backgrounds */
body.game-page {
    background-color: #080c14;
    background-image: 
        linear-gradient(180deg, rgba(8, 12, 20, 0.76) 0%, rgba(10, 16, 26, 0.84) 50%, rgba(6, 9, 15, 0.90) 100%),
        url('../assets/backgrounds/casino_main_bg.jpg') !important;
    background-attachment: fixed !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

body.bg-crash, .game-backdrop-crash {
    background: linear-gradient(180deg, rgba(10, 14, 23, 0.76), rgba(8, 11, 18, 0.88)), url('../assets/backgrounds/crash_bg.png') center/cover fixed no-repeat !important;
}
body.bg-card, .game-backdrop-card {
    background: linear-gradient(180deg, rgba(8, 28, 15, 0.76), rgba(5, 18, 10, 0.88)), url('../assets/backgrounds/card_bg.png') center/cover fixed no-repeat !important;
}
body.bg-roulette, .game-backdrop-roulette {
    background: linear-gradient(180deg, rgba(6, 25, 12, 0.76), rgba(4, 15, 8, 0.88)), url('../assets/backgrounds/roulette_bg.png') center/cover fixed no-repeat !important;
}
body.bg-slots, .game-backdrop-slots {
    background: linear-gradient(180deg, rgba(13, 10, 20, 0.76), rgba(8, 6, 14, 0.88)), url('../assets/backgrounds/slots_bg.png') center/cover fixed no-repeat !important;
}
body.bg-dice, .game-backdrop-dice {
    background: linear-gradient(180deg, rgba(12, 16, 26, 0.76), rgba(8, 10, 18, 0.88)), url('../assets/backgrounds/dice_bg.png') center/cover fixed no-repeat !important;
}
body.bg-wheel, .game-backdrop-wheel {
    background: linear-gradient(180deg, rgba(15, 12, 28, 0.76), rgba(9, 7, 18, 0.88)), url('../assets/backgrounds/wheel_bg.png') center/cover fixed no-repeat !important;
}
body.bg-plinko, .game-backdrop-plinko {
    background: linear-gradient(180deg, rgba(9, 13, 20, 0.76), rgba(5, 8, 14, 0.88)), url('../assets/backgrounds/plinko_bg.png') center/cover fixed no-repeat !important;
}
body.bg-limbo, .game-backdrop-limbo {
    background: linear-gradient(180deg, rgba(12, 10, 24, 0.76), rgba(7, 6, 16, 0.88)), url('../assets/backgrounds/limbo_bg.png') center/cover fixed no-repeat !important;
}
body.bg-keno, .game-backdrop-keno {
    background: linear-gradient(180deg, rgba(16, 9, 28, 0.76), rgba(9, 5, 17, 0.88)), url('../assets/backgrounds/keno_bg.png') center/cover fixed no-repeat !important;
}
body.bg-bingo, .game-backdrop-bingo {
    background: linear-gradient(180deg, rgba(8, 14, 30, 0.76), rgba(5, 8, 18, 0.88)), url('../assets/backgrounds/bingo_bg.png') center/cover fixed no-repeat !important;
}
body.bg-blackjack, .game-backdrop-blackjack {
    background: linear-gradient(180deg, rgba(6, 24, 14, 0.76), rgba(4, 14, 8, 0.88)), url('../assets/backgrounds/blackjack_bg.png') center/cover fixed no-repeat !important;
}
body.bg-poker, .game-backdrop-poker {
    background: linear-gradient(180deg, rgba(28, 6, 10, 0.76), rgba(15, 3, 6, 0.88)), url('../assets/backgrounds/poker_bg.png') center/cover fixed no-repeat !important;
}
body.bg-lucky, .game-backdrop-lucky {
    background: linear-gradient(180deg, rgba(14, 20, 10, 0.76), rgba(8, 12, 6, 0.88)), url('../assets/backgrounds/lucky_bg.png') center/cover fixed no-repeat !important;
}
body.bg-scratch, .game-backdrop-scratch {
    background: linear-gradient(180deg, rgba(14, 24, 16, 0.76), rgba(7, 14, 9, 0.88)), url('../assets/backgrounds/scratch_bg.png') center/cover fixed no-repeat !important;
}
body.bg-coinflip, .game-backdrop-coinflip {
    background: linear-gradient(180deg, rgba(8, 16, 22, 0.76), rgba(4, 9, 14, 0.88)), url('../assets/backgrounds/coinflip_bg.png') center/cover fixed no-repeat !important;
}
body.bg-hilo, .game-backdrop-hilo {
    background: linear-gradient(180deg, rgba(8, 20, 24, 0.76), rgba(4, 11, 14, 0.88)), url('../assets/backgrounds/hilo_bg.png') center/cover fixed no-repeat !important;
}
body.bg-dragontiger, .game-backdrop-dragontiger {
    background: linear-gradient(180deg, rgba(12, 8, 18, 0.82), rgba(6, 4, 10, 0.92)), url('../assets/backgrounds/dragontiger_bg.jpg') center/cover fixed no-repeat !important;
}




/* History Pills */
.game-history-bar {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 8px 12px;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid var(--border-color);
    scrollbar-width: none;
}
.history-pill {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-mono);
    white-space: nowrap;
}
.pill-low { background: rgba(142, 155, 176, 0.2); color: #8e9bb0; }
.pill-med { background: rgba(0, 231, 0, 0.2); color: #00e700; }
.pill-high { background: rgba(245, 166, 35, 0.25); color: #f5a623; }
.pill-ultra { background: rgba(175, 82, 222, 0.25); color: #c46aff; }

/* 1. CRASH GAME */
.crash-canvas-container {
    width: 100%;
    height: 320px;
    position: relative;
}
.crash-canvas {
    width: 100%;
    height: 100%;
    display: block;
}
.crash-multiplier-center {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 54px;
    font-weight: 900;
    color: #ffffff;
    font-family: var(--font-mono);
    text-shadow: 0 0 25px rgba(0, 231, 0, 0.6);
    pointer-events: none;
}
.crash-multiplier-center.crashed {
    color: var(--accent-red);
    text-shadow: 0 0 25px rgba(255, 59, 48, 0.6);
}
.crash-status-sub {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-align: center;
    margin-top: -6px;
}

/* 2. ROULETTE */
.roulette-arena {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 16px;
}
.roulette-wheel-canvas {
    width: 260px;
    height: 260px;
}
.roulette-felt-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(3, 38px);
    gap: 3px;
    background: #0d4219;
    padding: 8px;
    border-radius: var(--radius-md);
    border: 3px solid #b8860b;
    width: 100%;
    max-width: 580px;
}
.roulette-felt-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    color: white;
    user-select: none;
    position: relative;
    transition: transform 0.1s;
}
.roulette-felt-cell:hover {
    transform: scale(1.05);
    z-index: 2;
}
.roulette-felt-cell.red { background: #c0292b; }
.roulette-felt-cell.black { background: #222222; }
.roulette-felt-cell.green { background: #1b8a36; }

.roulette-outside-bets {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
    width: 100%;
    max-width: 580px;
    margin-top: 6px;
}
.outside-cell {
    background: #125723;
    color: white;
    font-weight: 700;
    font-size: 11px;
    padding: 10px 4px;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.outside-cell:hover {
    background: #1c7c34;
}

/* Chip Selector */
.chip-selector {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 10px;
}
.casino-chip {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    border: 3px dashed #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 11px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transition: transform 0.15s;
    user-select: none;
}
.casino-chip:hover, .casino-chip.active {
    transform: scale(1.15) translateY(-4px);
}
.chip-10 { background: #2980b9; color: white; }
.chip-50 { background: #e74c3c; color: white; }
.chip-100 { background: #27ae60; color: white; }
.chip-500 { background: #8e44ad; color: white; }
.chip-1000 { background: #d35400; color: white; }

/* 3. SLOTS MACHINE */
.slots-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 20px;
}
.slots-cabinet {
    background: linear-gradient(180deg, #2b3345, #141923);
    border: 4px solid #f5a623;
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(245, 166, 35, 0.3);
    width: 100%;
    max-width: 520px;
}
.slots-reels-window {
    display: flex;
    gap: 8px;
    background: #080b10;
    padding: 12px;
    border-radius: var(--radius-md);
    border: 2px solid #3d4a63;
    overflow: hidden;
    height: 180px;
    position: relative;
}
.slot-reel {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #171d29;
    border-radius: var(--radius-sm);
    font-size: 46px;
    overflow: hidden;
    position: relative;
    user-select: none;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.8);
}
.slot-reel-item {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s;
}

/* 4. PLINKO */
.plinko-arena {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}
.plinko-canvas {
    width: 100%;
    max-width: 440px;
    height: 380px;
    background: #0b0e14;
    border-radius: var(--radius-md);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

/* 5. MINES */
.mines-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 380px;
    padding: 16px;
}
.mine-tile {
    aspect-ratio: 1;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
.mine-tile:hover:not(.revealed) {
    background: #2b3648;
    transform: translateY(-2px);
    border-color: var(--primary-gold);
}
.mine-tile.revealed-gem {
    background: rgba(0, 231, 0, 0.15);
    border-color: var(--accent-emerald);
}
.mine-tile.revealed-mine {
    background: rgba(255, 59, 48, 0.25);
    border-color: var(--accent-red);
}

/* 6. CARD GAMES (Blackjack, Baccarat, Teen Patti, Hi-Lo, Poker) */
.cards-felt-table {
    width: 100%;
    min-height: 280px;
    background: radial-gradient(circle, #0e4c23 0%, #082d15 100%);
    border: 4px solid #926f25;
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}
.hand-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.hand-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #e2d29b;
}
.cards-row {
    display: flex;
    gap: 8px;
    min-height: 90px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.playing-card {
    width: 58px;
    height: 84px;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px 6px;
    font-weight: 800;
    font-size: 14px;
    position: relative;
    user-select: none;
    animation: dealCard 0.25s ease-out;
}
.playing-card.red { color: #d63031; }
.playing-card.black { color: #2d3436; }
.playing-card.back {
    background: repeating-linear-gradient(45deg, #1e3799, #1e3799 5px, #0c2461 5px, #0c2461 10px);
    border: 2px solid white;
}
@keyframes dealCard {
    0% { transform: translateY(-30px) scale(0.8); opacity: 0; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* 7. DICE OVER/UNDER */
.dice-slider-box {
    width: 100%;
    max-width: 480px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.dice-number-display {
    font-size: 64px;
    font-weight: 900;
    font-family: var(--font-mono);
    color: #ffffff;
    text-shadow: 0 0 20px rgba(245, 166, 35, 0.5);
}
.dice-range-slider {
    width: 100%;
    -webkit-appearance: none;
    height: 10px;
    border-radius: 5px;
    background: linear-gradient(90deg, #ff3b30 0%, #00e700 100%);
    outline: none;
}
.dice-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    border: 3px solid var(--primary-gold);
}
.dice-stats-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 13px;
}

/* 8. COIN FLIP */
.coin-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px;
}
.coin-3d {
    width: 120px;
    height: 120px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.coin-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    border: 6px solid #d4af37;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}
.coin-heads {
    background: radial-gradient(circle, #f9d423 0%, #ff4e50 100%);
}
.coin-tails {
    background: radial-gradient(circle, #f6d365 0%, #fda085 100%);
    transform: rotateY(180deg);
}

/* 9. COLOR PREDICTION */
.color-pred-stage {
    width: 100%;
    max-width: 480px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.timer-countdown-box {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: 14px;
    text-align: center;
}
.timer-count {
    font-size: 38px;
    font-weight: 900;
    color: var(--primary-gold);
    font-family: var(--font-mono);
}
.color-choice-btns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.btn-color-pick {
    padding: 16px 8px;
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 14px;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: transform 0.1s;
}
.btn-color-pick:hover { transform: scale(1.03); }
.btn-color-green { background: linear-gradient(135deg, #00b09b, #96c93d); }
.btn-color-violet { background: linear-gradient(135deg, #8a2387, #e94057); }
.btn-color-red { background: linear-gradient(135deg, #eb3349, #f45c43); }

/* 10. TOWER CLIMB */
.tower-stage {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    max-width: 360px;
    padding: 16px;
}
.tower-row {
    display: flex;
    gap: 8px;
    align-items: center;
}
.tower-floor-label {
    width: 34px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
}
.tower-block {
    flex: 1;
    height: 40px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.15s;
}
.tower-block.active-floor {
    border-color: var(--primary-gold);
    background: #252e3e;
}
.tower-block.active-floor:hover {
    background: #344158;
}
.tower-block.safe {
    background: rgba(0, 231, 0, 0.2);
    border-color: var(--accent-emerald);
}
.tower-block.trap {
    background: rgba(255, 59, 48, 0.25);
    border-color: var(--accent-red);
}

/* 11. SCRATCH CARD */
.scratch-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px;
}
.scratch-canvas-wrap {
    position: relative;
    width: 320px;
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid var(--primary-gold);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}
.scratch-underlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a2230;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 6px;
    padding: 10px;
}
.scratch-cell {
    background: #222b3d;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: white;
}
.scratch-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: crosshair;
}

/* 12. KENO 80-BALL CASINO LOTTERY */
.keno-stage-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
}

.keno-drawn-rack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    width: 100%;
    max-width: 480px;
    padding: 8px 12px;
    background: rgba(10, 6, 20, 0.75);
    border: 1px solid rgba(245, 166, 35, 0.3);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.keno-drawn-ball {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ffd700, #b8860b, #4d3300);
    color: #000;
    font-size: 11px;
    font-weight: 900;
    font-family: var(--font-mono);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(245, 166, 35, 0.8), inset -2px -2px 4px rgba(0,0,0,0.5);
    animation: kenoBallDrop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.keno-drawn-ball.is-hit {
    background: radial-gradient(circle at 35% 35%, #55ff55, #00c853, #004d1a);
    color: #fff;
    box-shadow: 0 0 14px #00e700;
    border: 1px solid #ffffff;
}

@keyframes kenoBallDrop {
    0% { transform: scale(0.1) translateY(-20px); opacity: 0; }
    70% { transform: scale(1.25) translateY(2px); opacity: 1; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

.keno-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 5px;
    width: 100%;
    max-width: 480px;
    padding: 10px;
    background: rgba(14, 10, 24, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
}

.keno-tile {
    aspect-ratio: 1;
    background: rgba(22, 16, 36, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    font-family: var(--font-mono);
    color: #ccd6e8;
    cursor: pointer;
    user-select: none;
    transition: all 0.15s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.keno-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 166, 35, 0.5);
    color: #ffffff;
}

.keno-tile.selected {
    background: linear-gradient(135deg, #ffd700, #f5a623);
    color: #110d02 !important;
    border-color: #ffffff;
    box-shadow: 0 0 14px rgba(245, 166, 35, 0.85);
    transform: scale(1.04);
}

.keno-tile.drawn {
    border-color: #00e5ff;
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
}

.keno-tile.hit {
    background: linear-gradient(135deg, #00e700, #00b300) !important;
    color: #000000 !important;
    border-color: #ffffff !important;
    box-shadow: 0 0 20px #00e700 !important;
    animation: kenoHitPulse 0.6s infinite alternate ease-in-out;
    transform: scale(1.12);
    z-index: 2;
}

@keyframes kenoHitPulse {
    0% { transform: scale(1.08); box-shadow: 0 0 15px #00e700; }
    100% { transform: scale(1.16); box-shadow: 0 0 28px #00e700; }
}

.keno-paytable-strip {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    width: 100%;
    max-width: 480px;
    padding: 8px 4px;
    margin-top: 8px;
    scrollbar-width: none;
}

.keno-pay-pill {
    flex: 0 0 auto;
    background: rgba(20, 14, 32, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 4px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.keno-pay-pill b {
    font-size: 12px;
    color: #ffffff;
    font-family: var(--font-mono);
}

.keno-pay-pill.active {
    background: rgba(0, 231, 0, 0.2);
    border-color: #00e700;
    color: #00e700;
    box-shadow: 0 0 10px rgba(0, 231, 0, 0.4);
    transform: scale(1.05);
}

/* 13. BINGO 75-BALL CASINO STUDIO */
.bingo-stage-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 4px;
}

.bingo-caller-display {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 360px;
    background: rgba(8, 14, 30, 0.85);
    border: 1px solid rgba(245, 166, 35, 0.35);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    margin-bottom: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), inset 0 0 12px rgba(245, 166, 35, 0.15);
    backdrop-filter: blur(10px);
}

.bingo-ball-orb {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ffd700, #f5a623 60%, #b8860b 90%);
    color: #120901;
    font-size: 18px;
    font-weight: 900;
    font-family: var(--font-mono);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 18px rgba(245, 166, 35, 0.9), inset -3px -3px 6px rgba(0,0,0,0.5);
    border: 2px solid #ffffff;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.bingo-ball-orb.calling {
    animation: bingoOrbPulse 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes bingoOrbPulse {
    0% { transform: scale(0.6) rotate(-20deg); }
    70% { transform: scale(1.25) rotate(10deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.bingo-card-container {
    width: 100%;
    max-width: 360px;
    background: rgba(10, 16, 32, 0.9);
    border: 2px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.8), inset 0 0 20px rgba(245, 166, 35, 0.1);
    backdrop-filter: blur(12px);
}

.bingo-header-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    margin-bottom: 6px;
    text-align: center;
}

.bingo-header-col {
    background: linear-gradient(180deg, #f5a623, #d48810);
    color: #0b0701;
    font-size: 18px;
    font-weight: 900;
    border-radius: 6px;
    padding: 4px 0;
    text-shadow: 0 1px 1px rgba(255,255,255,0.4);
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.bingo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}

.bingo-cell {
    aspect-ratio: 1;
    background: rgba(22, 32, 56, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    font-family: var(--font-mono);
    color: #e2eaf8;
    position: relative;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: inset 0 1px 2px rgba(255,255,255,0.1), 0 2px 4px rgba(0,0,0,0.4);
}

.bingo-cell:hover {
    border-color: #f5a623;
}

.bingo-cell.marked {
    background: linear-gradient(135deg, rgba(0, 231, 0, 0.3), rgba(0, 180, 0, 0.4)) !important;
    border-color: #00e700 !important;
    color: #ffffff !important;
    transform: scale(0.96);
}

.bingo-cell.marked::after {
    content: '⭐';
    position: absolute;
    font-size: 22px;
    filter: drop-shadow(0 0 6px #00e700);
    opacity: 0.9;
}

.bingo-cell.free {
    background: linear-gradient(135deg, #ffd700, #f5a623) !important;
    color: #0d0701 !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    border-color: #ffffff !important;
    box-shadow: 0 0 12px rgba(245, 166, 35, 0.8);
}

.bingo-cell.winning-line {
    animation: bingoWinLinePulse 0.5s infinite alternate ease-in-out;
    border-color: #ffd700 !important;
    box-shadow: 0 0 16px #ffd700 !important;
}

@keyframes bingoWinLinePulse {
    0% { transform: scale(0.96); box-shadow: 0 0 10px #ffd700; }
    100% { transform: scale(1.04); box-shadow: 0 0 22px #ffd700; }
}

.bingo-calls-track {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    width: 100%;
    max-width: 360px;
    padding: 6px 0;
    margin-top: 8px;
    scrollbar-width: none;
}

.bingo-mini-ball {
    flex: 0 0 24px;
    height: 24px;
    border-radius: 50%;
    background: #1a253c;
    border: 1px solid rgba(255,255,255,0.15);
    color: #ccd6e8;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
}

.bingo-mini-ball.matched {
    background: #00e700;
    color: #000;
    border-color: #fff;
    box-shadow: 0 0 8px #00e700;
}

/* ============================================================
   Bet With Net - Premium In-Game Account Balance HUD Strip
   Universal sleek status & live liquidity balance indicator
   ============================================================ */
.premium-game-balance-hud {
    background: linear-gradient(135deg, rgba(16, 24, 38, 0.96) 0%, rgba(10, 14, 23, 0.98) 100%);
    border: 1px solid rgba(245, 166, 35, 0.28);
    border-radius: 12px;
    padding: 9px 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 16px rgba(0, 231, 0, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.premium-game-balance-hud::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3.5px;
    height: 100%;
    background: linear-gradient(180deg, #f5a623, #00e700);
}

.pg-hud-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pg-hud-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 231, 0, 0.12);
    border: 1px solid rgba(0, 231, 0, 0.25);
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: #00e700;
    text-transform: uppercase;
}

.pg-hud-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00e700;
    box-shadow: 0 0 8px #00e700;
    animation: pgPulse 1.8s infinite ease-in-out;
}

@keyframes pgPulse {
    0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 6px #00e700; }
    50% { transform: scale(1.25); opacity: 0.75; box-shadow: 0 0 12px #00e700; }
}

.pg-hud-balance-info {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.pg-hud-balance-label {
    font-size: 10.5px;
    font-weight: 700;
    color: #8e9bb0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pg-hud-balance-val {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 17px;
    font-weight: 800;
    color: #00e700;
    letter-spacing: 0.2px;
    text-shadow: 0 0 14px rgba(0, 231, 0, 0.35);
}

.pg-hud-dual-val {
    font-size: 11px;
    color: #8e9bb0;
    font-weight: 600;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
}

.pg-hud-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pg-hud-curr-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f5a623;
    font-weight: 700;
    font-size: 11px;
    padding: 5px 9px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pg-hud-curr-btn:hover {
    background: rgba(245, 166, 35, 0.15);
    border-color: #f5a623;
}

.pg-hud-deposit-btn {
    background: linear-gradient(135deg, #00e700, #00b300);
    color: #000000 !important;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.4px;
    padding: 6px 13px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 10px rgba(0, 231, 0, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pg-hud-deposit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 231, 0, 0.45);
}

@media (max-width: 600px) {
    .premium-game-balance-hud {
        padding: 8px 12px;
        gap: 8px;
    }
    .pg-hud-balance-val {
        font-size: 15px;
    }
    .pg-hud-dual-val {
        display: none;
    }
    .pg-hud-badge {
        font-size: 9px;
        padding: 2px 6px;
    }
    .pg-hud-deposit-btn {
        padding: 5px 10px;
        font-size: 10.5px;
    }
}
