
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;600;700;900&display=swap');

:root{
    --main-green:#0E7C7B;
}

h2, h3, .progress, .final, .score{
    color: var(--main-green);
}


/* ================= BASE ================= */

#lmg-app{
    font-family: 'Heebo', sans-serif;
    text-align: center;
    padding: 20px;
    direction: rtl;
}

/* ================= LETTER SELECT ================= */

#lmg-app h2{
    font-size: 26px;
    color: #0E7C7B;
    margin-bottom: 20px;
    font-weight: 700;
}

#lettersBox{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 500px;
    margin: auto;
}

.letter-btn{
    font-size: 32px;
    font-weight: 700;
    padding: 12px;
    border-radius: 12px;
    border: none;
    background: #f4f4f4;
    cursor: pointer;
    transition: 0.2s;
}

.letter-btn:hover{
    transform: scale(1.05);
    background: #e8e8e8;
}

.letter-btn.selected{
    background: #0E7C7B;
    color: white;
}

/* ================= IMAGE ================= */

.image-box{
    margin: 20px 0;
}

.image-box img{
    width: 240px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ================= QUESTION ================= */

h3{
    font-size: 22px;
    font-weight: 700;
    margin: 10px 0 20px;
    color: #333;
}

/* ================= OPTIONS ================= */

#options{
    margin-top: 20px;
}

.opt{
    width: 85%;
    max-width: 280px;
    margin: 10px auto;
    padding: 16px;
    font-size: 34px;
    font-weight: 600;
    border-radius: 14px;
    border: none;
    background: #E6E6E6;
    cursor: pointer;
    transition: 0.2s;
    display: block;
}

.opt:hover{
    transform: scale(1.03);
    background: #dcdcdc;
}

.opt.wrong{
    background: #e74c3c;
    color: white;
}

.opt.correct{
    background: #2ecc71;
    color: white;
}

/* ================= PROGRESS ================= */

.progress{
    margin-top: 25px;
    font-size: 18px;
    color: #666;
}

/* ================= FINAL SCREEN ================= */

.final{
    font-size: 28px;
    font-weight: 700;
    color: #0E7C7B;
}

.score{
    font-size: 70px;
    font-weight: 900;
    color: #0E7C7B;
}

/* ================= OPTIONAL: BUTTON RESET ================= */

button{
    outline: none;
    background: var(--main-green);
    color: white;
    border: none;
    border-radius: 14px;
    font-family: 'Heebo', sans-serif;
}