/* ============================================
   VOYELLES.CSS — LESHANA-ED-SOURETH
   Version PRO V2.5 — Nettoyée et optimisée
============================================ */


/* ============================================================
   GRID PRINCIPALE
============================================================ */

.vowels-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 18px;
    margin-top: 25px;
    padding: 10px;
}


/* ============================================================
   CARTES DE VOYELLES
============================================================ */

.letter-card {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(0,162,255,0.45);
    border-radius: 18px;
    padding: 20px 12px;
    text-align: center;
    color: #fff;

    box-shadow:
        0 0 22px rgba(0,162,255,0.55),
        inset 0 0 14px rgba(0,162,255,0.35);

    transition: 0.25s ease;

    display: flex;
    flex-direction: column;
    align-items: center;
}


/* ============================================================
   SURVOL CARTES
============================================================ */

.letter-card:hover {
    background: rgba(0,102,255,0.45);
    border-color: rgba(0,200,255,0.85);

    box-shadow:
        0 0 30px rgba(0,162,255,0.85),
        0 0 55px rgba(0,162,255,0.65),
        inset 0 0 22px rgba(0,162,255,0.45);

    transform: translateY(-8px) scale(1.07);
}


/* ============================================================
   LETTRE / VOYELLE PRINCIPALE
============================================================ */

.letter {
    font-family: "Nohadra", "Assyrian", sans-serif;

    font-size: 60px;
    line-height: 1;

    width: 100%;

    text-align: center !important;

    direction: rtl;
    unicode-bidi: bidi-override;

    margin-bottom: 8px;

    font-weight: 600;

    text-shadow:
        0 0 12px rgba(255,255,255,0.8),
        0 0 22px rgba(0,162,255,0.8);
}


/* ============================================================
   TEXTE LATIN
============================================================ */

.latin {
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 10px;
}


/* ============================================================
   BOUTONS AUDIO
============================================================ */

.audio-btn {
    padding: 8px 14px;

    border-radius: 999px;

    background: linear-gradient(
        135deg,
        #007bff,
        #00aaff
    );

    color: #fff;

    border: none;

    font-size: 0.9rem;

    cursor: pointer;

    transition: 0.2s ease;

    box-shadow:
        0 0 12px rgba(0,162,255,0.6);
}


/* ============================================================
   SURVOL AUDIO
============================================================ */

.audio-btn:hover {
    background: linear-gradient(
        135deg,
        #0095ff,
        #33cfff
    );

    transform: scale(1.08);
}


/* ============================================================
   LISTE VOYELLES — MODE TABLEAU
============================================================ */

.voyelles-list {
    display: flex;

    flex-direction: column;

    gap: 12px;

    margin: 20px auto 35px;

    width: 100%;

    max-width: 700px;
}


/* ============================================================
   LIGNE VOYELLE
============================================================ */

.voyelles-row {
    display: grid;

    grid-template-columns:
        60px
        1fr
        auto;

    align-items: center;

    gap: 12px;

    padding: 12px 16px;

    border-radius: 14px;

    background:
        rgba(255,255,255,0.05);

    border:
        1px solid rgba(255,255,255,0.12);
}


/* ============================================================
   SYRIAC DANS LISTE
============================================================ */

.voyelles-row .syriac {
    font-family:
        "Nohadra",
        "Assyrian",
        sans-serif;

    font-size: 2rem;

    text-align: center;

    direction: rtl;

    unicode-bidi: bidi-override;
}


/* ============================================================
   BOUTON DANS LISTE
============================================================ */

.voyelles-row button {
    padding: 6px 14px;

    border-radius: 999px;

    background: #007bff;

    color: #fff;

    border: none;

    font-size: 0.9rem;

    cursor: pointer;
}


/* ============================================================
   SECTION LECTURE
============================================================ */

.reading-vowel-box {
    margin: 20px auto 25px;

    padding: 15px 20px;

    text-align: center;

    border-radius: 16px;

    background:
        rgba(0,51,160,0.08);

    border:
        2px solid rgba(0,162,255,0.40);

    box-shadow:
        0 0 20px rgba(0,162,255,0.25),
        inset 0 0 15px rgba(0,162,255,0.12);

    max-width: 420px;
}


/* ============================================================
   LABEL VOYELLE
============================================================ */

.reading-vowel-label {
    font-size: 1rem;

    font-weight: 600;

    margin-bottom: 8px;
}


/* ============================================================
   VOYELLE ÉTUDIÉE
============================================================ */

.reading-vowel {
    font-family:
        "Nohadra",
        "Assyrian",
        "Soureth",
        serif;

    font-size: 5rem;

    line-height: 1.25;

    font-weight: 700;

    direction: rtl;

    unicode-bidi: isolate;

    display: inline-block;

    margin: 5px 0;

    min-height: 80px;

    text-shadow:
        0 0 12px rgba(255,255,255,0.9),
        0 0 24px rgba(0,162,255,0.8);
}


/* ============================================================
   NOM DE LA VOYELLE
============================================================ */

.reading-vowel-name {
    font-size: 1.05rem;

    font-weight: 600;

    margin-top: 4px;

    opacity: 0.9;
}


/* ============================================================
   ZONE DU MOT À LIRE
============================================================ */

.reading-word-box {
    margin: 25px auto;

    padding: 20px 15px;

    text-align: center;
}


/* ============================================================
   LABEL DU MOT
============================================================ */

.reading-word-label {
    font-size: 1rem;

    font-weight: 600;

    margin-bottom: 10px;
}


/* ============================================================
   MOT SOURETH
============================================================ */

#readingSoureth {
    font-family:
        "Nohadra",
        "Assyrian",
        "Soureth",
        serif;

    font-size: 3.4rem;

    line-height: 1.5;

    font-weight: 600;

    direction: rtl;

    unicode-bidi: isolate;

    text-align: center;

    margin: 10px 0;

    text-shadow:
        0 0 10px rgba(255,255,255,0.8),
        0 0 20px rgba(0,162,255,0.7);
}


/* ============================================================
   TRANSLITTÉRATION
============================================================ */

#readingTransliteration {
    font-size: 1.2rem;

    font-weight: 500;

    margin-top: 5px;

    text-align: center;
}


/* ============================================================
   TRADUCTION
============================================================ */

#readingFrench {
    text-align: center;

    font-size: 1.2rem;

    font-weight: 600;

    margin: 10px 0;
}


/* ============================================================
   BOUTONS DE LECTURE
============================================================ */

#readingAudioBtn,
#readingRevealBtn,
#readingNextBtn,
#readingVowelNextBtn {

    margin: 6px 3px;
}


/* ============================================================
   STATUT LECTURE
============================================================ */

.reading-status {
    text-align: center;

    margin-top: 15px;

    opacity: 0.85;
}


/* ============================================================
   RESPONSIVE DESKTOP
============================================================ */

@media (min-width: 900px) {

    .vowels-container {

        grid-template-columns:
            repeat(
                auto-fit,
                minmax(130px, 1fr)
            );

        gap: 24px;
    }


    .letter {

        font-size: 80px;
    }


    .letter-card {

        padding: 28px 18px;
    }
}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 600px) {

    .vowels-container {

        grid-template-columns:
            repeat(
                auto-fit,
                minmax(90px, 1fr)
            );

        gap: 14px;

        padding: 8px;
    }


    .letter {

        font-size: 48px;
    }


    .latin {

        font-size: 0.9rem;
    }


    .audio-btn {

        padding: 7px 12px;

        font-size: 0.85rem;
    }


    /* -----------------------------------------
       LISTE
    ----------------------------------------- */

    .voyelles-row {

        grid-template-columns:
            50px
            1fr;

        grid-template-rows:
            auto
            auto;
    }


    .voyelles-row button {

        grid-column: 1 / -1;

        justify-self: flex-start;

        margin-top: 6px;
    }


    /* -----------------------------------------
       VOYELLE ÉTUDIÉE
    ----------------------------------------- */

    .reading-vowel-box {

        padding: 15px 12px;

        margin: 18px auto 22px;
    }


    .reading-vowel {

        font-size: 5.5rem;

        min-height: 90px;
    }


    /* -----------------------------------------
       MOT
    ----------------------------------------- */

    #readingSoureth {

        font-size: 3rem;

        line-height: 1.4;
    }


    #readingTransliteration {

        font-size: 1.1rem;
    }


    #readingFrench {

        font-size: 1.1rem;
    }


    /* -----------------------------------------
       BOUTONS
    ----------------------------------------- */

    #readingAudioBtn,
    #readingRevealBtn,
    #readingNextBtn,
    #readingVowelNextBtn {

        margin: 5px 2px;
    }

}


/* ============================================================
   TRÈS PETITS ÉCRANS
============================================================ */

@media (max-width: 380px) {

    .vowels-container {

        gap: 10px;
    }


    .letter-card {

        padding: 16px 8px;
    }


    .letter {

        font-size: 44px;
    }


    .latin {

        font-size: 0.82rem;
    }


    .reading-vowel {

        font-size: 5rem;
    }


    #readingSoureth {

        font-size: 2.6rem;
    }

}


/* ============================================================
   FIN VOYELLES.CSS
============================================================ */