* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #f64f59, #c471ed, #12c2e9);
    color: #fff;
    text-align: center;
}

.container {
    background: rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: 15px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}


.container:hover {
    transform: scale(1.05);
}

h1 {
    margin-bottom: 15px;
    font-size: 2rem;
    letter-spacing: 2px;
}

input {
    width: 100%;
    padding: 12px;
    margin: 15px 0;
    border: none;
    border-radius: 25px;
    background: #fff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

input:focus {
    background-color: #f5f5f5;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

button {
    padding: 12px 20px;
    margin-top: 20px;
    border: none;
    background-color: #f9d423;
    color: #333;
    font-size: 1.1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

button:disabled {
    background-color: #aaa;
    cursor: not-allowed;
}

button:hover:enabled {
    background-color: #ff4e50;
    color: #fff;
    box-shadow: 0 5px 15px rgba(255, 78, 80, 0.3);
}

.try-again-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    background-color: #4ac29a;
    border-radius: 25px;
    color: white;
    cursor: pointer;
    border: none;
    z-index: 99999;
    display: none;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #fff;
    font-size: 2rem;
    z-index: 1000;
}

.overlay.show {
    display: flex;
}

.countdown {
    animation: fadeIn 1s ease;
    font-size: 3rem;
}

.radial-meter {
    margin-top: 30px;
    width: 150px;
    height: 150px;
    background: conic-gradient(#ff4e50 calc(var(--percent) * 1%), #4ac29a calc(var(--percent) * 1%));
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.radial-meter::before {
    content: attr(data-score) '%';
    position: absolute;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    input {
        font-size: 0.9rem;
    }

    button {
        font-size: 1rem;
    }

    .container {
        padding: 30px;
    }

    .countdown {
        font-size: 2.5rem;
    }

    .radial-meter {
        width: 120px;
        height: 120px;
    }

    .radial-meter::before {
        font-size: 1.2rem;
    }
}