*{
    margin: 0;
    padding:0;
}

body{
    padding-top:var(--header-height);
    background:
        radial-gradient(
            circle at 15% 10%,
            color-mix(in srgb, var(--module-pr-light) 35%, transparent),
            transparent 35%
        ),
        radial-gradient(
            circle at 85% 20%,
            color-mix(in srgb, var(--module-pr) 18%, transparent),
            transparent 30%
        ),
        linear-gradient(
            160deg,
            var(--module-bg),
            var(--bg-main)
        );
    min-height:100vh;
}

body section{
    margin: 2em auto;
    max-width: 1200px;
}

/* COLORES POR MÓDULO --> */

.yamanote{
    --module-pr:#7fc97a;
    --module-pr-dark:#6fbf6a;
    --module-pr-light:#a6df8f;
    --module-bg:#cce9ca;
}
.prefectures{
    --module-pr:#BC002D;
    --module-pr-dark:#9E0025;
    --module-pr-light:#D94B68;
    --module-bg:#F8D7DE;
}
.verbs{
    --module-pr:#8E6BBE;
    --module-pr-dark:#70509A;
    --module-pr-light:#BBA0DD;
    --module-bg:#EEE5F7;
}

/* <-- COLORES POR MÓDULO */

/*NAVEGACIÓN MÓDULOS-HOME*/

.module-menu{
    position:fixed;
    top:20px;
    right:20px;
    z-index:2000;
}
.module-menu-btn{
    width:48px;
    height:48px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:
        rgba(255,255,255,.75);
    backdrop-filter:blur(12px);
    border:
        1px solid rgba(0,0,0,.08);
    box-shadow:
        var(--shadow-md);
    cursor:pointer;
    transition:.3s ease;
}
.module-menu-btn:hover{
    background:var(--module-pr);
    color:white;
}
.module-menu-btn span{
    font-size:1.7rem;
}
.module-menu-panel{
    position:absolute;
    right:0;
    top:60px;
    width:260px;
    padding:var(--space-md);
    background:
        rgba(255,255,255,.88);
    backdrop-filter:
        blur(20px);
    border-radius:
        var(--radius-lg);
    box-shadow:
        var(--shadow-lg);
    border:
        1px solid rgba(0,0,0,.08);
    display:none;
    flex-direction:column;
    gap:var(--space-sm);
}
.module-menu-header{
    display:flex;
    flex-direction: column;
    align-items:center;
    gap:var(--space-sm);
    padding-bottom:var(--space-sm);
    border-bottom:
        1px solid var(--bg-lt-gray);
}
.module-menu-header .logo-kanji{
    font-size:1.8rem;
    color:var(--module-pr);
}
.module-menu-header small{
    display:block;
    color:var(--text-muted);
    font-size:var(--text-xs);
}
.module-menu-panel a{
    display:flex;
    align-items:center;
    gap:var(--space-xs);
    padding:.7rem;
    border-radius:var(--radius-sm);
    color:var(--text-primary);
    transition:.25s ease;
}
.module-menu-panel a:hover{
    background:var(--module-bg);
    color:var(--module-pr);
}
.module-menu-panel h4{
    font-size:var(--text-sm);
    color:var(--text-muted);
    margin-top:var(--space-sm);
}


/* CONTENIDO MÓDULOS*/
.hero-modulos{
    display:grid;
    grid-template-columns:380px 1fr;
    gap:var(--space-xl);
    padding:
        var(--space-xl);
    background:
        rgba(255,255,255,.55);
    backdrop-filter:blur(12px);
    border-radius:var(--radius-lg);
    box-shadow:
        var(--shadow-md);
    border:
        1px solid rgba(255,255,255,.6);

}

.hero-img-modulos{
    border-radius:var(--radius-lg);
    overflow:hidden;
    box-shadow:
        var(--shadow-home);
    position:relative;
}

/*.hero-img-modulos::after{
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            135deg,
            color-mix(in srgb,var(--module-pr) 25%,transparent),
            transparent
        );
}*/

.hero-img-modulos img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-info-modulos h2{
    font-size:var(--text-h1);
    line-height:1;
    letter-spacing:-.03em;
    background:
        linear-gradient(
            90deg,
            var(--text-primary),
            var(--module-pr)
        );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-info-modulos p{
    margin-top:var(--space-sm);
    font-size: var(--text-base);
}

.hero-info-modulos span{
    color: var(--module-pr);
    font-weight: 600;
}

.bottom{
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: var(--space-lg);
    padding: var(--space-sm) var(--space-md);
    background-color: transparent;
}

.modo-quiz,
.modo-estudio{
    background:
        rgba(255,255,255,.7);
    backdrop-filter:blur(10px);
    border-radius:var(--radius-lg);
    padding:var(--space-lg);
    box-shadow:
        var(--shadow-sm);
}

.bottom .modo-quiz,
.bottom .modo-estudio,
.bottom .modo-estudio .modo-estudio-top,
.bottom .modo-estudio .modo-estudio-bottom{
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    width: 100%;
    gap: var(--space-xs);
}
.bottom .modo-quiz h3,
.bottom .modo-estudio h3{
    font-size: var(--text-h3);
}
.bottom .modo-estudio h4{
    font-size: var(--text-h4);
}
.bottom .modo-quiz p,
.bottom .modo-estudio p,
.bottom .modo-estudio .modo-estudio-top p,
.bottom .modo-estudio .modo-estudio-bottom p{
    font-size: var(--text-base);
}
/* Cambie este estilo para probar si las estrellas de resultados se ven 
.material-symbols-rounded{//
    font-family: 'Material Symbols Rounded';
} */
.material-symbols-rounded{
    font-family: 'Material Symbols Rounded';
}
.icono-h2{
    font-size:3rem!important;
    padding:15px;
    border-radius:50%;
    background:
    color-mix(
    in srgb,
    var(--module-pr) 15%,
    white
    );
    color:var(--module-pr);
}
.icono-boton{
    color: black;
    font-size: var(--text-base)!important;
}
.btn-blanco{
    width: 100%;
    padding: 10px 20px;
    background-color: white;
    border: 1px solid grey;
    border-radius: 12px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
    transition: all 0.3s ease;;
}
.btn-blanco:hover{
    background-color: var(--module-bg);
    box-shadow: 0 8px 18px rgb(from var(--module-pr) r g b / 35%);
    color: var(--text-primary);
}
.btn-gris{
    width: 100%;
    padding: 10px 20px;
    background-color: transparent;
    border: 1px solid grey;
    border-radius: 12px;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    gap: var(--space-sm);
    transition: all 0.3s ease;
    font-size: var(--text-md);
}
.btn-gris:not(:disabled):hover{
    background-color: var(--module-pr);
    box-shadow: 0 8px 18px rgb(from var(--module-pr) r g b / 35%);
    color: white;
}
.btn-start{
    width:100%;
    padding:
        14px 24px;
    font-size:var(--text-md);
    font-weight:700;
    color:white;
    border-radius:var(--radius-pill);
    background:
        linear-gradient(
            135deg,
            var(--module-pr-dark),
            var(--module-pr),
            var(--module-pr-light)
        );
    box-shadow:
        0 10px 25px
        color-mix(
            in srgb,
            var(--module-pr) 35%,
            transparent
        );
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.btn-start:hover{
    transform:
        translateY(-4px)
        scale(1.02);
    box-shadow:
        0 18px 35px
        color-mix(
            in srgb,
            var(--module-pr) 45%,
            transparent
        );
}

.btn-nav{
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    width: auto;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    color: var(--text-secondary);
    font-size: var(--text-base);
    cursor: pointer;
    transition: color .2s ease;
}
.btn-nav:hover{
    color: var(--module-pr);
}
.btn-nav .material-symbols-rounded{
    font-size: 1.2em;
}
.modo-estudio-top,
.modo-estudio-bottom{
    background-color: white;
    padding: var(--space-sm) var(--space-sm);
    border: 1px solid grey;
    border-radius: 12px;
}

#study-modal{
    position: fixed;
    inset: 0;
    background-color: var(--bg-lt-gray);
    width: 100%;
    height: 100dvh;
    margin: 0 auto;
    padding: 20px 60px 20px;
    display: none;
    flex-direction: column;
}
.study-modal-int{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    gap: var(--space-sm);
    padding: 20px 0 20px;
}
#study-modal h2{
   font-size: var(--text-h2); 
}
#study-modal p{
    font-size: var(--text-lg);
    margin: 10px;
}
.study-modal-int p{
    font-size: var(--text-lg);
}
.station-slider{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
}
.contenedor{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    flex-wrap: nowrap;
    gap: var(--space-sm);
}
.item-card{
    flex: 0 0 30%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: white;
    border: 2px solid lightgray;
    border-radius: 12px;
    padding: var(--space-sm) var(--space-sm);
    gap: 12px;
    transition: transform .25s,
                box-shadow .25s,
                border-color .25s;
}
.item-card:hover{
    transform: translateY(-3px);
    border: 2px solid var(--module-pr);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .10);
}
.contenedor-int-tarjeta{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.card-no{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xs);
} 
p.card-no{
    font-size: var(--text-xs);
}
.card-no span{
    color: var(--module-pr);
    font-weight: 600;
}
.contenedor-int-tarjeta .card-kanji{
    font-size: var(--text-h2);
    font-weight: 900;
    color: var(--module-pr);
}
.contenedor-int-tarjeta .card-hiragana{
    font-size: var(--text-h4);
    font-weight: 400;
    color: var(--text-secondary);
}
.contenedor-int-tarjeta .card-romaji{
    font-size: var(--text-h4);
    font-weight: 400;
    color: var(--text-primary);
}
.contenedor-int-tarjeta .card-kunon{
    font-size: var(--text-sm);
    font-weight: 400;
    color: var(--text-primary);
}
.flecha-slider .material-symbols-rounded{
    font-size: var(--text-h2);
    background: white;
    border-radius: 50%;
    cursor: pointer;
    transition: .25s;
}
#cards-container{
    flex: 1;
    display: flex;
    gap: 20px;
    overflow-x:auto;
    scroll-behavior: smooth;
    padding: 12px 0;
}

#quiz-modal{
    position: fixed;
    inset: 0;
    background-color: var(--bg-lt-gray);
    width: 100%;
    height: 100dvh;
    padding: 20px 60px;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow-y: hidden;
}
.quiz-modal-int{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 50%;
    max-height: 100%;
    overflow-y: auto;
    padding: var(--space-md) var(--space-lg);
    background-color: white;
    border: 1px solid   var(--text-muted);
    border-radius: 12px;
    margin-top:var(--space-md);
    margin-bottom:var(--space-md);
}
.pantalla-quiz{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
}
.opciones-quiz{
    width: 100%;
    margin: var(--space-lg) 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    
}
.opcion-quiz{
    margin-top: var(--space-md);
    width: 100%;
    height: auto;
    padding: 10px 20px;
    background-color: var(--bg-lt-gray);
    border: 1px solid grey;
    border-radius: 12px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
    transition: all 0.3s ease;
    font-size: var(--text-md);
}
.opcion-quiz:hover{
    background-color: var(--module-pr);
    box-shadow: 0 8px 18px rgb(from var(--module-pr) r g b / 35%);
    color: white;
}
.quiz-type-option{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:var(--space-xs);
}
.quiz-type-option .arrow{
    font-size:var(--text-h4);
    line-height:1;
}
.opcion-quiz.seleccionado{
    background-color: var(--module-pr);
    color:white;
    border-color:var(--module-pr);
    box-shadow:0 8px 18px rgb(from var(--module-pr) r g b / 35%);
}
.pantalla-preguntas,
.pantalla-resultados{
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100dvh;
    padding: 20px 60px;
    background-color: var(--bg-lt-gray);
    z-index: 1000;
}
.pantalla-preguntas{
    overflow-y: hidden;
}
.pantalla-resultados{
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    gap: var(--space-sm);
    text-align: center;
    overscroll-behavior: none;
}
.quiz-card{
    width: 100%;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    border-radius: 12px;
    padding: var(--space-lg);
    border: 1px solid var(--text-muted);
}
.answers{
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}
.quiz-card h3{
    position: relative;
    top: 0;
    left: 0;
}
.quiz-card h1{
    font-size: var(--text-h1);
    color: var(--module-pr);
    align-self: center;
}
.quiz-card .answers{
    width: 100%;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}
#btn-next{
    display: none;
}
.correcta{
    background-color:var(--color-bien);
    color:white;
    border-color:var(--color-bien);
}
.incorrecta{
    background-color:var(--color-mal);
    color:white;
    border-color:var(--color-mal);
}
.respuesta:disabled{
    cursor:default;
    opacity:1;
}
.pantalla-resultados h2{
    font-size:var(--text-h3);
    color:var(--text-primary);
}
#final-score{
    font-size:var(--text-h1);
    color:var(--module-pr);
    font-weight:700;
    line-height:1;
}
.stars{
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
    width:max-content;
    margin: 0 auto var(--space-md);
    font-size:3.5rem;
    line-height:1;
}
.stars-bg{
    color: #d8d8d8;
}
.stars-fill{
    position: absolute;
    top: 0;
    left: 0;
    color: #F4C542;
    overflow: hidden;
    white-space: nowrap;
    width: 0%;
}
#correct-count,
#mistake-count,
#score-message{
    font-size:var(--text-lg);
}
#correct-count{
    color:var(--color-bien);
}
#mistake-count{
    color:var(--color-mal);
}
#score-message{
    font-size:var(--text-lg);
    font-weight:600;
    color:var(--text-primary);
    text-align:center;
    margin-bottom:var(--space-md);
}
.result-cards{
    width:100%;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:var(--space-sm);
    margin-top:var(--space-md);
}
.result-card{
    background-color:var(--bg-card);
    border:1px solid var(--module-pr-light);
    border-radius:12px;
    padding:var(--space-sm);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:var(--space-xs);
}
.result-card .material-symbols-rounded{
    font-size:var(--text-h3);
    color:var(--module-pr);
}
.result-card h4{
    font-size:var(--text-md);
    color:var(--text-primary);
}
.result-card p{
    font-size:var(--text-base);
    color:var(--text-secondary);
}
.final-score-label{
    font-size:var(--text-md);
    color:var(--text-secondary);
    margin-top:calc(var(--space-xs) * -1);
}
.mistakes-review{
    width:100%;
    margin-top:var(--space-md);
}
.mistakes-review h3{
    font-size:var(--text-h4);
    margin-bottom:var(--space-sm);
}
#mistakes-list{
    max-height:250px;
    overflow-y:auto;
    display:flex;
    flex-direction:column;
    gap:var(--space-sm);
}
.mistake-card{
    width:100%;
    background-color:var(--bg-lt-gray);
    border:1px solid var(--text-secondary);
    border-radius:12px;
    padding:var(--space-sm);
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:var(--space-sm);
}
.mistake-info h4{
    font-size:var(--text-h4);
    color:var(--module-pr);
}
.mistake-info p{
    font-size:var(--text-base);
}
.wrong{
    color:var(--color-mal);
    font-weight:600;
}
.correct{
    color:var(--color-bien);
    font-weight:600;
}
.study-error{
    width:auto;
    padding:8px 20px;
}
.resultados-card{
    width: 100%;
    max-width: 700px;
    margin: auto 0;
    background: white;
    border: 1px solid var(--text-muted);
    border-radius: 12px;
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
}

.study-nav-int{
    display: flex;
    gap: var(--space-sm);
}
#reading-guide-modal{
    position:fixed;
    inset:0;
    display:none;
    justify-content:center;
    align-items:center;
    padding:40px;
    background:rgba(0,0,0,.45);
    z-index:2;
}
.reading-guide-card{
    width:100%;
    max-width:700px;
    max-height:85dvh;
    overflow-y:auto;
    background:
        linear-gradient(
            160deg,
            white,
            var(--module-bg)
        );
    border: none;
    padding:var(--space-lg);
    border-radius:var(--radius-lg);
    display:flex;
    flex-direction:column;
    gap:var(--space-xs);
    box-shadow:var(--shadow-lg);
}
.reading-guide-card h2{
    font-size:var(--text-h2);
    color:var(--text-base);
    text-align:center;
}
.reading-guide-card > p{
    text-align:center;
    color:var(--text-secondary);
}
.guide-section{
    background:white;
    border:none;
    border-radius:var(--radius-md);
    padding:var(--space-md);
    box-shadow:var(--shadow-sm);
}

.guide-section:last-of-type{
    border-bottom:none;
    padding-bottom:0;
}
.guide-section h3{
    font-size:var(--text-h4);
    color:var(--text-primary);
}
.guide-section p{
    font-size:var(--text-base);
    line-height:1.7;
    color:var(--text-secondary);
}
#btn-close-guide{
    margin-top:var(--space-md);
}
.study-card-screen{
    display:none;
    flex-direction:column;
    width:100%;
    height:100%;
    overflow-y:auto;
    padding:var(--space-md);
}
#study-card-content{
    width:100%;
    max-width:1100px;
    margin:0 auto;
    display:flex;
    flex-direction:column;
    gap:32px;
}
.study-title{
    text-align:center;
    font-size:var(--text-h2);
    color:var(--text-primary);
}
.study-subtitle{
    text-align:center;
    font-size:var(--text-lg);
    color:var(--text-secondary);
    margin-top:-10px;
}
.study-main-card{
    background: rgba(255,255,255,.8);
    backdrop-filter:blur(15px);
    border:none;
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-md);
    padding:40px;
}
.study-header{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--space-md);
}
.study-header div:first-child{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.study-kanji{
    font-size:6rem;
    background:
    linear-gradient(
    135deg,
    var(--module-pr),
    var(--module-pr-light)
    );
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}
.kanji-boxes{
    display:flex;
    justify-content:center;
    gap:12px;
    margin:18px 0;
}
.kanji-box{
    width:54px;
    height:54px;
    display:flex;
    justify-content:center;
    align-items:center;
    border:2px solid #d8dde5;
    border-radius:10px;
    font-size:2rem;
    font-weight:600;
    background:white;
}
.study-hiragana{
    font-size:2.2rem;
    text-align:center;
    color:var(--text-secondary);
}
.study-romaji{
    text-align:center;
    font-size:2rem;
    color:var(--text-primary);
    margin-top:10px;
}
.study-divider{
    border:none;
    border-top:1px solid #d8dde5;
    margin:30px 0;
}
.study-note{
    text-align:center;
    font-size:1rem;
    color:var(--text-secondary);
}
.study-story-card{
    background: rgba(255,255,255,.8);
    backdrop-filter:blur(15px);
    border:none;
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-md);
    padding:36px;
}
.story-title{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:2rem;
    font-weight:700;
    margin-bottom:20px;
}
.story-title .material-symbols-rounded{
    color:var(--module-pr);
    font-size:2rem;
}
.story-text{
    font-size:1.2rem;
    line-height:1.8;
    color:var(--text-secondary);
}
.study-navigation{
    margin-top:10px;
    display:grid;
    grid-template-columns:180px 1fr 180px;
    align-items:center;
    gap:30px;
}
.progress{
    display:flex;
    flex-direction:column;
    gap:8px;
}
.progress-bar{
    height:12px;
    background:#d8dde5;
    border-radius:999px;
    overflow:hidden;
}
.progress-fill{
    height:100%;
    background:var(--module-pr);
    border-radius:999px;
    transition:.35s;
}
.progress p{
    text-align:center;
    color:var(--text-secondary);
}
.reading-box{
    text-align:center;
    padding:24px 0;
    border-top:1px solid #ddd;
    border-bottom:1px solid #ddd;
}

.reading-list{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:28px;
    margin-bottom:var(--space-sm);
}
.onyomi{
    color:#2563eb;
}
.kunyomi{
    color:#dc2626;
}
.reading-note .size{
    color:#666;
    font-size: var(--text-xs);
}
.onyomi-label{
    color:#2563eb;
    font-weight:700;
}
.kunyomi-label{
    color:#dc2626;
    font-weight:700;
}
.jukujikun-label{
    color:#16a34a;
    font-weight:700;
}
.mixed-label{
    color:#7c3aed;
    font-weight:700;
}
.reading-badge{
    display:inline-flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    width:fit-content;
    margin:20px auto;
    padding:10px 18px;
    border-radius:14px;
}

.badge-title{
    font-size:var(--text-base);
    font-weight:700;
}

.badge-description{
    font-size:var(--text-sm);
    opacity:.8;
}

.reading-list span{
    font-size:var(--text-lg);
    font-weight:600;
}

.reading-badge.onyomi{
    background:#e7f0ff;
    color:#2f6cff;
}

.reading-badge.kunyomi{
    background:#ffeaea;
    color:#d43d3d;
}

.reading-badge.jukujikun{
    background:#e8f7eb;
    color:#1d8b4a;
}

.reading-badge.mixed{
    background:#f0e8ff;
    color:#7c3aed;
}

/* TABLETS */

@media (max-width:1100px){
    .hero-modulos{
        grid-template-columns:1fr;
        gap:var(--space-lg);
    }
    .hero-img-modulos{
        max-height:420px;
    }
    .bottom{
        grid-template-columns:1fr;
    }
    .quiz-modal-int{
        width:min(90%,700px);
    }
    .study-main-card{
        padding:var(--space-lg);
    }
}


/* TABLETS PEQUEÑAS */

@media (max-width:768px){
    .hero-modulos{
        margin-top:0;
    }
    .hero-info-modulos h2{
        text-align:center;
    }
    .hero-info-modulos p{
        text-align:left;
    }
    .btn-blanco,
    .btn-gris,
    .btn-start{
        padding:14px 18px;
    }
    .item-card{
        flex:0 0 75%;
    }
    .flecha-slider .material-symbols-rounded{
        font-size:var(--text-h2);
    }
    #quiz-modal{
        padding:var(--space-sm);
    }
    .quiz-modal-int{
        width:100%;
        margin:0;
        padding:var(--space-md);
    }
    .pantalla-preguntas,
    .pantalla-resultados{
        padding:var(--space-sm);
    }
    .quiz-card{
        padding:var(--space-md);
    }
    .result-cards{
        grid-template-columns:1fr;
    }
    .study-main-card{
        padding:var(--space-md);
    }
    .study-navigation{
        grid-template-columns:140px 1fr 140px;
        gap:var(--space-sm);
    }
}


/* MÓVIL */

@media (max-width:480px){
    .hero-modulos{
        gap:var(--space-md);
    }
    .hero-img-modulos{
        max-height:240px;
    }
    .hero-info-modulos{
        padding:0 var(--space-sm);
    }
    .item-card{
        flex:0 0 100%;
    }
    .flecha-slider{
        display:none;
    }
    #study-modal{
        padding:var(--space-sm);
    }
    .quiz-modal-int{
        padding:var(--space-sm);
    }
    #reading-guide-modal{
        padding:var(--space-sm);
    }
    .reading-guide-card{
        padding:var(--space-sm);
    }
    .study-navigation{
        grid-template-columns:1fr;
    }
    .progress{
        order:-1;
    }
    .reading-list{
        flex-direction:column;
        gap:var(--space-sm);
    }
    .story-box{
        text-align:left;
    }
    .mistake-card{
        flex-direction:column;
        align-items:flex-start;
    }
    .study-error{
        width:100%;
    }
    .logo-subtitle{
        display:none;
    }
    .module-home-btn span{
        display:none;
    }
    .quest-btn{
        padding:.6rem .8rem;
    }
}