*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,sans-serif;
}

body{
    background:linear-gradient(135deg,#0f172a,#1e293b,#334155);
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
}

.container{
    width:90%;
    max-width:700px;
    background:white;
    border-radius:20px;
    padding:35px;
    box-shadow:0 20px 50px rgba(0,0,0,.3);
    animation:pop .6s ease;
}

@keyframes pop{
    from{
        opacity:0;
        transform:scale(.9);
    }
    to{
        opacity:1;
        transform:scale(1);
    }
}

h1{
    text-align:center;
    color:#2563eb;
    margin-bottom:20px;
}

#timer{
    background:#ef4444;
    color:white;
    text-align:center;
    padding:12px;
    border-radius:10px;
    font-size:20px;
    font-weight:bold;
    margin-bottom:25px;
}

.question-box{
    margin-bottom:25px;
}

#question{
    color:#1e293b;
    margin-bottom:20px;
    line-height:1.6;
}

#answers{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.option{
    background:#f1f5f9;
    border:2px solid transparent;
    padding:15px;
    border-radius:12px;
    cursor:pointer;
    transition:.3s;
    font-size:18px;
}

.option:hover{
    background:#dbeafe;
    border-color:#2563eb;
    transform:translateX(5px);
}

.selected{
    background:#2563eb;
    color:white;
    border-color:#2563eb;
}

#nextBtn{
    width:100%;
    padding:16px;
    border:none;
    border-radius:12px;
    background:#22c55e;
    color:white;
    font-size:18px;
    cursor:pointer;
    transition:.3s;
}

#nextBtn:hover{
    background:#16a34a;
    transform:translateY(-3px);
    box-shadow:0 10px 20px rgba(34,197,94,.3);
}

#nextBtn:active{
    transform:scale(.98);
}

#score{
    margin-top:25px;
    text-align:center;
    color:#16a34a;
    font-size:28px;
}

.correct{
    background:#22c55e !important;
    color:white;
}

.wrong{
    background:#ef4444 !important;
    color:white;
}

@media(max-width:700px){

.container{
    padding:20px;
}

h1{
    font-size:28px;
}

#question{
    font-size:20px;
}

.option{
    font-size:16px;
}

#nextBtn{
    font-size:17px;
}

}