* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gold: #ffd700;
    --primary-red: #ff3333;
    --neon-blue: #00ffff;
    --neon-pink: #ff00ff;
    --neon-purple: #9d00ff;
    --bg-dark: #0a0a1a;
    --bg-card: #151528;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--bg-dark);
    min-height: 100vh;
    color: #fff;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.bg-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-gold);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 10s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-100px) rotate(180deg); opacity: 0.6; }
}

.ambient-light {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

/* Screen Flash */
.screen-flash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.1s;
}

.screen-flash.active {
    animation: flash 0.3s ease-out;
}

@keyframes flash {
    0% { opacity: 0.8; }
    100% { opacity: 0; }
}

/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Level Bar */
.level-bar {
    background: linear-gradient(145deg, #1a1a3a, #0f0f20);
    border-radius: 15px;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: 2px solid #333;
}

.level-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.level-badge {
    background: linear-gradient(135deg, var(--primary-gold), #ffed4e);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
}

.xp-text {
    color: #888;
    font-weight: 600;
}

.xp-bar {
    height: 8px;
    background: #333;
    border-radius: 4px;
    overflow: hidden;
}

.xp-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink));
    border-radius: 4px;
    transition: width 0.5s ease-out;
    box-shadow: 0 0 10px var(--neon-blue);
}

/* Header */
header {
    text-align: center;
    margin-bottom: 25px;
    padding: 20px;
}

.logo-container {
    position: relative;
    display: inline-block;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, transparent 70%);
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.main-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    position: relative;
    z-index: 1;
}

.title-letter {
    display: inline-block;
    background: linear-gradient(180deg, #fff 0%, var(--primary-gold) 50%, #ff6600 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: letterGlow 1.5s ease-in-out infinite alternate;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.title-letter:nth-child(1) { animation-delay: 0s; }
.title-letter:nth-child(2) { animation-delay: 0.1s; }
.title-letter:nth-child(3) { animation-delay: 0.2s; }
.title-letter:nth-child(4) { animation-delay: 0.3s; }
.title-letter:nth-child(6) { animation-delay: 0.4s; }
.title-letter:nth-child(7) { animation-delay: 0.5s; }
.title-letter:nth-child(8) { animation-delay: 0.6s; }
.title-letter:nth-child(9) { animation-delay: 0.7s; }
.title-letter:nth-child(10) { animation-delay: 0.8s; }

@keyframes letterGlow {
    from { filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5)); }
    to { filter: drop-shadow(0 0 30px rgba(255, 215, 0, 1)); }
}

.title-spacer { width: 20px; display: inline-block; }

.subtitle-container {
    margin-top: 15px;
}

.subtitle {
    font-size: 1.3rem;
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
    letter-spacing: 3px;
    animation: subtitlePulse 2s ease-in-out infinite;
}

@keyframes subtitlePulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; text-shadow: 0 0 20px var(--neon-blue); }
}

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.stat-item {
    background: linear-gradient(145deg, #1a1a3a, #0f0f20);
    border: 2px solid #333;
    border-radius: 12px;
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
    transition: all 0.3s;
}

.stat-item:hover {
    border-color: var(--primary-gold);
    transform: translateY(-3px);
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
}

/* Daily Bonus */
.daily-bonus {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
    border-radius: 15px;
    padding: 3px;
    margin-bottom: 25px;
    animation: bonusPulse 2s ease-in-out infinite;
    display: none;
}

.daily-bonus.show {
    display: block;
    animation: bonusAppear 0.5s ease-out;
}

@keyframes bonusAppear {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes bonusPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(157, 0, 255, 0.5); }
    50% { box-shadow: 0 0 40px rgba(255, 0, 255, 0.8); }
}

.bonus-content {
    background: #1a1a3a;
    border-radius: 12px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.bonus-icon {
    font-size: 2rem;
    animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.bonus-text {
    font-size: 1.2rem;
    font-weight: 600;
}

.bonus-amount {
    color: var(--primary-gold);
}

.claim-btn {
    background: linear-gradient(135deg, var(--primary-gold), #ffed4e);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    cursor: pointer;
    transition: all 0.3s;
    animation: claimPulse 1s ease-in-out infinite;
}

@keyframes claimPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.claim-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
}

/* Game Area */
.game-area {
    background: linear-gradient(145deg, var(--bg-card), #0a0a15);
    border-radius: 25px;
    padding: 30px;
    border: 2px solid #333;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Coin Display */
.coin-display {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.coin-box {
    background: linear-gradient(145deg, #1a1a3a, #0f0f20);
    border: 3px solid var(--primary-gold);
    border-radius: 20px;
    padding: 20px 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.coin-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.coin-icon {
    font-size: 2.5rem;
    animation: coinSpin 3s ease-in-out infinite;
}

@keyframes coinSpin {
    0%, 100% { transform: rotateY(0deg); }
    50% { transform: rotateY(360deg); }
}

.coin-amount {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-gold);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.coin-label {
    font-size: 1rem;
    color: #888;
    font-weight: 600;
}

/* Combo Display */
.combo-display {
    text-align: center;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s;
}

.combo-display.active {
    opacity: 1;
    transform: translateY(0);
}

.combo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-pink);
    text-shadow: 0 0 10px var(--neon-pink);
    margin-bottom: 8px;
}

.combo-bar {
    width: 200px;
    height: 6px;
    background: #333;
    border-radius: 3px;
    margin: 0 auto;
    overflow: hidden;
}

.combo-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--neon-pink), var(--primary-gold));
    border-radius: 3px;
    transition: width 0.5s;
}

/* Slot Machine */
.slot-machine {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.machine-frame {
    background: linear-gradient(145deg, #2a2a5a, #1a1a3a);
    border-radius: 20px;
    padding: 25px;
    position: relative;
    border: 4px solid #444;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5),
                inset 0 2px 10px rgba(255, 255, 255, 0.1);
}

.frame-light {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #333;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
}

.frame-light.top-left { top: 10px; left: 10px; }
.frame-light.top-right { top: 10px; right: 10px; }
.frame-light.bottom-left { bottom: 10px; left: 10px; }
.frame-light.bottom-right { bottom: 10px; right: 10px; }

.frame-light.active {
    background: var(--primary-gold);
    box-shadow: 0 0 20px var(--primary-gold);
    animation: frameLightPulse 0.5s ease-in-out infinite alternate;
}

@keyframes frameLightPulse {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

.reels-container {
    display: flex;
    gap: 12px;
}

.reel {
    width: 110px;
    height: 140px;
    background: linear-gradient(180deg,
        #0a0a0a 0%,
        #1a1a1a 5%,
        #333 10%,
        #fff 10%,
        #f8f8f8 50%,
        #fff 90%,
        #333 90%,
        #1a1a1a 95%,
        #0a0a0a 100%
    );
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 4px solid #444;
    box-shadow: inset 0 5px 20px rgba(0, 0, 0, 0.3),
                0 8px 20px rgba(0, 0, 0, 0.4),
                inset 0 -5px 15px rgba(0, 0, 0, 0.2);
    perspective: 500px;
}

.reel-inner {
    position: absolute;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    will-change: transform;
    top: 0;
    left: 0;
}

/* Realistic reel spin animation - continuous spinning */
@keyframes reelSpin {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-140px);
    }
}

/* Symbol bounce in animation */
@keyframes symbolBounceIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.symbol {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    flex-shrink: 0;
    background: linear-gradient(180deg,
        #fff 0%,
        #fafafa 30%,
        #f0f0f0 50%,
        #fafafa 70%,
        #fff 100%
    );
    border-bottom: 1px solid #ddd;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15),
                 0 0 10px rgba(255, 255, 255, 0.5);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                filter 0.2s ease;
}

.reel.spinning {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.reel::before,
.reel::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 20px;
    z-index: 2;
    pointer-events: none;
}

.reel::before {
    top: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
}

.reel::after {
    bottom: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
}

/* Win Lines */
.win-lines {
    position: absolute;
    top: 50%;
    left: 25px;
    right: 25px;
    transform: translateY(-50%);
    pointer-events: none;
}

.win-line {
    position: absolute;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    width: 100%;
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: 0 0 20px var(--primary-gold);
}

.win-line.active {
    opacity: 1;
    animation: winLinePulse 0.5s ease-in-out infinite alternate;
}

@keyframes winLinePulse {
    from { opacity: 0.5; box-shadow: 0 0 10px var(--primary-gold); }
    to { opacity: 1; box-shadow: 0 0 30px var(--primary-gold); }
}

/* Lever */
.lever-container {
    position: relative;
    width: 60px;
    height: 180px;
}

.lever-base {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 50px;
    background: linear-gradient(145deg, #444, #222);
    border-radius: 10px;
    border: 3px solid #666;
}

.lever {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 100px;
    background: linear-gradient(90deg, #666, #888, #666);
    border-radius: 4px;
    transform-origin: bottom center;
    cursor: pointer;
    transition: transform 0.3s;
}

.lever.pulled {
    transform: translateX(-50%) rotateX(-45deg);
}

.lever-handle {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, var(--primary-red) 0%, #cc0000 100%);
    border-radius: 50%;
    border: 3px solid #ff6666;
    box-shadow: 0 0 20px rgba(255, 51, 51, 0.5);
}

/* Bet Section */
.bet-section {
    text-align: center;
    margin-bottom: 25px;
}

.bet-label {
    color: var(--neon-blue);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--neon-blue);
}

.bet-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.bet-btn {
    background: linear-gradient(145deg, #2a2a5a, #1a1a3a);
    border: 2px solid #444;
    border-radius: 15px;
    padding: 18px 25px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 90px;
    position: relative;
    overflow: hidden;
}

.bet-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    transition: all 0.3s;
}

.bet-btn:hover .bet-glow {
    width: 150%;
    height: 150%;
}

.bet-btn:hover {
    border-color: var(--primary-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.bet-btn.active {
    background: linear-gradient(145deg, var(--primary-gold), #ffed4e);
    border-color: var(--primary-gold);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.bet-btn.active .bet-amount,
.bet-btn.active .bet-currency {
    color: #000;
}

.bet-amount {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
}

.bet-currency {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
}

.bet-btn.high-roller {
    border-color: var(--neon-pink);
}

.bet-btn.high-roller:hover {
    border-color: var(--neon-pink);
    box-shadow: 0 10px 30px rgba(255, 0, 255, 0.3);
}

.bet-btn.max-bet {
    border-color: var(--primary-red);
    background: linear-gradient(145deg, rgba(255, 51, 51, 0.2), rgba(204, 0, 0, 0.2));
}

.bet-btn.max-bet:hover {
    box-shadow: 0 10px 30px rgba(255, 51, 51, 0.4);
}

/* Spin Button */
.spin-btn {
    width: 100%;
    max-width: 350px;
    margin: 0 auto 25px;
    display: block;
    background: transparent;
    border: none;
    border-radius: 20px;
    padding: 30px 60px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.spin-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, var(--primary-red), #cc0000);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(255, 51, 51, 0.4);
    transition: all 0.3s;
}

.spin-btn:hover:not(:disabled) .spin-bg {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(255, 51, 51, 0.6);
}

.spin-btn:disabled .spin-bg {
    background: linear-gradient(145deg, #444, #333);
    box-shadow: none;
}

.spin-text {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.spin-icon {
    font-size: 2.5rem;
    animation: spinIcon 2s ease-in-out infinite;
}

@keyframes spinIcon {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(360deg); }
}

.spin-word {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.spin-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.5s;
}

.spin-btn:active .spin-ripple {
    width: 200%;
    height: 200%;
}

.spin-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    border-radius: 20px;
}

/* Hot Streak */
.hot-streak {
    text-align: center;
    padding: 15px;
    background: linear-gradient(145deg, rgba(255, 68, 68, 0.2), rgba(255, 215, 0, 0.2));
    border: 2px solid var(--primary-gold);
    border-radius: 15px;
    margin-bottom: 20px;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.3s;
}

.hot-streak.active {
    opacity: 1;
    transform: scale(1);
    animation: hotStreakPulse 1s ease-in-out infinite;
}

@keyframes hotStreakPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 0 40px rgba(255, 215, 0, 0.6); }
}

.hot-streak-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-shadow: 0 0 10px var(--primary-gold);
}

.hot-streak-sub {
    font-size: 0.9rem;
    color: #888;
}

/* Result Display */
.result-display {
    text-align: center;
    padding: 25px;
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    border-radius: 15px;
    margin-bottom: 25px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.result-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    transition: all 0.5s;
}

.result-display.win .result-glow {
    width: 200%;
    height: 200%;
}

.result-text {
    position: relative;
    z-index: 1;
    font-size: 1.4rem;
    color: #888;
    transition: all 0.3s;
}

.result-text.win {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    animation: winTextPulse 0.5s ease-in-out infinite alternate;
}

@keyframes winTextPulse {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}

.result-text.jackpot {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-red);
    text-shadow: 0 0 30px rgba(255, 51, 51, 0.8);
    animation: jackpotTextPulse 0.3s ease-in-out infinite alternate;
}

@keyframes jackpotTextPulse {
    from { transform: scale(1); text-shadow: 0 0 20px rgba(255, 51, 51, 0.5); }
    to { transform: scale(1.1); text-shadow: 0 0 40px rgba(255, 51, 51, 1); }
}

/* Last Wins */
.last-wins {
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.last-wins-title {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-align: center;
}

.last-wins-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px;
}

.last-win-item {
    background: linear-gradient(145deg, #2a2a5a, #1a1a3a);
    border-radius: 8px;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: fit-content;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from { transform: translateX(20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.last-win-amount {
    color: var(--primary-gold);
    font-weight: 700;
}

.last-win-multiplier {
    font-size: 0.8rem;
    color: #888;
}

/* Paytable */
.paytable-container {
    margin-bottom: 25px;
}

.paytable-toggle {
    width: 100%;
    background: linear-gradient(145deg, #2a2a5a, #1a1a3a);
    border: 2px solid #444;
    border-radius: 10px;
    padding: 15px 20px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.paytable-toggle:hover {
    border-color: var(--primary-gold);
}

.toggle-icon {
    transition: transform 0.3s;
}

.paytable-toggle.open .toggle-icon {
    transform: rotate(180deg);
}

.paytable {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.paytable.open {
    max-height: 500px;
}

.paytable-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    padding-top: 15px;
}

.pay-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #333;
}

.pay-item.jackpot-item {
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.1), rgba(255, 68, 68, 0.1));
    border-color: var(--primary-gold);
}

.pay-item.mega {
    grid-column: span 2;
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.2), rgba(255, 0, 255, 0.2));
    border: 2px solid var(--primary-gold);
}

.pay-symbols {
    font-size: 1.1rem;
}

.pay-multiplier {
    color: var(--primary-gold);
    font-weight: 700;
}

.paytable-note {
    text-align: center;
    color: #666;
    font-size: 0.85rem;
    margin-top: 15px;
}

/* Controls */
.controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.control-btn {
    background: linear-gradient(145deg, #2a2a5a, #1a1a3a);
    border: 2px solid #444;
    border-radius: 10px;
    padding: 12px 25px;
    color: #fff;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.control-btn:hover {
    border-color: var(--neon-blue);
    transform: translateY(-2px);
}

.control-btn.reset:hover {
    border-color: var(--primary-red);
}

.control-btn.active {
    border-color: var(--neon-blue);
    background: linear-gradient(145deg, rgba(0, 255, 255, 0.2), rgba(0, 255, 255, 0.1));
}

/* Footer */
footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    color: #444;
    font-size: 0.9rem;
}

/* Big Win Overlay */
.big-win-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.big-win-overlay.show {
    display: flex;
    animation: fadeIn 0.3s;
}

.big-win-content {
    text-align: center;
    position: relative;
}

.big-win-stars {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
}

.big-win-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(180deg, #fff 0%, var(--primary-gold) 50%, #ff6600 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: bigWinTitlePulse 0.5s ease-in-out infinite alternate;
}

@keyframes bigWinTitlePulse {
    from { transform: scale(1); filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5)); }
    to { transform: scale(1.1); filter: drop-shadow(0 0 40px rgba(255, 215, 0, 1)); }
}

.big-win-amount {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin: 20px 0;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.big-win-coins {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

/* Jackpot Overlay */
.jackpot-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.jackpot-overlay.show {
    display: flex;
}

.jackpot-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.3) 0%, rgba(0, 0, 0, 0.95) 70%);
    animation: jackpotBgPulse 1s ease-in-out infinite;
}

@keyframes jackpotBgPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.jackpot-content {
    position: relative;
    z-index: 1;
    text-align: center;
    animation: jackpotContentPulse 0.5s ease-in-out infinite alternate;
}

@keyframes jackpotContentPulse {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}

.jackpot-crown {
    font-size: 6rem;
    animation: crownBounce 1s ease-in-out infinite;
}

@keyframes crownBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.jackpot-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    margin: 20px 0;
}

.jackpot-title span {
    display: inline-block;
    background: linear-gradient(180deg, #fff, var(--primary-gold), #ff6600);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: jackpotLetter 0.5s ease-in-out infinite alternate;
}

.jackpot-title span:nth-child(1) { animation-delay: 0s; }
.jackpot-title span:nth-child(2) { animation-delay: 0.05s; }
.jackpot-title span:nth-child(3) { animation-delay: 0.1s; }
.jackpot-title span:nth-child(4) { animation-delay: 0.15s; }
.jackpot-title span:nth-child(5) { animation-delay: 0.2s; }
.jackpot-title span:nth-child(6) { animation-delay: 0.25s; }
.jackpot-title span:nth-child(7) { animation-delay: 0.3s; }
.jackpot-title span:nth-child(8) { animation-delay: 0.35s; }
.jackpot-title span:nth-child(9) { animation-delay: 0.4s; }
.jackpot-title span:nth-child(10) { animation-delay: 0.45s; }

@keyframes jackpotLetter {
    from { transform: translateY(0); }
    to { transform: translateY(-10px); }
}

.jackpot-amount {
    font-size: 6rem;
    font-weight: 900;
    color: var(--primary-gold);
    text-shadow: 0 0 50px rgba(255, 215, 0, 0.8);
    margin: 30px 0;
}

.jackpot-subtitle {
    font-size: 1.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 40px;
}

.jackpot-continue {
    background: linear-gradient(145deg, var(--primary-gold), #ffed4e);
    border: none;
    padding: 20px 50px;
    border-radius: 15px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #000;
    cursor: pointer;
    transition: all 0.3s;
}

.jackpot-continue:hover {
    transform: scale(1.1);
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.8);
}

.jackpot-coins {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Floating Text */
.floating-text-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 500;
}

.floating-text {
    position: absolute;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    animation: floatUp 2s ease-out forwards;
    pointer-events: none;
}

@keyframes floatUp {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) scale(1.2);
    }
}

/* Reel blur and motion effect during spin */
.reel.spinning .reel-inner {
    filter: blur(0.5px);
}

.reel.spinning {
    box-shadow: inset 0 5px 20px rgba(0, 0, 0, 0.3),
                0 8px 20px rgba(0, 0, 0, 0.4),
                inset 0 -5px 15px rgba(0, 0, 0, 0.2),
                0 0 30px rgba(255, 215, 0, 0.2);
    border-color: #555;
}

/* Winning symbol highlight */
.reel-inner .symbol.winner {
    animation: winnerPulse 0.5s ease-in-out infinite alternate;
    background: linear-gradient(180deg,
        rgba(255, 215, 0, 0.1) 0%,
        rgba(255, 215, 0, 0.05) 50%,
        rgba(255, 215, 0, 0.1) 100%
    );
}

@keyframes winnerPulse {
    from {
        transform: scale(1);
        filter: brightness(1);
    }
    to {
        transform: scale(1.08);
        filter: brightness(1.2) drop-shadow(0 0 15px rgba(255, 215, 0, 0.9));
    }
}

/* Smooth reel transition */
.reel-inner {
    transition-property: transform;
}

/* Reel spin glow effect */
.reel.spinning::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    animation: spinGlow 0.1s linear infinite;
    pointer-events: none;
    z-index: 10;
}

@keyframes spinGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

/* Near Miss Animation */
.near-miss .reel:nth-child(3) {
    animation: nearMissShake 0.5s ease-in-out;
}

@keyframes nearMissShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Responsive */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.2rem;
    }

    .stats-bar {
        gap: 8px;
    }

    .stat-item {
        padding: 8px 12px;
        min-width: 70px;
    }

    .reel {
        width: 60px;
        height: 90px;
    }

    .symbol {
        height: 90px;
        font-size: 2.5rem;
    }

    .coin-amount {
        font-size: 2rem;
    }

    .spin-word {
        font-size: 1.8rem;
    }

    .big-win-title {
        font-size: 3rem;
    }

    .jackpot-title {
        font-size: 2.5rem;
    }

    .jackpot-amount {
        font-size: 4rem;
    }

    /* Mobile reel spin animation with correct 90px height */
    @keyframes reelSpin {
        0% {
            transform: translateY(0);
        }
        100% {
            transform: translateY(-90px);
        }
    }
}

/* Particle Effects */
.particle {
    position: absolute;
    pointer-events: none;
    animation: particleFall linear forwards;
}

@keyframes particleFall {
    to {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Screen Shake */
.screen-shake {
    animation: screenShake 0.5s ease-in-out;
}

@keyframes screenShake {
    0%, 100% { transform: translateX(0); }
    10% { transform: translateX(-10px); }
    20% { transform: translateX(10px); }
    30% { transform: translateX(-10px); }
    40% { transform: translateX(10px); }
    50% { transform: translateX(-5px); }
    60% { transform: translateX(5px); }
    70% { transform: translateX(-5px); }
    80% { transform: translateX(5px); }
    90% { transform: translateX(-2px); }
}

/* Gold Rain Effect */
.gold-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
}

.gold-coin {
    position: absolute;
    font-size: 1.5rem;
    animation: goldRainFall linear forwards;
}

@keyframes goldRainFall {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Animations for winning */
.reel.winning {
    animation: reelWin 0.5s ease-in-out infinite alternate;
    border-color: #ffd700 !important;
}

.reel.winning .symbol {
    animation: symbolPulse 0.5s ease-in-out infinite alternate;
}

@keyframes reelWin {
    from { box-shadow: 0 0 10px rgba(255, 215, 0, 0.5), inset 0 5px 20px rgba(0, 0, 0, 0.3); }
    to { box-shadow: 0 0 30px rgba(255, 215, 0, 1), inset 0 0 20px rgba(255, 215, 0, 0.3); }
}

@keyframes symbolPulse {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

/* ==================== GAME TABS ==================== */
.game-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
}

.game-tab {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border: 2px solid #444;
    color: #aaa;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.game-tab:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.game-tab.active {
    background: linear-gradient(145deg, var(--primary-gold), #b8860b);
    border-color: var(--primary-gold);
    color: #000;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

/* ==================== ROULETTE ==================== */
.section-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-gold);
    margin: 10px 0 20px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.roulette-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    position: relative;
    padding-top: 20px;
}

.roulette-wheel {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: conic-gradient(
        #006400 0deg 9.73deg,
        #e53935 9.73deg 19.46deg,
        #1a1a1a 19.46deg 29.19deg,
        #e53935 29.19deg 38.92deg,
        #1a1a1a 38.92deg 48.65deg,
        #e53935 48.65deg 58.38deg,
        #1a1a1a 58.38deg 68.11deg,
        #e53935 68.11deg 77.84deg,
        #1a1a1a 77.84deg 87.57deg,
        #e53935 87.57deg 97.3deg,
        #1a1a1a 97.3deg 107.03deg,
        #e53935 107.03deg 116.76deg,
        #1a1a1a 116.76deg 126.49deg,
        #e53935 126.49deg 136.22deg,
        #1a1a1a 136.22deg 145.95deg,
        #e53935 145.95deg 155.68deg,
        #1a1a1a 155.68deg 165.41deg,
        #e53935 165.41deg 175.14deg,
        #1a1a1a 175.14deg 184.86deg,
        #e53935 184.86deg 194.59deg,
        #1a1a1a 194.59deg 204.32deg,
        #e53935 204.32deg 214.05deg,
        #1a1a1a 214.05deg 223.78deg,
        #e53935 223.78deg 233.51deg,
        #1a1a1a 233.51deg 243.24deg,
        #e53935 243.24deg 252.97deg,
        #1a1a1a 252.97deg 262.7deg,
        #e53935 262.7deg 272.43deg,
        #1a1a1a 272.43deg 282.16deg,
        #e53935 282.16deg 291.89deg,
        #1a1a1a 291.89deg 301.62deg,
        #e53935 301.62deg 311.35deg,
        #1a1a1a 311.35deg 321.08deg,
        #e53935 321.08deg 330.81deg,
        #1a1a1a 330.81deg 340.54deg,
        #e53935 340.54deg 350.27deg,
        #1a1a1a 350.27deg 360deg
    );
    border: 8px solid #8b4513;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5), inset 0 0 50px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

.wheel-pointer {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    color: #ffd700;
    text-shadow: 0 0 10px #ffd700, 0 2px 4px rgba(0,0,0,0.5);
    z-index: 20;
    pointer-events: none;
}

.roulette-wheel.spinning {
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

.wheel-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #c9a227, #8b4513);
    border-radius: 50%;
    z-index: 2;
}

.wheel-ball {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    background: radial-gradient(circle at 30% 30%, #fff, #ccc);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    margin-left: -9px;
    margin-top: -9px;
}

.wheel-ball.spinning {
    opacity: 1;
}

.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, #ffd700, #b8860b);
    border-radius: 50%;
    z-index: 4;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Ball orbit animation */
@keyframes ballOrbit {
    0% {
        transform: rotate(0deg) translateX(90px) rotate(0deg);
    }
    100% {
        transform: rotate(var(--ball-end-angle)) translateX(90px) rotate(calc(-1 * var(--ball-end-angle)));
    }
}

.roulette-result {
    margin-top: 20px;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 30px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    border: 2px solid #444;
}

.roulette-result.red { color: #e53935; }
.roulette-result.black { color: #fff; }
.roulette-result.green { color: #00c853; }

/* ==================== ROULETTE TABLE ==================== */
.roulette-table {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 20px;
    background: linear-gradient(145deg, #0a4d0a, #073d07);
    border-radius: 15px;
    border: 3px solid #8b4513;
    margin: 10px auto;
    max-width: 600px;
}

.roulette-zero {
    width: 100%;
    max-width: 80px;
    padding: 15px;
    background: linear-gradient(145deg, #006400, #004d00);
    color: #fff;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid #008000;
}

.roulette-zero:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 200, 0, 0.5);
}

.roulette-zero.selected {
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
    border-color: #ffd700;
}

.roulette-numbers {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 3px;
    max-width: 600px;
}

.roulette-number {
    padding: 12px 8px;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.2s ease;
    min-width: 40px;
    border: 2px solid transparent;
}

.roulette-number.red {
    background: linear-gradient(145deg, #e53935, #b71c1c);
    color: #fff;
}

.roulette-number.black {
    background: linear-gradient(145deg, #333, #1a1a1a);
    color: #fff;
}

.roulette-number:hover {
    transform: scale(1.1);
    z-index: 5;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.roulette-number.selected {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    border-color: #ffd700;
    transform: scale(1.1);
}

.roulette-outside {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
    width: 100%;
    max-width: 600px;
    margin-top: 10px;
}

.roulette-bet {
    padding: 12px 8px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.2s ease;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    color: #fff;
    border: 2px solid #444;
}

.roulette-bet.red {
    background: linear-gradient(145deg, #e53935, #b71c1c);
}

.roulette-bet.black {
    background: linear-gradient(145deg, #333, #1a1a1a);
}

.roulette-bet:hover {
    transform: scale(1.05);
    border-color: var(--primary-gold);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.roulette-bet.selected {
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.roulette-dozens {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    width: 100%;
    max-width: 600px;
    margin-top: 10px;
}

/* ==================== ROULETTE BETS DISPLAY ==================== */
.roulette-bets-display {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 15px;
    margin: 15px auto;
    max-width: 500px;
    border: 1px solid #444;
}

.current-bets-title {
    text-align: center;
    font-size: 1rem;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.current-bets-list {
    min-height: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
    color: #888;
}

.bet-chip {
    background: linear-gradient(145deg, var(--primary-gold), #b8860b);
    color: #000;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.total-bet {
    text-align: center;
    margin-top: 10px;
    font-size: 1rem;
    color: #fff;
}

/* ==================== ROULETTE CONTROLS ==================== */
.roulette-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
}

.roulette-spin-btn {
    background: linear-gradient(145deg, #00c853, #1b5e20);
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 200, 83, 0.3);
}

.roulette-spin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 200, 83, 0.5);
}

.roulette-spin-btn:disabled {
    background: #444;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.roulette-clear-btn {
    background: linear-gradient(145deg, #d32f2f, #b71c1c);
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.roulette-clear-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.4);
}

/* ==================== ROULETTE HISTORY ==================== */
.roulette-history {
    text-align: center;
    margin: 15px 0;
}

.history-title {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 10px;
}

.history-numbers {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 400px;
    margin: 0 auto;
}

.history-number {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.history-number.red { background: #e53935; }
.history-number.black { background: #333; }
.history-number.green { background: #006400; }

/* ==================== RESPONSIVE ROULETTE ==================== */
@media (max-width: 768px) {
    .roulette-numbers {
        grid-template-columns: repeat(6, 1fr);
    }

    .roulette-outside {
        grid-template-columns: repeat(3, 1fr);
    }

    .roulette-number {
        padding: 8px 4px;
        font-size: 0.85rem;
    }

    .roulette-bet {
        font-size: 0.8rem;
        padding: 8px 5px;
    }
}
