/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:20px;

    background:linear-gradient(135deg,#0f172a,#2563eb,#38bdf8);
    background-size:300% 300%;
    animation:bgMove 8s infinite alternate;
}

@keyframes bgMove{
    from{
        background-position:left;
    }
    to{
        background-position:right;
    }
}

.container{
    width:430px;
    max-width:95%;

    background:rgba(255,255,255,.12);
    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.25);
    border-radius:20px;

    padding:35px;
    text-align:center;

    box-shadow:0 15px 40px rgba(0,0,0,.25);
}

.main-title{
    color:#ffffff;
    font-size:30px;
    font-weight:700;
    margin-bottom:10px;
}

.subtitle{
    color:#f1f5f9;
    margin-bottom:25px;
    font-size:15px;
}

label{
    display:block;
    text-align:left;
    color:white;
    font-weight:600;
    margin-bottom:8px;
}

input{
    width:100%;
    padding:13px;
    border:none;
    border-radius:10px;
    outline:none;
    font-size:16px;
}

button{
    width:100%;
    margin-top:20px;
    padding:14px;

    border:none;
    border-radius:10px;

    background:#10b981;
    color:white;

    font-size:17px;
    font-weight:600;

    cursor:pointer;
    transition:.3s;
}

button:hover{
    background:#059669;
    transform:translateY(-2px);
}

.result{
    margin-top:25px;
    background:white;
    padding:20px;
    border-radius:12px;
    color:#111827;
    box-shadow:0 5px 20px rgba(0,0,0,.15);
}

#totalScore{
    color:#111827;
    font-size:40px;
    font-weight:700;
}

h2{
    color:#111827;
    margin-bottom:10px;
}

h3{
    color:#111827;
}

hr{
    margin:15px 0;
    border:none;
    height:1px;
    background:#d1d5db;
}

/* Progress Bar */

.progress{
    width:100%;
    height:18px;
    background:#d1d5db;
    border-radius:20px;
    overflow:hidden;
    margin-top:12px;
}

.progress-fill{
    width:0%;
    height:100%;
    background:linear-gradient(90deg,#22c55e,#16a34a);
    transition:width .8s ease;
}

/* Footer */

.footer{
    margin-top:20px;
    color:#ffffff;
    font-size:14px;
    line-height:1.8;
}

.footer strong{
    font-weight:700;
}

/* Mobile */

@media (max-width:768px){

    .container{
        width:95%;
        padding:25px;
    }

    .main-title{
        font-size:24px;
    }

    #totalScore{
        font-size:32px;
    }

}
