/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Segoe UI',sans-serif;
    background:linear-gradient(135deg,#eef4ff,#f8fafc,#edf7ff);
    min-height:100vh;
    padding:20px;
    color:#1e293b;
    
    /* मोबाइल पर टेक्स्ट को जबरन छोटा होने से रोकने के लिए */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* MAIN CARD */
#quiz-container{
    width:100%;
    max-width:1200px;
    margin:auto;
    background:rgba(255,255,255,.95);
    border-radius:25px;
    padding:28px;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
}

/* TOP BAR */
.top-bar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    margin-bottom:25px;
}

/* Progress */
.progress-section{
    flex:1;
}

.progress-text{
    font-size:16px;
    font-weight:600;
    margin-bottom:8px;
}

.progress-bg{
    height:12px;
    background:#dbeafe;
    border-radius:20px;
    overflow:hidden;
}

.progress-fill{
    width:0%;
    height:100%;
    background:linear-gradient(90deg,#2563eb,#38bdf8);
    transition:.3s;
}

/* Timer */
.timer-box{
    background:#fff;
    padding:14px 20px;
    border-radius:18px;
    font-size:18px;
    font-weight:bold;
    color:#2563eb;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

/* QUESTION (DESKTOP) */
.question-box{
    background:linear-gradient(135deg,#eff6ff,#dbeafe);
    border-left:6px solid #2563eb;
    border-radius:18px;
    padding:20px;
    margin-bottom:20px;
    color:#0f172a;
    word-break:break-word;
    overflow-wrap:break-word;
}

/* सुधार: 'inherit' हटाकर डेस्कटॉप पर सीधे 30px फ़ोर्स कर दिया है */
.question-box,
.question-box *{
    font-size:30px !important;
    font-weight:600 !important;
    line-height:1.7 !important;
}

.question-box p{
    margin:0;
}

/* OPTION */
.option{
    display:flex;
    align-items:flex-start;
    background:#fff;
    border:1px solid #e2e8f0;
    border-radius:16px;
    padding:18px;
    margin-bottom:15px;
    cursor:pointer;
    transition:.3s;
    font-size:18px;
}

.option:hover{
    background:#f8fbff;
    border-color:#2563eb;
}

.label-box{
    width:42px;
    height:42px;
    min-width:42px;
    border-radius:50%;
    background:#dbeafe;
    color:#2563eb;
    display:flex;
    justify-content:center;
    align-items:center;
    font-weight:bold;
    margin-right:15px;
    flex-shrink:0;
}

.right-style{
    background:#dcfce7!important;
    border-color:#22c55e!important;
}

.wrong-style{
    background:#fee2e2!important;
    border-color:#ef4444!important;
}

/* Buttons */
.btn-area{
    display:flex;
    gap:15px;
    margin-top:30px;
}

.btn-area button{
    flex:1;
    padding:16px;
    border:none;
    border-radius:15px;
    color:#fff;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
}

.prev-btn{
    background:#64748b;
}

.next-btn{
    background:#2563eb;
}

/* MOBILE */
@media(max-width:720px){

    body{
        padding:5px;
    }

    #quiz-container{
        padding:12px;
        border-radius:8px;
    }

    .top-bar{
        flex-direction:column;
        align-items:stretch;
    }

    .timer-box{
        text-align:center;
        font-size:16px;
    }

    /* सबसे बड़ा सुधार: मोबाइल पर Question और उसके अंदर के सभी टैग्स को सीधे 25px फ़ोर्स किया है */
    .question-box,
    .question-box *{
        font-size:25px !important;
        line-height:1.5 !important;
    }
    
    .question-box{
        padding:16px;
    }

    .option{
        font-size:17px;
        padding:15px;
    }

    .label-box{
        width:36px;
        height:36px;
        min-width:36px;
        margin-right:12px;
    }

    .btn-area{
        gap:10px;
    }

    .btn-area button{
        padding:14px;
        font-size:15px;
    }
}