/* Game Over en Name Entry styling */

/* Game Over scherm titel */
#name-entry-screen h1 {
    font-size: 3em;
    font-weight: bold;
    background: linear-gradient(45deg, #ff6b6b, #ee5a52, #ff6b6b);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin: 0;
    letter-spacing: 2px;
}

/* Score tekst */
#name-entry-screen p {
    font-size: 1.5em;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 10px 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Final score glow effect */
#final-score {
    color: #ffd700;
    font-weight: 900;
    font-size: 1.2em;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
    animation: scoreGlow 2s ease-in-out infinite alternate;
}

@keyframes scoreGlow {
    0% {
        text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
    }
    100% {
        text-shadow: 0 0 25px rgba(255, 215, 0, 1), 0 0 35px rgba(255, 215, 0, 0.6);
    }
}

/* Name form container */
#name-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 90%;
}

/* Input field styling */
#name-form #player-name {
    padding: 15px 20px;
    font-size: 1.2em;
    width: 280px;
    max-width: 90%;
    margin: 0;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#name-form #player-name::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

#name-form #player-name:focus {
    outline: none;
    border-color: rgba(255, 215, 0, 0.8);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3), 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Responsive voor name entry */
@media (max-width: 768px) {
    #name-entry-screen h1 {
        font-size: 2.2em;
    }
    
    #name-entry-screen p {
        font-size: 1.2em;
    }
    
    #name-form {
        padding: 20px;
        max-width: 350px;
    }
    
    #name-form #player-name {
        width: 250px;
        font-size: 1.1em;
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    #name-entry-screen h1 {
        font-size: 1.8em;
    }
    
    #name-entry-screen p {
        font-size: 1.1em;
    }
    
    #name-form {
        padding: 15px;
        max-width: 300px;
    }
    
    #name-form #player-name {
        width: 220px;
        font-size: 1em;
        padding: 10px 12px;
    }
}