/* Snake Game Specific Styles */

#snake-canvas {
    border: 3px solid #00FF00;
    background-color: #000000;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.7);
}

.game-over-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
    color: #FFFFFF;
    font-family: 'Arial', sans-serif;
}

.game-over-content {
    background-color: #222;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 3px solid #00FF00;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.7);
    max-width: 500px;
    width: 90%;
}

.game-over-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #FF0000;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
}

.game-over-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.game-over-content button {
    background-color: #00FF00;
    color: #000000;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    margin: 0.5rem;
}

.game-over-content button:hover {
    background-color: #00CC00;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.7);
}

/* Pause Overlay */
.pause-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    color: #FFFFFF;
}

.pause-content {
    background-color: #222;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 3px solid #FFFF00;
    box-shadow: 0 0 30px rgba(255, 255, 0, 0.7);
}

.pause-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #FFFF00;
    text-shadow: 0 0 10px rgba(255, 255, 0, 0.7);
}

.pause-content p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Food animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.food {
    animation: pulse 0.8s infinite;
} 