/* Death Screen Styles */
.death-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    display: none;
    border: 3px solid #ff0000;
    box-shadow: 0 0 20px #ff0000;
    animation: pulse 2s infinite;
}

.death-screen h2 {
    color: #ff0000;
    font-size: 48px;
    margin-top: 0;
    text-shadow: 0 0 10px #ff0000;
    animation: flicker 1s infinite;
}

.restart-button {
    background-color: #ff0000;
    color: white;
    border: none;
    padding: 15px 30px;
    margin: 20px 0;
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s;
}

.restart-button:hover {
    background-color: #cc0000;
    transform: scale(1.1);
    box-shadow: 0 0 15px #ff0000;
}

@keyframes pulse {
    0% { box-shadow: 0 0 20px #ff0000; }
    50% { box-shadow: 0 0 30px #ff0000; }
    100% { box-shadow: 0 0 20px #ff0000; }
}

@keyframes flicker {
    0% { opacity: 1; }
    50% { opacity: 0.8; }
    100% { opacity: 1; }
}
