body{
    margin:0;
    padding:0;
    font-family:Arial, Helvetica, sans-serif;
    background:linear-gradient(to right,#d9f7ff,#fef6d8);
}

.container{
    width:85%;
    max-width:900px;
    margin:40px auto;
    background:white;
    border-radius:20px;
    padding:30px;
    box-shadow:0 0 20px rgba(0,0,0,0.2);
}

h1{
    text-align:center;
    color:#0077b6;
}

.subtitle{
    text-align:center;
    font-size:20px;
    color:#555;
}

.question{
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#f4faff;
    padding:15px;
    margin:12px 0;
    border-radius:12px;
    font-size:24px;
}

input{
    width:80px;
    height:40px;
    font-size:22px;
    text-align:center;
    border:2px solid #0077b6;
    border-radius:8px;
}

.correct{
    background:#c8f7c5;
}

.wrong{
    background:#ffd6d6;
}

button{
    padding:15px 25px;
    font-size:18px;
    border:none;
    border-radius:10px;
    cursor:pointer;
    margin:15px 10px;
}

#checkBtn{
    background:#00b894;
    color:white;
}

#newBtn{
    background:#0984e3;
    color:white;
}

button:hover{
    transform:scale(1.05);
}

#score{
    text-align:center;
    color:#222;
}

#message{
    text-align:center;
    font-size:28px;
    font-weight:bold;
    margin-top:20px;
    color:#ff6600;
}
/* ===========================
   Back to Home Button
=========================== */

.back-home{
    text-align:center;
    margin:40px 0;
}

.back-home a{
    display:inline-block;
    background:#2563eb;
    color:#fff;
    text-decoration:none;
    font-size:20px;
    font-weight:bold;
    padding:14px 28px;
    border-radius:10px;
    transition:0.3s;
    box-shadow:0 5px 12px rgba(0,0,0,0.15);
}

.back-home a:hover{
    background:#1d4ed8;
    transform:translateY(-3px);
    box-shadow:0 8px 18px rgba(0,0,0,0.2);
}

.back-home a:active{
    transform:scale(0.96);
}

/* Mobile */

@media(max-width:768px){

    .back-home a{
        width:85%;
        max-width:320px;
        font-size:18px;
        padding:15px;
    }

}
.footer{
    text-align: center;
    padding: 20px 10px;
    font-size: 16px;
    color: #555;
}
.next-link{
    text-align:center;
    margin:20px 0;
}

.next-link a{
    color:#2563eb;
    text-decoration:none;
    font-size:16px;
    font-weight:600;
}

.next-link a:hover{
    text-decoration:underline;
}
/* ===========================
   Quick Help Section
=========================== */

.quick-help{
    max-width:360px;
    margin:20px auto;
    padding:10px;
    text-align:center;
    background:#f8fffe;
    border:1px solid #14b8a6;
    border-radius:8px;
    font-size:13px;
    line-height:1.4;
}

.quick-help strong{
    color:#0f766e;
}

.quick-help-btn{
    display:inline-block;
    margin-top:8px;
    padding:6px 14px;
    background:#25D366;
    color:#fff;
    text-decoration:none;
    font-size:13px;
    font-weight:bold;
    border-radius:5px;
}

.quick-help-btn:hover{
    background:#1ebe5d;
}

/* Mobile */

@media (max-width:600px){

    .quick-help{
        max-width:300px;
        padding:8px;
        font-size:12px;
    }

    .quick-help-btn{
        font-size:12px;
        padding:6px 12px;
    }

}