.game-over-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.game-over-panel {
    width: 80%;
    max-width: 600px;
    background-color: #222;
    border: 3px solid #FF0000;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    animation: fade-in 0.5s ease-out;
}

.game-over-panel h1 {
    color: #FF0000;
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.game-over-panel p {
    color: white;
    font-size: 18px;
    margin-bottom: 30px;
}

#restart-game-btn {
    background: linear-gradient(to bottom, #AA0000, #880000);
    border: 2px solid #FF0000;
    font-size: 18px;
    padding: 12px 30px;
}

#restart-game-btn:hover {
    background: linear-gradient(to bottom, #DD0000, #AA0000);
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

