/* Casino Game Styling */

.casino-game-container {
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    font-family: 'Arial', sans-serif;
}

.casino-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid rgba(255,255,255,0.3);
}

.casino-header h2 {
    color: white;
    margin: 0;
    font-size: 32px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.balance-display {
    color: white;
    font-size: 24px;
    font-weight: bold;
    background: rgba(0,0,0,0.2);
    padding: 10px 20px;
    border-radius: 8px;
}

#player-balance {
    color: #4ade80;
    font-weight: bold;
}

.game-area {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.reels {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    padding: 30px;
    background: #f0f0f0;
    border-radius: 10px;
}

.reel {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    border-radius: 10px;
    border: 4px solid #333;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.1s ease;
}

.reel.spinning {
    animation: spin 0.5s ease-in-out;
}

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

.controls {
    text-align: center;
    margin-bottom: 30px;
}

.controls label {
    font-size: 18px;
    font-weight: bold;
    margin-right: 20px;
}

.controls input {
    padding: 10px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 5px;
    width: 120px;
    margin-right: 20px;
}

.spin-btn {
    padding: 15px 40px;
    font-size: 20px;
    font-weight: bold;
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.spin-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0,0,0,0.3);
}

.spin-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.game-info {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    margin-top: 20px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .casino-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .reels {
        flex-direction: column;
        gap: 15px;
    }
    
    .reel {
        width: 100%;
        height: 100px;
    }
    
    .spin-btn {
        width: 100%;
    }
}
