/* Custom styles for Game */

:root {
    --game-primary: #007bff;
    --game-success: #28a745;
    --game-dark: #343a40;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.game-canvas {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.game-canvas:hover {
    background-color: #e9ecef !important;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .game-canvas {
        min-height: 200px;
        padding: 2rem !important;
    }
}

/* Animation for score updates */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.badge {
    animation: pulse 0.3s ease;
}

/* Card shadow effects */
.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Table styling */
.table tbody tr {
    transition: background-color 0.2s ease;
}

.table tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}
