/* El Zulo Casino - Professional Game Styles */
/* Inspired by Stake.com / Modern Casino Design */

/* ============================================
   GAME CARD BASE
   ============================================ */
.game-card {
    background: linear-gradient(180deg, #1a1d29 0%, #13151d 100%);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    padding: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.game-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
}

.game-title-icon {
    font-size: 32px;
}

/* ============================================
   BET CONTROLS
   ============================================ */
.bet-controls {
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.bet-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.bet-row:last-child {
    margin-bottom: 0;
}

.bet-label {
    font-weight: 600;
    color: #8b8d98;
    font-size: 14px;
}

.bet-input {
    background: #0f1119;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 12px 16px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    width: 150px;
    text-align: center;
}

.bet-input:focus {
    border-color: #00d4ff;
    outline: none;
}

.bet-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bet-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #2a2d3a;
    color: white;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.bet-btn:hover {
    background: #3a3d4a;
}

.action-btn {
    width: 100%;
    padding: 16px 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: white;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    margin-top: 16px;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.action-btn.success {
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
}

/* ============================================
   SLOTS MACHINE - Professional Style
   ============================================ */
.slot-machine {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    background: linear-gradient(180deg, #0d0f14 0%, #1a1d29 100%);
    border-radius: 16px;
    border: 2px solid #2a2d3a;
}

.slot-frame {
    background: linear-gradient(145deg, #1a1a2a, #0a0a15);
    border-radius: 16px;
    padding: 20px;
    border: 4px solid #333;
    box-shadow:
        0 0 30px rgba(0,0,0,0.8),
        inset 0 0 20px rgba(0,0,0,0.5);
    position: relative;
}

.slot-reels {
    display: flex;
    gap: 10px;
    background: #000;
    padding: 15px;
    border-radius: 10px;
    border: 3px solid #444;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.9);
}

.slot-reel {
    width: 80px;
    height: 240px;
    background: linear-gradient(180deg, #1a1d29 0%, #0d0f14 50%, #1a1d29 100%);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 2px solid #333;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 0;
}

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

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

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

.slot-reel.spinning .slot-symbol {
    animation: symbolSpin 0.1s linear infinite;
}

.slot-reel.stopping .slot-symbol {
    animation: symbolBounce 0.3s ease-out;
}

@keyframes symbolSpin {
    0% { transform: translateY(0); opacity: 1; }
    50% { opacity: 0.5; }
    100% { transform: translateY(80px); opacity: 1; }
}

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

.slot-symbol {
    width: 80px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    text-shadow: 0 3px 6px rgba(0,0,0,0.5);
    transition: transform 0.2s ease;
}

.slot-symbol.winner {
    animation: winnerPulse 0.5s ease infinite;
    text-shadow: 0 0 20px #ffd700, 0 0 40px #ffd700;
}

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

.slot-payline-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    z-index: 20;
}

.slot-payline-indicator.left {
    left: -5px;
    border-right: 15px solid #ffd700;
}

.slot-payline-indicator.right {
    right: -5px;
    border-left: 15px solid #ffd700;
}

.slot-info-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 24px;
    padding: 16px 32px;
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
}

.slot-info-item {
    text-align: center;
}

.slot-info-label {
    font-size: 12px;
    color: #8b8d98;
    margin-bottom: 4px;
}

.slot-info-value {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.slot-info-value.win {
    color: #00ff88;
}

/* ============================================
   ROULETTE - Horizontal Strip Style (like Stake)
   ============================================ */
.roulette-container {
    text-align: center;
}

.roulette-timer-box {
    font-size: 64px;
    font-weight: 900;
    color: #00d4ff;
    margin: 20px 0;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.roulette-timer-box.urgent {
    color: #e74c3c;
    animation: timerPulse 0.5s infinite;
    text-shadow: 0 0 20px rgba(231, 76, 60, 0.5);
}

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

.roulette-spin-area {
    position: relative;
    height: 90px;
    margin: 30px 0;
    overflow: hidden;
}

.roulette-rail {
    position: relative;
    height: 90px;
    background: linear-gradient(180deg, #1a1d29, #0d0f14, #1a1d29);
    border-radius: 12px;
    border: 3px solid #333;
    overflow: hidden;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
}

.roulette-strip {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: transform 0.3s ease;
    align-items: center;
    height: 100%;
}

.roulette-strip .roulette-number {
    width: 60px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
    color: white;
    margin: 0 3px;
    border-radius: 8px;
    flex-shrink: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.roulette-strip .roulette-number.red {
    background: linear-gradient(180deg, #e74c3c 0%, #c0392b 100%);
}

.roulette-strip .roulette-number.black {
    background: linear-gradient(180deg, #34495e 0%, #2c3e50 100%);
}

.roulette-strip .roulette-number.green {
    background: linear-gradient(180deg, #27ae60 0%, #1e8449 100%);
}

.roulette-selector {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 75px;
    height: 100%;
    border: 4px solid #ffd700;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5), inset 0 0 20px rgba(255, 215, 0, 0.1);
    pointer-events: none;
    z-index: 10;
}

.roulette-selector::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 15px solid #ffd700;
}

.roulette-selector::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 15px solid #ffd700;
}

.roulette-last-result {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.result-label {
    color: #8b8d98;
    font-size: 16px;
}

.roulette-result {
    font-size: 36px;
    font-weight: 900;
    padding: 10px 25px;
    border-radius: 10px;
    display: inline-block;
    min-width: 60px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.roulette-result.red { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.roulette-result.black { background: linear-gradient(135deg, #34495e, #2c3e50); }
.roulette-result.green { background: linear-gradient(135deg, #27ae60, #1e8449); }

.roulette-history {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.roulette-history-item {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.roulette-history-item.red { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.roulette-history-item.black { background: linear-gradient(135deg, #34495e, #2c3e50); }
.roulette-history-item.green { background: linear-gradient(135deg, #27ae60, #1e8449); }

/* Roulette Top Section */
.roulette-top-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.roulette-timer-box {
    font-size: 48px;
    font-weight: 900;
    color: #00d4ff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.roulette-bet-amount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.roulette-bet-amount .bet-input {
    width: 120px;
}

/* Full Roulette Table */
.roulette-table {
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    grid-template-rows: auto auto auto;
    gap: 4px;
    max-width: 750px;
    margin: 20px auto;
    background: #0a3d20;
    padding: 15px;
    border-radius: 12px;
    border: 4px solid #2c1810;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.roulette-zero {
    grid-column: 1;
    grid-row: 1 / 4;
    background: linear-gradient(180deg, #27ae60, #1e8449);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid #333;
}

.roulette-zero:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(39, 174, 96, 0.6);
    z-index: 10;
}

.roulette-numbers-grid {
    grid-column: 2;
    grid-row: 1 / 4;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 3px;
}

.roulette-num {
    padding: 12px 6px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
}

/* Arrange numbers in correct roulette order: columns go 3,6,9,12... then 2,5,8,11... then 1,4,7,10... */
.roulette-num:nth-child(3n+1) { grid-row: 3; } /* 1,4,7,10,13... */
.roulette-num:nth-child(3n+2) { grid-row: 2; } /* 2,5,8,11,14... */
.roulette-num:nth-child(3n) { grid-row: 1; }   /* 3,6,9,12,15... */

.roulette-num:nth-child(1), .roulette-num:nth-child(2), .roulette-num:nth-child(3) { grid-column: 1; }
.roulette-num:nth-child(4), .roulette-num:nth-child(5), .roulette-num:nth-child(6) { grid-column: 2; }
.roulette-num:nth-child(7), .roulette-num:nth-child(8), .roulette-num:nth-child(9) { grid-column: 3; }
.roulette-num:nth-child(10), .roulette-num:nth-child(11), .roulette-num:nth-child(12) { grid-column: 4; }
.roulette-num:nth-child(13), .roulette-num:nth-child(14), .roulette-num:nth-child(15) { grid-column: 5; }
.roulette-num:nth-child(16), .roulette-num:nth-child(17), .roulette-num:nth-child(18) { grid-column: 6; }
.roulette-num:nth-child(19), .roulette-num:nth-child(20), .roulette-num:nth-child(21) { grid-column: 7; }
.roulette-num:nth-child(22), .roulette-num:nth-child(23), .roulette-num:nth-child(24) { grid-column: 8; }
.roulette-num:nth-child(25), .roulette-num:nth-child(26), .roulette-num:nth-child(27) { grid-column: 9; }
.roulette-num:nth-child(28), .roulette-num:nth-child(29), .roulette-num:nth-child(30) { grid-column: 10; }
.roulette-num:nth-child(31), .roulette-num:nth-child(32), .roulette-num:nth-child(33) { grid-column: 11; }
.roulette-num:nth-child(34), .roulette-num:nth-child(35), .roulette-num:nth-child(36) { grid-column: 12; }

.roulette-num.red {
    background: linear-gradient(180deg, #c0392b, #922b21);
}

.roulette-num.black {
    background: linear-gradient(180deg, #2c3e50, #1a252f);
}

.roulette-num:hover {
    transform: scale(1.1);
    z-index: 10;
    box-shadow: 0 0 15px rgba(255,255,255,0.3);
}

.roulette-num.bet-placed,
.roulette-zero.bet-placed,
.roulette-dozen-bet.bet-placed,
.roulette-column-bet.bet-placed,
.roulette-outside-bet.bet-placed {
    box-shadow: 0 0 0 3px #ffd700, 0 0 20px rgba(255, 215, 0, 0.5);
    position: relative;
}

.roulette-num.bet-placed::after,
.roulette-zero.bet-placed::after {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #ffd700;
    border-radius: 50%;
    border: 2px solid #000;
}

.roulette-columns {
    grid-column: 3;
    grid-row: 1 / 4;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.roulette-column-bet {
    flex: 1;
    background: linear-gradient(180deg, #2a2d3a, #1a1d29);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #00d4ff;
    cursor: pointer;
    transition: all 0.15s;
    border: 1px solid rgba(255,255,255,0.1);
}

.roulette-column-bet:hover {
    background: linear-gradient(180deg, #3a3d4a, #2a2d3a);
    transform: scale(1.05);
}

.roulette-dozens {
    grid-column: 1 / 4;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin-top: 4px;
}

.roulette-dozen-bet {
    background: linear-gradient(180deg, #2a2d3a, #1a1d29);
    border-radius: 6px;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.15s;
    border: 1px solid rgba(255,255,255,0.1);
}

.roulette-dozen-bet:hover {
    background: linear-gradient(180deg, #3a3d4a, #2a2d3a);
    transform: scale(1.02);
}

.roulette-outside {
    grid-column: 1 / 4;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
    margin-top: 4px;
}

.roulette-outside-bet {
    background: linear-gradient(180deg, #2a2d3a, #1a1d29);
    border-radius: 6px;
    padding: 12px 8px;
    font-size: 12px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.15s;
    border: 1px solid rgba(255,255,255,0.1);
}

.roulette-outside-bet:hover {
    background: linear-gradient(180deg, #3a3d4a, #2a2d3a);
    transform: scale(1.02);
}

.roulette-outside-bet.red {
    background: linear-gradient(180deg, #c0392b, #922b21);
}

.roulette-outside-bet.black {
    background: linear-gradient(180deg, #2c3e50, #1a252f);
}

.roulette-payouts {
    text-align: center;
    color: #8b8d98;
    font-size: 12px;
    margin: 15px 0;
}

.roulette-payouts strong {
    color: #00d4ff;
}

.roulette-bets-list {
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 16px;
    margin-top: 20px;
    max-height: 150px;
    overflow-y: auto;
}

.roulette-bets-list h4 {
    color: #8b8d98;
    margin-bottom: 12px;
    font-size: 14px;
}

.bet-type-red { color: #e74c3c; }
.bet-type-black { color: #8b8d98; }
.bet-type-green { color: #27ae60; }

/* My Roulette Bets */
.my-bet-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    margin-bottom: 6px;
}

.my-bet-item .bet-name {
    color: #fff;
    font-weight: 600;
}

.my-bet-item .bet-amount {
    color: #00d4ff;
    font-weight: 700;
}

.my-bet-total {
    display: flex;
    justify-content: space-between;
    padding: 10px 12px;
    background: linear-gradient(135deg, rgba(0,212,255,0.2), rgba(0,212,255,0.1));
    border-radius: 6px;
    margin-top: 10px;
    font-weight: 700;
    border: 1px solid rgba(0,212,255,0.3);
}

.my-bet-total span:last-child {
    color: #00ff88;
}

/* ============================================
   MINES - Animated
   ============================================ */
.mines-container {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.mines-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    background: linear-gradient(180deg, #0d0f14 0%, #1a1d23 100%);
    padding: 16px;
    border-radius: 16px;
    border: 2px solid #2a2d3a;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.mine-cell {
    width: 70px;
    height: 70px;
    background: linear-gradient(145deg, #2a2d3a, #1a1d29);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    border: 2px solid #3a3d4a;
    perspective: 500px;
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}

.mine-cell::before {
    content: '?';
    position: absolute;
    font-size: 24px;
    color: rgba(255,255,255,0.15);
    font-weight: 800;
}

.mine-cell:hover:not(.revealed) {
    background: linear-gradient(145deg, #3a3d4a, #2a2d3a);
    transform: scale(1.08) translateY(-3px);
    border-color: #00d4ff;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.mine-cell:hover:not(.revealed)::before {
    color: rgba(0, 212, 255, 0.3);
}

.mine-cell.flipping {
    animation: cellFlip 0.4s ease;
}

@keyframes cellFlip {
    0% { transform: rotateY(0deg) scale(1); }
    50% { transform: rotateY(90deg) scale(0.9); }
    100% { transform: rotateY(0deg) scale(1); }
}

.mine-cell.revealed {
    cursor: default;
}

.mine-cell.revealed::before {
    display: none;
}

.mine-cell.gem {
    background: linear-gradient(145deg, #00d4ff, #0088aa);
    border-color: #00ffff;
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.6), inset 0 0 15px rgba(255,255,255,0.2);
    animation: gemReveal 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mine-gem {
    animation: gemBounce 0.5s ease;
}

@keyframes gemBounce {
    0% { transform: scale(0) rotate(-45deg); }
    60% { transform: scale(1.3) rotate(10deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.mine-cell.mine {
    background: linear-gradient(145deg, #e74c3c, #a93226);
    border-color: #ff4444;
    box-shadow: 0 0 25px rgba(231, 76, 60, 0.6);
}

.mine-cell.mine.hit {
    animation: mineHit 0.5s ease;
    box-shadow: 0 0 40px rgba(255, 100, 0, 0.8);
}

.mine-cell.exploding {
    animation: mineExploding 0.3s ease;
}

@keyframes mineExploding {
    0% { transform: scale(1); background: linear-gradient(145deg, #ff6600, #ff0000); }
    50% { transform: scale(1.4); background: linear-gradient(145deg, #ffff00, #ff6600); }
    100% { transform: scale(1); }
}

.mine-bomb {
    animation: bombReveal 0.4s ease;
}

@keyframes bombReveal {
    0% { transform: scale(0) rotate(180deg); opacity: 0; }
    60% { transform: scale(1.2) rotate(-10deg); }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes gemReveal {
    0% { transform: scale(0.5) rotate(-10deg); opacity: 0; }
    60% { transform: scale(1.15) rotate(5deg); }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}

@keyframes mineHit {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.2) rotate(-5deg); }
    50% { transform: scale(0.9) rotate(5deg); }
    75% { transform: scale(1.1) rotate(-3deg); }
}

.mines-controls {
    flex: 1;
    min-width: 220px;
}

.mines-multiplier {
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}

.mines-multiplier-label {
    font-size: 14px;
    color: #8b8d98;
    margin-bottom: 8px;
}

.mines-multiplier-value {
    font-size: 36px;
    font-weight: 800;
    color: #00ff88;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
    transition: all 0.2s ease;
}

.mines-multiplier-value.pulse {
    animation: multPulse 0.3s ease;
}

@keyframes multPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); color: #00ffff; }
}

.mines-profit {
    font-size: 14px;
    color: #8b8d98;
    margin-top: 8px;
}

/* ============================================
   PLINKO - Professional Style
   ============================================ */
.plinko-container {
    text-align: center;
}

.plinko-board {
    background: linear-gradient(180deg, #0a0c10 0%, #151820 100%);
    border-radius: 16px;
    padding: 15px;
    margin: 20px auto;
    position: relative;
    max-width: 650px;
    border: 3px solid #2a2d3a;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5), inset 0 0 30px rgba(0,0,0,0.3);
}

#plinkoCanvas {
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

.plinko-buckets {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin-top: 10px;
    padding: 0 10px;
}

.plinko-bucket {
    padding: 8px 4px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    min-width: 38px;
    flex: 1;
    max-width: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.plinko-bucket.low {
    background: linear-gradient(180deg, #2ecc71, #1e8449);
    color: white;
}
.plinko-bucket.medium {
    background: linear-gradient(180deg, #f1c40f, #d68910);
    color: #1a1a1a;
}
.plinko-bucket.high {
    background: linear-gradient(180deg, #e74c3c, #922b21);
    color: white;
}

.plinko-bucket.active {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 0 25px currentColor, 0 5px 20px rgba(0,0,0,0.5);
    z-index: 10;
}

.plinko-settings {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

/* ============================================
   CRASH - Professional Style
   ============================================ */
.crash-container {
    text-align: center;
}

.crash-graph-container {
    height: 280px;
    background: linear-gradient(180deg, #0a0c10 0%, #141820 100%);
    border-radius: 16px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
    border: 2px solid #2a2d3a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.crash-graph-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px),
        linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.crash-multiplier {
    font-size: 80px;
    font-weight: 900;
    color: #00ff88;
    text-shadow: 0 0 60px rgba(0, 255, 136, 0.6);
    z-index: 2;
    transition: all 0.1s ease;
}

.crash-multiplier.crashed {
    color: #e74c3c;
    text-shadow: 0 0 60px rgba(231, 76, 60, 0.6);
    animation: crashShake 0.5s ease;
}

@keyframes crashShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-10px); }
    40% { transform: translateX(10px); }
    60% { transform: translateX(-5px); }
    80% { transform: translateX(5px); }
}

.crash-status {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.crash-status.waiting {
    background: linear-gradient(135deg, #f39c12, #d68910);
    animation: statusPulse 1.5s infinite;
}
.crash-status.running {
    background: linear-gradient(135deg, #27ae60, #1e8449);
}
.crash-status.crashed {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.crash-history {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 16px 0;
    flex-wrap: wrap;
}

.crash-history-item {
    padding: 8px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.crash-history-item.low { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.crash-history-item.medium { background: linear-gradient(135deg, #f39c12, #d68910); }
.crash-history-item.high { background: linear-gradient(135deg, #27ae60, #1e8449); }

.crash-bets-panel {
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 16px;
    margin: 20px 0;
    max-height: 180px;
    overflow-y: auto;
}

.crash-bets-panel h4 {
    color: #8b8d98;
    margin-bottom: 12px;
    font-size: 14px;
}

.crash-bet-cashout {
    color: #00ff88;
    font-weight: 700;
}

/* ============================================
   BLACKJACK - Animated
   ============================================ */
.blackjack-table {
    background: linear-gradient(180deg, #0d5c2e 0%, #0a4422 100%);
    border-radius: 16px;
    padding: 40px;
    margin: 20px 0;
    border: 8px solid #2c1810;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.3), 0 10px 40px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}

.blackjack-table::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 3px solid rgba(255,255,255,0.1);
    border-radius: 50%;
}

.hand-container {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.hand-label {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hand-value {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.cards-display {
    display: flex;
    justify-content: center;
    min-height: 130px;
    perspective: 1000px;
}

.playing-card {
    width: 80px;
    height: 112px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    margin-left: -25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    transform-style: preserve-3d;
}

.playing-card:first-child {
    margin-left: 0;
}

.playing-card:hover {
    transform: translateY(-8px) rotateZ(-2deg);
    z-index: 10;
}

.playing-card .card-value {
    font-size: 28px;
    line-height: 1;
}

.playing-card .card-suit {
    font-size: 22px;
    margin-top: 4px;
}

.playing-card.red { color: #e74c3c; }
.playing-card.black { color: #1a1a1a; }

.playing-card.face-down {
    background: linear-gradient(135deg, #1a3a8a, #0a1a4a);
    background-image:
        linear-gradient(135deg, #1a3a8a, #0a1a4a),
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.05) 10px, rgba(255,255,255,0.05) 20px);
}

.playing-card.face-down::after {
    content: '🂠';
    font-size: 40px;
    opacity: 0.3;
}

/* Card dealing animation */
.playing-card.dealing {
    opacity: 0;
    transform: translateY(-100px) rotateY(180deg) scale(0.5);
}

.playing-card.dealt {
    opacity: 1;
    transform: translateY(0) rotateY(0deg) scale(1);
    animation: cardDeal 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cardDeal {
    0% {
        opacity: 0;
        transform: translateY(-80px) translateX(100px) rotateY(180deg) rotateZ(30deg) scale(0.3);
    }
    60% {
        opacity: 1;
        transform: translateY(10px) translateX(-5px) rotateY(0deg) rotateZ(-5deg) scale(1.05);
    }
    100% {
        transform: translateY(0) translateX(0) rotateY(0deg) rotateZ(0deg) scale(1);
    }
}

/* Card flip animation */
.playing-card.flipping {
    animation: cardFlip 0.3s ease;
}

@keyframes cardFlip {
    0% { transform: rotateY(0deg); }
    50% { transform: rotateY(90deg) scale(0.95); }
    100% { transform: rotateY(0deg); }
}

.blackjack-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.bj-action-btn {
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.bj-action-btn.hit {
    background: linear-gradient(135deg, #27ae60, #1e8449);
}
.bj-action-btn.stand {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}
.bj-action-btn.double {
    background: linear-gradient(135deg, #f39c12, #d68910);
}

.bj-action-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 25px rgba(0,0,0,0.4);
}

.bj-action-btn:active {
    transform: translateY(0) scale(0.98);
}

/* Game result styling */
.game-result {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    font-size: 24px;
    font-weight: 800;
    animation: resultPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.game-result.win {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 212, 255, 0.1));
    border: 2px solid #00ff88;
}

.game-result.lose {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.2), rgba(192, 57, 43, 0.1));
    border: 2px solid #e74c3c;
}

.game-result.push {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.2), rgba(214, 137, 16, 0.1));
    border: 2px solid #f39c12;
}

@keyframes resultPop {
    0% { transform: scale(0.5); opacity: 0; }
    60% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.bj-win { color: #00ff88; }
.bj-lose { color: #e74c3c; }
.bj-push { color: #f39c12; }
.bj-amount {
    color: #00d4ff;
    font-size: 28px;
    margin-left: 10px;
}

/* ============================================
   DICE - Animated
   ============================================ */
.dice-display {
    text-align: center;
}

.dice-canvas-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

#diceCanvas {
    border-radius: 12px;
    background: linear-gradient(180deg, #0d0f14 0%, #1a1d29 100%);
}

.dice-slider-container {
    background: #0d0f14;
    border-radius: 16px;
    padding: 30px;
    margin: 20px 0;
    position: relative;
}

.dice-slider-track {
    position: relative;
    width: 100%;
    height: 12px;
    background: #2a2d3a;
    border-radius: 6px;
    overflow: visible;
}

.dice-slider-fill {
    position: absolute;
    height: 100%;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.dice-slider-fill.over {
    background: linear-gradient(90deg, #00d4ff, #00ff88);
}

.dice-slider-fill.under {
    background: linear-gradient(90deg, #00ff88, #00d4ff);
}

.dice-slider-marker {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    border: 3px solid #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    opacity: 0;
    transition: left 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    z-index: 10;
}

.dice-slider-marker.win {
    background: #00ff88;
    border-color: #00ff88;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.6);
}

.dice-slider-marker.lose {
    background: #e74c3c;
    border-color: #e74c3c;
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.6);
}

.dice-slider-marker.flash {
    animation: diceMarkerFlash 0.3s ease-out 3;
}

@keyframes diceMarkerFlash {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.3); }
}

.dice-slider {
    width: 100%;
    height: 12px;
    border-radius: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    cursor: pointer;
}

.dice-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #00d4ff;
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 2px 10px rgba(0, 212, 255, 0.5);
    border: 2px solid white;
}

.dice-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #00d4ff;
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 2px 10px rgba(0, 212, 255, 0.5);
    border: 2px solid white;
}

.dice-result {
    font-size: 64px;
    font-weight: 900;
    margin: 20px 0;
    transition: all 0.3s ease;
}

.dice-result.rolling {
    color: #00d4ff;
    animation: dicePulse 0.5s ease-in-out infinite;
}

.dice-result.win {
    color: #00ff88;
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
}

.dice-result.lose {
    color: #e74c3c;
    text-shadow: 0 0 30px rgba(231, 76, 60, 0.5);
}

@keyframes dicePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.dice-mode-toggle {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.dice-mode-btn {
    padding: 10px 24px;
    background: #2a2d3a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #8b8d98;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.dice-mode-btn:hover {
    background: #3a3f4a;
}

.dice-mode-btn.active {
    background: linear-gradient(135deg, #00d4ff, #7b2cbf);
    color: white;
    border-color: transparent;
}

.dice-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.dice-stat {
    text-align: center;
}

.dice-stat-label {
    font-size: 12px;
    color: #8b8d98;
    margin-bottom: 4px;
}

.dice-stat div:last-child {
    font-size: 18px;
    font-weight: 700;
    color: #00d4ff;
}

/* ============================================
   COMMON HISTORY ITEM
   ============================================ */
.crash-bet-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    margin-bottom: 8px;
}

.crash-bet-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

/* ============================================
   EXTERNAL GAME IFRAME - Professional Style
   ============================================ */
.game-card-fullwidth {
    max-width: 1000px !important;
}

.external-game-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 65%; /* 16:10 aspect ratio */
    background: #0a0c10;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #2a2d3a;
}

.game-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.game-iframe-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1d29, #0d0f14);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.iframe-loading {
    text-align: center;
}

.iframe-loading .loader-ring {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(0, 212, 255, 0.2);
    border-top-color: #00d4ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.iframe-loading p {
    color: #8b8d98;
    font-size: 14px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.external-game-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px;
    background: rgba(0,0,0,0.3);
    border-radius: 0 0 12px 12px;
    margin-top: -4px;
}

.game-info-item {
    text-align: center;
}

.game-info-item .label {
    display: block;
    font-size: 11px;
    color: #8b8d98;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.game-info-item .value {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

/* ============================================
   DRAGON TOWER - Canvas-based Design
   ============================================ */
.tower-canvas-container {
    display: flex;
    gap: 20px;
    max-width: 850px;
    margin: 0 auto;
    padding: 20px;
}

.tower-canvas-wrapper {
    position: relative;
    flex: 1;
    background: linear-gradient(180deg, #1a0a2e 0%, #0d0518 100%);
    border-radius: 16px;
    border: 2px solid rgba(147, 51, 234, 0.3);
    overflow: hidden;
}

#towerCanvas {
    display: block;
    width: 100%;
    height: auto;
    cursor: pointer;
}

/* Multiplier Overlay */
.tower-multiplier-overlay {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 25px;
    border-radius: 25px;
    border: 2px solid rgba(147, 51, 234, 0.5);
    z-index: 10;
    transition: all 0.3s ease;
}

.tower-multiplier-overlay .mult-value {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}

.tower-multiplier-overlay.active {
    border-color: #00ff88;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.tower-multiplier-overlay.active .mult-value {
    color: #00ff88;
}

.tower-multiplier-overlay.win {
    border-color: #f1c40f;
    box-shadow: 0 0 30px rgba(241, 196, 15, 0.6);
    animation: towerOverlayWin 0.5s ease-in-out infinite alternate;
}

.tower-multiplier-overlay.win .mult-value {
    color: #f1c40f;
}

.tower-multiplier-overlay.lose {
    border-color: #e74c3c;
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.5);
}

.tower-multiplier-overlay.lose .mult-value {
    color: #e74c3c;
}

@keyframes towerOverlayWin {
    from { transform: translateX(-50%) scale(1); }
    to { transform: translateX(-50%) scale(1.05); }
}

/* Control Panel */
.tower-panel {
    width: 280px;
    background: linear-gradient(180deg, #1e1433 0%, #0f0a1a 100%);
    border-radius: 16px;
    border: 1px solid rgba(147, 51, 234, 0.3);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tower-panel-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tower-panel .panel-label {
    font-size: 12px;
    font-weight: 600;
    color: #8b7aa8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Bet Input */
.bet-input-group {
    display: flex;
    gap: 8px;
}

.tower-bet-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(147, 51, 234, 0.3);
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
}

.tower-bet-input:focus {
    border-color: #9b59b6;
    box-shadow: 0 0 15px rgba(147, 51, 234, 0.3);
}

.bet-buttons {
    display: flex;
    gap: 5px;
}

.bet-mult-btn {
    width: 40px;
    height: 100%;
    background: rgba(147, 51, 234, 0.2);
    border: 1px solid rgba(147, 51, 234, 0.4);
    border-radius: 8px;
    color: #9b59b6;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bet-mult-btn:hover {
    background: rgba(147, 51, 234, 0.4);
    color: #fff;
}

/* Difficulty Selector */
.difficulty-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.diff-btn {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(147, 51, 234, 0.2);
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.diff-btn:hover:not(:disabled) {
    border-color: rgba(147, 51, 234, 0.5);
    background: rgba(147, 51, 234, 0.1);
}

.diff-btn.active {
    border-color: #9b59b6;
    background: rgba(147, 51, 234, 0.2);
    box-shadow: 0 0 15px rgba(147, 51, 234, 0.3);
}

.diff-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.diff-btn .diff-name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.diff-btn .diff-desc {
    display: block;
    font-size: 10px;
    color: #8b7aa8;
}

.diff-btn.active .diff-name {
    color: #9b59b6;
}

/* Stats */
.tower-stats {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 15px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.stat-row:not(:last-child) {
    border-bottom: 1px solid rgba(147, 51, 234, 0.1);
}

.stat-label {
    font-size: 12px;
    color: #8b7aa8;
}

.stat-value {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.stat-value.profit {
    color: #00ff88;
}

/* Action Buttons */
.tower-action-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #9b59b6 0%, #7b2cbf 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.tower-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.4);
}

.tower-action-btn .btn-text {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}

.tower-action-btn .btn-amount {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.tower-action-btn.cashout {
    background: linear-gradient(135deg, #27ae60 0%, #1e8449 100%);
}

.tower-action-btn.cashout:hover {
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
}

/* Responsive */
@media (max-width: 900px) {
    .tower-main-container {
        flex-direction: column;
    }

    .tower-panel {
        width: 100%;
    }

    .tower-multiplier-ladder {
        display: none;
    }
}

@media (max-width: 500px) {
    .tower-tile {
        width: 55px;
        height: 45px;
    }

    .tower-tile.egg .tile-egg {
        width: 30px;
        height: 38px;
    }
}

/* ============================================
   LIMBO - Professional Style
   ============================================ */
.limbo-container {
    text-align: center;
    padding: 40px 20px;
}

.limbo-result {
    font-size: 80px;
    font-weight: 900;
    color: #8b8d98;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.limbo-result.rolling {
    animation: limboRoll 0.1s linear infinite;
    color: #f39c12;
}

.limbo-result.win {
    color: #00ff88;
    text-shadow: 0 0 40px rgba(0, 255, 136, 0.6);
    animation: limboWin 0.5s ease;
}

.limbo-result.lose {
    color: #e74c3c;
    text-shadow: 0 0 40px rgba(231, 76, 60, 0.6);
}

@keyframes limboRoll {
    0% { transform: scale(0.98); }
    50% { transform: scale(1.02); }
    100% { transform: scale(0.98); }
}

@keyframes limboWin {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.limbo-target-display {
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.limbo-target-display .label {
    font-size: 14px;
    color: #8b8d98;
    margin-bottom: 8px;
    display: block;
}

.limbo-target-display .value {
    font-size: 36px;
    font-weight: 800;
    color: #00d4ff;
}

.limbo-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.limbo-stat {
    text-align: center;
}

.limbo-stat .label {
    font-size: 12px;
    color: #8b8d98;
    display: block;
    margin-bottom: 4px;
}

.limbo-stat .value {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

/* ============================================
   WHEEL - Professional Style
   ============================================ */
.wheel-container {
    text-align: center;
    padding: 20px;
    position: relative;
}

.wheel-pointer {
    font-size: 40px;
    color: #ffd700;
    position: relative;
    z-index: 10;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    margin-bottom: -10px;
}

.wheel-circle {
    display: inline-block;
    border-radius: 50%;
    padding: 10px;
    background: linear-gradient(135deg, #1a1d29, #0d0f14);
    border: 4px solid #2a2d3a;
    box-shadow: 0 0 40px rgba(0,0,0,0.5), inset 0 0 30px rgba(0,0,0,0.3);
    transition: transform 5s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

#wheelCanvas {
    display: block;
    border-radius: 50%;
}

.wheel-result {
    margin-top: 20px;
    font-size: 32px;
    font-weight: 800;
    color: #00ff88;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .mines-container {
        flex-direction: column;
    }

    .mine-cell {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }

    .slot-reel {
        width: 60px;
        height: 200px;
    }

    .slot-symbol {
        width: 60px;
        height: 66px;
        font-size: 36px;
    }

    .roulette-bets {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   WINGZ - Crash-style Flying Game
   Professional Stake-like Design
   ============================================ */
.wingz-container {
    display: grid;
    grid-template-columns: 1fr 280px;
    grid-template-rows: auto auto;
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px;
}

.wingz-game-area {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    background: linear-gradient(180deg, #1a1b4d 0%, #0d0e2a 100%);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wingz-game-area canvas {
    display: block;
    width: 100%;
    height: auto;
}

.wingz-multiplier-display {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
}

.wingz-multiplier-display .mult-value {
    font-size: 72px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
    font-family: 'Inter', monospace;
}

.wingz-multiplier-display .mult-value.crashed {
    color: #ff4757;
    text-shadow: 0 0 40px rgba(255, 71, 87, 0.5);
    animation: crashPulse 0.5s ease;
}

.wingz-multiplier-display .mult-value.won {
    color: #2ed573;
    text-shadow: 0 0 40px rgba(46, 213, 115, 0.5);
}

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

.wingz-status {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 24px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.5);
    color: #8b8d98;
}

.wingz-status.flying {
    background: rgba(46, 213, 115, 0.2);
    color: #2ed573;
    animation: statusPulse 1s ease infinite;
}

.wingz-status.crashed {
    background: rgba(255, 71, 87, 0.2);
    color: #ff4757;
}

.wingz-status.won {
    background: rgba(46, 213, 115, 0.3);
    color: #2ed573;
    font-size: 18px;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Panel */
.wingz-panel {
    grid-column: 2;
    grid-row: 1 / 3;
    background: #1a1d29;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.panel-title {
    font-size: 12px;
    font-weight: 600;
    color: #8b8d98;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.wingz-bet-panel,
.wingz-auto-panel {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 16px;
}

.bet-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bet-input-row input {
    flex: 1;
    background: #0d0f14;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

.bet-input-row input:focus {
    border-color: #00d4ff;
    outline: none;
}

.bet-adjust {
    width: 44px;
    height: 44px;
    background: #2a2d3a;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.bet-adjust:hover {
    background: #3a3d4a;
}

.quick-amounts {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}

.quick-amounts button {
    flex: 1;
    padding: 8px 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #8b8d98;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-amounts button:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: #00d4ff;
    color: #fff;
}

.auto-cashout-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auto-cashout-row input {
    flex: 1;
    background: #0d0f14;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.auto-cashout-row input:focus {
    border-color: #00d4ff;
    outline: none;
}

.auto-label {
    color: #8b8d98;
    font-weight: 700;
}

.wingz-play-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(180deg, #00d4ff 0%, #0099cc 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.wingz-play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 212, 255, 0.4);
}

.wingz-cashout-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(180deg, #2ed573 0%, #1e9c5a 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(46, 213, 115, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.wingz-cashout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(46, 213, 115, 0.4);
}

.wingz-cashout-btn .btn-amount {
    font-size: 22px;
}

/* History */
.wingz-history {
    grid-column: 1;
    grid-row: 2;
    background: #1a1d29;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.history-title {
    font-size: 12px;
    font-weight: 600;
    color: #8b8d98;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.history-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.history-item {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}

.history-item.won {
    background: rgba(46, 213, 115, 0.2);
    color: #2ed573;
}

.history-item.lost {
    background: rgba(255, 71, 87, 0.2);
    color: #ff4757;
}

/* Mobile */
@media (max-width: 900px) {
    .wingz-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }

    .wingz-game-area {
        grid-column: 1;
        grid-row: 1;
    }

    .wingz-panel {
        grid-column: 1;
        grid-row: 2;
    }

    .wingz-history {
        grid-column: 1;
        grid-row: 3;
    }

    .wingz-multiplier-display .mult-value {
        font-size: 48px;
    }
}
