/* ============================================================
   Kids Kingdom - Numbers Quiz
   Bilingual (English + Hindi together) - number shown large,
   4 picture-options below. No tabs (single image set only).
   Reuses exam-btn/exam-score classes from addition-exam.css.
   ============================================================ */

.nq-wrap {
    max-width: 700px;
    margin: 0 auto;
    padding: 10px 16px 50px;
}

.hero-hindi-h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-dark, #2D3142);
    margin-top: 14px;
}

/* ================= QUESTION LIST ================= */
.nq-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 30px;
}

.nq-card {
    background: #fff;
    border-radius: 20px;
    padding: 24px 22px;
    box-shadow: 0 2px 14px rgba(0,0,0,0.08);
    text-align: center;
}

.nq-card-number {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    color: #aaa;
    margin-bottom: 10px;
}

.nq-prompt {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.nq-digit {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3rem;
    color: var(--color-primary, #FF6B6B);
    line-height: 1;
}

.nq-words {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-dark, #2D3142);
}

.nq-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.nq-option {
    border: 3px solid var(--color-bg, #FFF9F0);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    transition: transform 0.15s, border-color 0.15s;
    aspect-ratio: 1 / 1;
}

.nq-option img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nq-option:hover {
    transform: translateY(-3px);
    border-color: var(--color-secondary, #4ECDC4);
}

.nq-option.selected {
    border-color: var(--color-primary, #FF6B6B);
    box-shadow: 0 0 0 3px rgba(255,107,107,0.25);
}

.nq-option.is-correct {
    border-color: #10B981;
    box-shadow: 0 0 0 3px rgba(16,185,129,0.25);
}

.nq-option.is-wrong {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239,68,68,0.25);
}

/* ================= ACTIONS + SCORE ================= */
.nq-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 20px;
}

@media (max-width: 560px) {
    .nq-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .nq-digit { font-size: 2.4rem; }
    .nq-words { font-size: 1rem; }
    .nq-options { gap: 10px; }
    .nq-card { padding: 18px 14px; }
}
