/* 🎮 ENHANCED GAMING PLATFORM STYLES */
/* Modern casino games with crypto themes and premium aesthetics */

/* ═══════════════════════════════════════════════════════════════ */
/* 🎰 ENHANCED CRYPTO SLOTS STYLING */
/* ═══════════════════════════════════════════════════════════════ */

.crypto-slots-enhanced {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 2px solid #ffd700;
    position: relative;
    overflow: hidden;
}

.crypto-slots-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.slot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    border: 1px solid #ffd700;
}

.slot-header h3 {
    color: #ffd700;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    margin: 0;
}

.jackpot-display {
    text-align: center;
}

.jackpot-label {
    display: block;
    color: #ff6b6b;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
}

.jackpot-amount {
    display: block;
    color: #ffd700;
    font-size: 28px;
    font-weight: bold;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
    animation: jackpotPulse 2s ease-in-out infinite;
}

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

.slot-machine-enhanced {
    position: relative;
    margin: 20px 0;
}

.slot-frame {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    background: linear-gradient(145deg, #2c2c54 0%, #40407a 100%);
    border-radius: 15px;
    border: 3px solid #ffd700;
    box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.3);
}

.reel-enhanced {
    width: 80px;
    height: 240px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #333;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.reel-strip {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.symbol-slot {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    border-bottom: 1px solid #ddd;
    background: linear-gradient(145deg, #ffffff 0%, #f1f2f6 100%);
    transition: all 0.3s ease;
}

.symbol-slot:hover {
    background: linear-gradient(145deg, #ffd700 0%, #f39c12 100%);
    transform: scale(1.1);
}

.winning-reel .symbol-slot {
    animation: winAnimation 1s ease-in-out infinite;
}

@keyframes winAnimation {
    0%, 100% { 
        background: linear-gradient(145deg, #ffd700 0%, #f39c12 100%);
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    }
    50% { 
        background: linear-gradient(145deg, #ff6b6b 0%, #ee5a52 100%);
        box-shadow: 0 0 25px rgba(255, 107, 107, 0.8);
    }
}

.game-controls-enhanced {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border: 1px solid #ffd700;
}

.bet-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.token-selector, .bet-amount-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.token-selector label, .bet-amount-section label {
    color: #ffd700;
    font-weight: bold;
    font-size: 14px;
}

.token-select-enhanced {
    padding: 10px 15px;
    border: 2px solid #ffd700;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: #ffd700;
    font-size: 16px;
    font-weight: bold;
}

.bet-controls {
    display: flex;
    align-items: center;
    gap: 5px;
}

.bet-btn {
    width: 35px;
    height: 35px;
    border: 2px solid #ffd700;
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bet-btn:hover {
    background: #ffd700;
    color: #000;
    transform: scale(1.1);
}

.bet-input-enhanced {
    width: 120px;
    padding: 8px 12px;
    border: 2px solid #ffd700;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.8);
    color: #ffd700;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.spin-button-enhanced {
    padding: 15px 30px;
    background: linear-gradient(145deg, #ffd700 0%, #f39c12 100%);
    border: none;
    border-radius: 12px;
    color: #000;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.spin-button-enhanced:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 215, 0, 0.6);
}

.spin-button-enhanced:active {
    transform: translateY(0);
}

.spin-text {
    display: block;
    font-size: 20px;
}

.spin-cost {
    display: block;
    font-size: 14px;
    opacity: 0.8;
}

.max-bet-button, .auto-spin-button {
    padding: 12px 20px;
    background: linear-gradient(145deg, #6c5ce7 0%, #5f3dc4 100%);
    border: 2px solid #a29bfe;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.max-bet-button:hover, .auto-spin-button:hover {
    background: linear-gradient(145deg, #a29bfe 0%, #6c5ce7 100%);
    transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════════════ */
/* 🃏 CRYPTO POKER STYLING */
/* ═══════════════════════════════════════════════════════════════ */

.crypto-poker-table {
    background: radial-gradient(ellipse at center, #0d7377 0%, #14a085 50%, #0d7377 100%);
    border-radius: 25px;
    padding: 30px;
    position: relative;
    border: 3px solid #ffd700;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.poker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
}

.poker-header h3 {
    color: #ffd700;
    font-size: 24px;
    margin: 0;
}

.table-info {
    display: flex;
    gap: 20px;
    color: #ffffff;
    font-weight: bold;
}

.poker-table-layout {
    position: relative;
    min-height: 400px;
    background: linear-gradient(145deg, #0d7377 0%, #14a085 100%);
    border: 5px solid #2d3436;
    border-radius: 50%;
    margin: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.community-cards {
    display: flex;
    gap: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.card-slot {
    width: 60px;
    height: 84px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #2d3436;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.pot-display {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 12px;
    border: 2px solid #ffd700;
}

.pot-label {
    display: block;
    color: #ffd700;
    font-weight: bold;
    font-size: 14px;
}

.pot-amount {
    display: block;
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
}

.poker-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.poker-btn {
    padding: 12px 24px;
    border: 2px solid #ffd700;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffd700;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.poker-btn:hover {
    background: #ffd700;
    color: #000;
    transform: scale(1.05);
}

.fold-btn:hover {
    background: #ff6b6b;
    border-color: #ff6b6b;
    color: white;
}

.call-btn:hover, .raise-btn:hover {
    background: #00b894;
    border-color: #00b894;
    color: white;
}

/* ═══════════════════════════════════════════════════════════════ */
/* 🚀 CRASH GAME STYLING */
/* ═══════════════════════════════════════════════════════════════ */

.crash-game-container {
    background: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
    border-radius: 20px;
    padding: 25px;
    border: 2px solid #00b894;
}

.crash-chart-container {
    position: relative;
    background: #000;
    border-radius: 10px;
    margin: 20px 0;
    height: 320px;
    border: 2px solid #00b894;
}

#crash-chart {
    width: 100%;
    height: 300px;
    border-radius: 8px;
}

.multiplier-display {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 184, 148, 0.9);
    padding: 10px 20px;
    border-radius: 8px;
}

.current-multiplier {
    color: white;
    font-size: 32px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.crash-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

.place-bet-btn {
    background: linear-gradient(145deg, #00b894 0%, #00a085 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cash-out-btn {
    background: linear-gradient(145deg, #fdcb6e 0%, #f39c12 100%);
    color: #2d3436;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cash-out-btn:disabled {
    background: #636e72;
    cursor: not-allowed;
    opacity: 0.6;
}

.crash-history-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.crash-result {
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
}

.crash-result.low {
    background: #ff6b6b;
    color: white;
}

.crash-result.medium {
    background: #fdcb6e;
    color: #2d3436;
}

.crash-result.high {
    background: #00b894;
    color: white;
}

/* ═══════════════════════════════════════════════════════════════ */
/* 🎲 DICE GAME STYLING */
/* ═══════════════════════════════════════════════════════════════ */

.dice-game-enhanced {
    background: linear-gradient(135deg, #6c5ce7 0%, #5f3dc4 100%);
    border-radius: 20px;
    padding: 25px;
    border: 2px solid #a29bfe;
}

.dice-visual {
    text-align: center;
    margin: 30px 0;
}

.dice-container {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.dice-result {
    font-size: 48px;
    font-weight: bold;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 30px;
    border-radius: 15px;
    border: 2px solid #ffd700;
    min-width: 100px;
}

.dice-animation {
    font-size: 60px;
    animation: diceRoll 0.5s ease-in-out;
}

@keyframes diceRoll {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

.roll-slider {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    outline: none;
}

.roll-dice-btn {
    background: linear-gradient(145deg, #ffd700 0%, #f39c12 100%);
    color: #2d3436;
    padding: 15px 40px;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.roll-dice-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

/* ═══════════════════════════════════════════════════════════════ */
/* 🎮 RESPONSIVE DESIGN */
/* ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .crypto-slots-enhanced,
    .crypto-poker-table,
    .crash-game-container,
    .dice-game-enhanced {
        padding: 15px;
        margin: 10px;
    }
    
    .slot-frame {
        gap: 4px;
        padding: 10px;
    }
    
    .reel-enhanced {
        width: 60px;
        height: 180px;
    }
    
    .symbol-slot {
        height: 60px;
        font-size: 24px;
    }
    
    .bet-section {
        flex-direction: column;
        gap: 10px;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

/* ═══════════════════════════════════════════════════════════════ */
/* 🎊 ANIMATIONS AND EFFECTS */
/* ═══════════════════════════════════════════════════════════════ */

@keyframes spinReel {
    0% { transform: translateY(0); }
    100% { transform: translateY(-400px); }
}

@keyframes winCelebration {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1) rotate(-5deg); }
    75% { transform: scale(1.1) rotate(5deg); }
}

.celebrating {
    animation: winCelebration 0.6s ease-in-out infinite;
}

.spin-animation {
    animation: spinReel 2s cubic-bezier(0.23, 1, 0.32, 1);
}

/* =========================================================================
   CRYPTO ROULETTE & BLACKJACK STYLES
   Additional casino games for the enhanced gaming platform
   ========================================================================= */

/* Crypto Roulette Styles */
.roulette-card {
    background: linear-gradient(135deg, #1a4c1a 0%, #1a1a2e 100%);
    border: 2px solid #2ed573;
}

.crypto-roulette-game {
    padding: 30px;
    background: linear-gradient(135deg, #0f3a0f 0%, #1a1a2e 100%);
}

.roulette-wheel {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.wheel-container {
    position: relative;
    width: 300px;
    height: 300px;
}

#roulette-canvas {
    border: 4px solid #ffd700;
    border-radius: 50%;
    background: linear-gradient(135deg, #2ed573 0%, #20bf6b 100%);
}

.wheel-ball {
    position: absolute;
    width: 15px;
    height: 15px;
    background: #fff;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    z-index: 10;
}

.betting-board {
    background: linear-gradient(135deg, #2c2c54 0%, #1a1a2e 100%);
    border: 2px solid #2ed573;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.bet-cell {
    width: 50px;
    height: 50px;
    border: 2px solid #ffd700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.bet-cell.red { background: #ff4757; color: white; }
.bet-cell.black { background: #2c2c54; color: white; }
.bet-cell.zero { background: #2ed573; color: white; }

/* Crypto Blackjack Styles */
.blackjack-card {
    background: linear-gradient(135deg, #4c1a4c 0%, #1a1a2e 100%);
    border: 2px solid #ff6b6b;
}

.crypto-blackjack-game {
    padding: 30px;
    background: linear-gradient(135deg, #2d1a2d 0%, #1a1a2e 100%);
}

.blackjack-table {
    background: linear-gradient(135deg, #2d7a2d 0%, #1a5a1a 100%);
    border: 3px solid #ffd700;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 25px;
}

.card {
    width: 60px;
    height: 84px;
    background: white;
    border: 2px solid #2c2c54;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

