.slot-game {
    max-width: 520px;
    margin: 0 auto;
    padding: 32px;
    background: linear-gradient(160deg, #1a2220 0%, #0f1815 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.slot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.slot-balance {
    font-size: 14px;
    color: var(--color-text-muted);
}

.slot-balance strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--color-accent);
}

.slot-reels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 24px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: var(--radius-md);
    border: 2px solid rgba(34, 197, 94, 0.25);
    box-shadow: inset 0 0 30px rgba(34, 197, 94, 0.08);
}

.slot-reel {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border-radius: var(--radius-sm);
    font-size: 36px;
    border: 1px solid var(--color-border);
    transition: transform 0.1s ease;
}

.slot-reel.spinning {
    animation: slotSpin 0.12s linear infinite;
    color: var(--color-primary);
    text-shadow: 0 0 12px rgba(34, 197, 94, 0.6);
}

@keyframes slotSpin {
    0%, 100% { transform: translateY(-2px); }
    50% { transform: translateY(2px); }
}

.slot-reel.win {
    animation: slotWin 0.6s ease infinite alternate;
    border-color: var(--color-accent);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

@keyframes slotWin {
    from { box-shadow: 0 0 10px rgba(251, 191, 36, 0.3); }
    to { box-shadow: 0 0 24px rgba(251, 191, 36, 0.7); }
}

.slot-controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.slot-bet-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.slot-bet-row label {
    font-size: 14px;
    color: var(--color-text-muted);
}

.slot-bet-row select {
    padding: 8px 14px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 14px;
}

.btn-slot-spin {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 48px;
    font-size: 16px;
    font-weight: 800;
    color: var(--color-bg);
    background: linear-gradient(135deg, var(--color-primary), #4ade80);
    border: none;
    border-radius: var(--radius-pill);
    cursor: pointer;
    box-shadow: 0 0 24px rgba(34, 197, 94, 0.4);
    transition: transform var(--transition), box-shadow var(--transition);
}

.btn-slot-spin:hover:not(:disabled) {
    transform: scale(1.03);
    box-shadow: 0 0 32px rgba(34, 197, 94, 0.55);
}

.btn-slot-spin:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.slot-message {
    min-height: 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    text-align: center;
}

.blackjack-game {
    max-width: 720px;
    margin: 0 auto;
    padding: 32px;
    background: linear-gradient(160deg, #1a2220 0%, #0d1512 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.12);
}

.bj-table {
    background: radial-gradient(ellipse at center, #1a4d3a 0%, #0f2e24 100%);
    border: 3px solid #8b6914;
    border-radius: 200px / 80px;
    padding: 32px 24px;
    margin-bottom: 24px;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.4);
}

.bj-hand {
    margin-bottom: 20px;
}

.bj-hand:last-child {
    margin-bottom: 0;
}

.bj-hand-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

.bj-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 80px;
    align-items: center;
}

.bj-card {
    width: 56px;
    height: 80px;
    background: #fff;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: cardDeal 0.3s ease;
}

.bj-card.red {
    color: #dc2626;
}

.bj-card.black {
    color: #1a1a1a;
}

.bj-card.hidden-card {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: transparent;
}

@keyframes cardDeal {
    from { transform: translateY(-20px) scale(0.8); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.bj-score {
    font-size: 14px;
    color: var(--color-accent);
    font-weight: 700;
    margin-top: 8px;
}

.bj-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.bj-btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: transform var(--transition);
}

.bj-btn:hover:not(:disabled) {
    transform: translateY(-2px);
}

.bj-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.bj-btn-hit {
    background: var(--color-primary);
    color: var(--color-bg);
}

.bj-btn-stand {
    background: var(--color-accent);
    color: var(--color-bg);
}

.bj-btn-deal {
    background: linear-gradient(135deg, var(--color-primary), #4ade80);
    color: var(--color-bg);
    padding: 14px 36px;
    font-size: 15px;
}

.bj-status {
    text-align: center;
    min-height: 28px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.roulette-game {
    max-width: 560px;
    margin: 0 auto;
    padding: 32px;
    background: linear-gradient(160deg, #1a2220 0%, #0f1815 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 0 40px rgba(251, 191, 36, 0.12);
}

.roulette-wheel-wrap {
    position: relative;
    width: 260px;
    height: 260px;
    margin: 0 auto 28px;
}

.roulette-wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        #dc2626 0deg 10deg, #1a1a1a 10deg 20deg,
        #dc2626 20deg 30deg, #1a1a1a 30deg 40deg,
        #dc2626 40deg 50deg, #1a1a1a 50deg 60deg,
        #dc2626 60deg 70deg, #1a1a1a 70deg 80deg,
        #dc2626 80deg 90deg, #1a1a1a 90deg 100deg,
        #dc2626 100deg 110deg, #1a1a1a 110deg 120deg,
        #dc2626 120deg 130deg, #1a1a1a 130deg 140deg,
        #dc2626 140deg 150deg, #1a1a1a 150deg 160deg,
        #dc2626 160deg 170deg, #1a1a1a 170deg 180deg,
        #dc2626 180deg 190deg, #1a1a1a 190deg 200deg,
        #dc2626 200deg 210deg, #1a1a1a 210deg 220deg,
        #dc2626 220deg 230deg, #1a1a1a 230deg 240deg,
        #dc2626 240deg 250deg, #1a1a1a 250deg 260deg,
        #dc2626 260deg 270deg, #1a1a1a 270deg 280deg,
        #dc2626 280deg 290deg, #1a1a1a 290deg 300deg,
        #dc2626 300deg 310deg, #1a1a1a 310deg 320deg,
        #dc2626 320deg 330deg, #1a1a1a 330deg 340deg,
        #22c55e 340deg 360deg
    );
    border: 6px solid #fbbf24;
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.4), inset 0 0 20px rgba(0, 0, 0, 0.5);
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

.roulette-pointer {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 18px solid #fbbf24;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    z-index: 2;
}

.roulette-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: radial-gradient(circle, #fcd34d, #fbbf24);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 16px rgba(251, 191, 36, 0.6);
}

.roulette-bets {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.roulette-bet-btn {
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 700;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-surface);
    color: var(--color-text);
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
}

.roulette-bet-btn.selected {
    border-color: var(--color-primary);
    background: rgba(34, 197, 94, 0.15);
}

.roulette-bet-btn.bet-red.selected {
    border-color: #dc2626;
    background: rgba(220, 38, 38, 0.15);
}

.roulette-bet-btn.bet-black.selected {
    border-color: #64748b;
    background: rgba(100, 116, 139, 0.15);
}

.roulette-bet-btn.bet-green.selected {
    border-color: var(--color-primary);
    background: rgba(34, 197, 94, 0.15);
}

.btn-roulette-spin {
    display: block;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 800;
    color: var(--color-bg);
    background: linear-gradient(135deg, #fbbf24, #fcd34d);
    border: none;
    border-radius: var(--radius-pill);
    cursor: pointer;
    box-shadow: 0 0 24px rgba(251, 191, 36, 0.4);
}

.btn-roulette-spin:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.roulette-result {
    text-align: center;
    min-height: 28px;
    margin-top: 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-accent);
}

@media (max-width: 575.98px) {
    .slot-game,
    .blackjack-game,
    .roulette-game {
        padding: 20px 16px;
    }

    .slot-reel {
        font-size: 28px;
    }

    .roulette-wheel-wrap {
        width: 220px;
        height: 220px;
    }

    .cookie-consent-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent-actions {
        flex-direction: column;
    }

    .cookie-consent-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
