

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f2f5f7;
    color: #263238;
    line-height: 1.7;
}

/* =========================================
   2. ENCABEZADO
========================================= */

header {
    width: 100%;
    min-height: 80px;
    background-color: #12355b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 6%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

.logo img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid white;
}

/* =========================================
   3. MENÚ DE NAVEGACIÓN
========================================= */

nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 15px;
}

nav a:hover {
    background-color: #1e6091;
}

/* =========================================
   4. CONTENIDO PRINCIPAL
========================================= */

main {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 45px 0;
}

main > h1 {
    text-align: center;
    color: #12355b;
    font-size: 38px;
    line-height: 1.3;
    margin-bottom: 15px;
}

main > p {
    text-align: center;
    color: #607d8b;
    font-size: 18px;
}

/* =========================================
   5. SECCIONES
========================================= */

section {
    background-color: white;
    margin: 30px 0;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

section h2 {
    color: #12355b;
    font-size: 28px;
    margin-bottom: 20px;
    border-bottom: 2px solid #d9e2e8;
    padding-bottom: 10px;
}

section h3 {
    color: #1e6091;
    font-size: 21px;
    margin-top: 20px;
    margin-bottom: 10px;
}

section p {
    text-align: justify;
    margin-bottom: 18px;
    font-size: 16px;
}

/* =========================================
   6. LISTAS Y TARJETAS
========================================= */

ul {
    margin-left: 25px;
    margin-bottom: 20px;
}

ol {
    margin-left: 30px;
}

li {
    margin-bottom: 12px;
}

.tarjeta {
    background-color: #f8fafc;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #dce3e8;
}

/* =========================================
   7. CONFIGURACIÓN DE TODAS LAS IMÁGENES
========================================= */

/* Configuración general */
img {
    max-width: 100%;
    height: auto;
}

/* Imágenes de las figuras del proyecto */
.img-proyecto,
.img-figura1BO,
.img-Figura3BO,
figure img {
    display: block;
    width: 100%;
    max-width: 650px;
    height: 380px;
    margin: 25px auto;
    object-fit: contain;
    object-position: center;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Imagen principal sobre la glosofobia */
.img-glosofobia {
    display: block;
    width: 100%;
    max-width: 650px;
    height: 380px;
    object-fit: contain;
    object-position: center;
    margin: 25px auto;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Contenedor de cada figura */
figure {
    width: 100%;
    text-align: center;
    margin: 30px auto;
}

/* Texto que aparece debajo de las imágenes */
figcaption {
    max-width: 800px;
    margin: 10px auto;
    color: #607d8b;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

/* =========================================
   8. COLORES DE LAS SECCIONES
========================================= */

#metodologia {
    border-top: 5px solid #6a1b9a;
}

#metodologia h2 {
    color: #6a1b9a;
}

#resultados {
    border-top: 5px solid #2e7d32;
}

#resultados h2 {
    color: #2e7d32;
}

#discusion {
    border-top: 5px solid #ef6c00;
}

#discusion h2 {
    color: #ef6c00;
}

#conclusiones {
    border-top: 5px solid #00838f;
}

#conclusiones h2 {
    color: #00838f;
}

#referencias {
    border-top: 5px solid #455a64;
}

#referencias h2 {
    color: #455a64;
}

#referencias li {
    text-align: justify;
    margin-bottom: 18px;
}

/* =========================================
   9. ENLACES
========================================= */

main a {
    color: #1565c0;
    text-decoration: none;
}

main a:hover {
    text-decoration: underline;
}

/* =========================================
   10. PIE DE PÁGINA
========================================= */

footer {
    background-color: #12355b;
    color: white;
    text-align: center;
    padding: 25px;
    margin-top: 30px;
    font-size: 15px;
}

/* =========================================
   11. ADAPTACIÓN PARA TABLETAS
========================================= */

@media (max-width: 800px) {

    header {
        flex-direction: column;
        gap: 15px;
    }

    nav {
        width: 100%;
    }

    nav a {
        font-size: 14px;
    }

    main {
        width: 94%;
    }

    main > h1 {
        font-size: 30px;
    }

    section {
        padding: 22px;
    }

    .img-proyecto,
    .img-figura1BO,
    .img-Figura3BO,
    .img-glosofobia,
    figure img {
        height: 320px;
    }
}

/* =========================================
   12. ADAPTACIÓN PARA CELULARES
========================================= */

@media (max-width: 500px) {

    header {
        padding: 15px;
    }

    .logo {
        flex-direction: column;
        text-align: center;
    }

    nav {
        flex-direction: column;
    }

    nav a {
        width: 100%;
        text-align: center;
    }

    main > h1 {
        font-size: 25px;
    }

    section {
        padding: 18px;
    }

    section h2 {
        font-size: 23px;
    }

    section h3 {
        font-size: 19px;
    }

    section p {
        font-size: 15px;
        text-align: left;
    }

    .img-proyecto,
    .img-figura1BO,
    .img-Figura3BO,
    .img-glosofobia,
    figure img {
        height: 240px;
        width: 100%;
    }
}

        /* 1. ESTILOS GENERALES */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: Arial, Helvetica, sans-serif;
            background-color: #f2f5f7;
            color: #263238;
            line-height: 1.6;
        }

        /* 2. ENCABEZADO */
        header {
            background: linear-gradient(135deg, #12355b, #1976d2);
            color: white;
            text-align: center;
            padding: 30px 15px;
        }

        header h1 {
            font-size: 30px;
            margin-bottom: 8px;
        }

        header p {
            font-size: 16px;
        }

        nav {
            background-color: #0d2845;
            text-align: center;
            padding: 13px;
        }

        nav a {
            color: white;
            text-decoration: none;
            font-weight: bold;
            padding: 8px 14px;
            display: inline-block;
        }

        nav a:hover {
            color: #90caf9;
        }

        /* 3. CONTENEDOR PRINCIPAL */
        main {
            width: 92%;
            max-width: 850px;
            margin: 35px auto;
        }

        .introduccion {
            text-align: center;
            margin-bottom: 25px;
        }

        .introduccion h2 {
            color: #1565c0;
            margin-bottom: 10px;
        }

        .introduccion p {
            color: #546e7a;
        }

        /* 4. TARJETA DEL JUEGO */
        .juego {
            background-color: white;
            padding: 30px;
            border-radius: 18px;
            box-shadow: 0 5px 20px rgba(18, 53, 91, 0.12);
            border-top: 6px solid #1976d2;
        }

        .insignia {
            display: inline-block;
            background-color: #e3f2fd;
            color: #1565c0;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: bold;
            margin-bottom: 15px;
        }

        .marcador {
            display: flex;
            justify-content: space-between;
            gap: 10px;
            margin-bottom: 15px;
            font-weight: bold;
            color: #12355b;
        }

        .barra-fondo {
            height: 10px;
            background-color: #e0e0e0;
            border-radius: 20px;
            overflow: hidden;
            margin-bottom: 25px;
        }

        .barra-progreso {
            height: 100%;
            width: 0%;
            background: linear-gradient(90deg, #1976d2, #64b5f6);
            transition: width 0.3s ease;
        }

        #pregunta {
            font-size: 22px;
            color: #12355b;
            margin-bottom: 20px;
        }

        /* 5. OPCIONES DE RESPUESTA */
        .opciones {
            display: grid;
            gap: 12px;
        }

        .opcion {
            width: 100%;
            text-align: left;
            padding: 15px;
            border: 2px solid #d6e3ef;
            border-radius: 10px;
            background-color: #ffffff;
            color: #263238;
            font-size: 16px;
            cursor: pointer;
            transition: 0.2s;
        }

        .opcion:hover:not(:disabled) {
            border-color: #1976d2;
            background-color: #eef6ff;
            transform: translateY(-2px);
        }

        .opcion:focus-visible,
        .boton:focus-visible {
            outline: 3px solid #ffca28;
            outline-offset: 3px;
        }

        .opcion:disabled {
            cursor: default;
        }

        .opcion.correcta {
            border-color: #2e7d32;
            background-color: #e8f5e9;
            color: #1b5e20;
        }

        .opcion.incorrecta {
            border-color: #c62828;
            background-color: #ffebee;
            color: #b71c1c;
        }

        /* 6. MENSAJE DE RETROALIMENTACIÓN */
        #retroalimentacion {
            margin-top: 20px;
            padding: 14px;
            border-radius: 10px;
            display: none;
        }

        #retroalimentacion.visible {
            display: block;
        }

        #retroalimentacion.acierto {
            background-color: #e8f5e9;
            color: #1b5e20;
        }

        #retroalimentacion.error {
            background-color: #fff3e0;
            color: #8d4e00;
        }

        /* 7. BOTONES */
        .acciones {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 22px;
        }

        .boton {
            border: none;
            border-radius: 9px;
            padding: 13px 22px;
            font-size: 15px;
            font-weight: bold;
            cursor: pointer;
            transition: 0.2s;
        }

        .boton:hover {
            transform: translateY(-2px);
            opacity: 0.92;
        }

        .principal {
            background-color: #1565c0;
            color: white;
        }

        .secundario {
            background-color: #e3f2fd;
            color: #12355b;
        }

        /* 8. PANTALLA FINAL */
        #resultado {
            display: none;
            text-align: center;
            padding: 20px 5px;
        }

        #resultado h2 {
            color: #1565c0;
            font-size: 28px;
            margin-bottom: 12px;
        }

        #emojiFinal {
            font-size: 55px;
            margin: 12px 0;
        }

        #mensajeFinal {
            margin-bottom: 18px;
        }

        .consejo {
            background-color: #e3f2fd;
            border-left: 5px solid #1976d2;
            border-radius: 8px;
            padding: 18px;
            margin-top: 25px;
        }

        .consejo h3 {
            color: #12355b;
            margin-bottom: 7px;
        }

        /* 9. PIE DE PÁGINA */
        footer {
            text-align: center;
            background-color: #12355b;
            color: white;
            padding: 22px 12px;
            margin-top: 40px;
        }

        footer p {
            font-size: 14px;
        }

        /* 10. DISEÑO PARA CELULARES */
        @media (max-width: 600px) {
            header h1 {
                font-size: 24px;
            }

            main {
                width: 94%;
                margin: 22px auto;
            }

            .juego {
                padding: 20px 16px;
            }

            #pregunta {
                font-size: 19px;
            }

            .opcion {
                font-size: 15px;
            }

            .marcador {
                font-size: 13px;
            }
        }
    
        
/* =====================================
   1. CONFIGURACIÓN GENERAL
===================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f1f5fa;
    color: #26384a;
    line-height: 1.6;
}

/* =====================================
   2. ENCABEZADO
===================================== */

.cabecera-juego {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 22px 5%;
    color: white;
    background: linear-gradient(120deg, #12355b, #1976d2);
}

.marca {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #ffffff;
    color: #1565c0;
    border-radius: 14px;
    font-size: 22px;
    font-weight: bold;
}

.titulo-cabecera h1 {
    font-size: 25px;
    line-height: 1.3;
}

.titulo-cabecera p {
    font-size: 14px;
    opacity: 0.9;
}

.enlace-inicio {
    margin-left: auto;
    color: white;
    text-decoration: none;
    border: 1px solid #ffffff80;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
}

.enlace-inicio:hover {
    background: #ffffff20;
}

/* =====================================
   3. CONTENEDOR PRINCIPAL
===================================== */

.contenedor-juego {
    width: 92%;
    max-width: 1100px;
    margin: 35px auto;
}

[hidden] {
    display: none !important;
}

.bienvenida,
.sala,
.pantalla-final {
    background: white;
    padding: 30px;
    border-radius: 18px;
    border: 1px solid #d6e6f5;
    box-shadow: 0 8px 28px #12355b12;
}

.bienvenida {
    text-align: center;
    border-top: 6px solid #1976d2;
    animation: aparecer 0.5s ease;
}

.etiqueta {
    display: inline-block;
    color: #1565c0;
    background: #e3f2fd;
    padding: 6px 13px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
}

.bienvenida h2 {
    color: #12355b;
    font-size: 32px;
    margin: 18px 0 10px;
}

.bienvenida > p {
    max-width: 650px;
    margin: 0 auto;
    color: #60758a;
}

/* =====================================
   4. ILUSTRACIÓN DE INICIO
===================================== */

.ilustracion-inicio {
    min-height: 180px;
    margin: 25px 0;
    border-radius: 15px;
    background: linear-gradient(135deg, #e4f2ff, #f5faff);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
}

.ilustracion-inicio span {
    font-size: 65px;
    animation: flotar 3s ease-in-out infinite;
}

.ilustracion-inicio span:nth-child(2) {
    animation-delay: 0.3s;
}

.ilustracion-inicio span:nth-child(3) {
    animation-delay: 0.6s;
}

.instrucciones {
    background: #f5f9fe;
    border: 1px solid #dfebf8;
    border-radius: 12px;
    padding: 18px;
    max-width: 650px;
    margin: 0 auto 24px;
}

.instrucciones h3 {
    color: #1565c0;
    margin-bottom: 5px;
}

/* =====================================
   5. BOTONES
===================================== */

.boton {
    border: none;
    border-radius: 10px;
    padding: 14px 24px;
    cursor: pointer;
    font-weight: bold;
    font-size: 15px;
    transition: transform 0.2s, background 0.2s;
}

.boton:hover {
    transform: translateY(-2px);
}

.boton:focus-visible,
.respuesta:focus-visible,
.enlace-inicio:focus-visible,
.enlace-final:focus-visible {
    outline: 3px solid #ffca28;
    outline-offset: 3px;
}

.boton-principal {
    color: white;
    background: linear-gradient(120deg, #1565c0, #2584df);
}

.boton-principal:hover {
    background: #0d47a1;
}

/* =====================================
   6. BARRA SUPERIOR DEL JUEGO
===================================== */

.barra-superior {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 18px;
}

.barra-superior h2 {
    color: #12355b;
    font-size: 23px;
    margin-top: 3px;
}

.texto-pequeno {
    font-size: 11px;
    color: #1976d2;
    font-weight: bold;
    letter-spacing: 1px;
}

.contador {
    min-width: 105px;
    padding: 10px 15px;
    background: #eaf4ff;
    border-radius: 10px;
    text-align: center;
    color: #1565c0;
}

.contador strong {
    display: block;
    font-size: 20px;
}

.progreso-fondo {
    width: 100%;
    height: 10px;
    background: #e3eaf2;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 25px;
}

.progreso {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #1565c0, #64b5f6);
    border-radius: 20px;
    transition: width 0.4s ease;
}

/* =====================================
   7. ESCENARIO VISUAL
===================================== */

.zona-escenario {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 22px;
    align-items: stretch;
}

.escena-visual {
    min-height: 390px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 14px;
    background: linear-gradient(180deg, #c8e7ff, #eff8ff 75%, #d4e5f2 75%);
    border: 1px solid #bddcf7;
}

.ventana {
    position: absolute;
    top: 18px;
    right: 20px;
    background: #ffffffa8;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}

.pizarra {
    position: relative;
    z-index: 1;
    width: 100%;
    text-align: center;
    padding: 28px 15px;
    border: 7px solid #234665;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 15px #12355b20;
}

.pizarra span {
    display: block;
    font-size: 55px;
    margin-bottom: 8px;
}

.pizarra h3 {
    font-size: 21px;
    color: #12355b;
}

.pizarra p {
    font-size: 14px;
    color: #60758a;
    margin-top: 7px;
}

.personajes {
    position: relative;
    z-index: 2;
    font-size: 34px;
    margin-top: 18px;
    text-align: center;
    letter-spacing: -5px;
}

.suelo {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 13px;
    background: #9bbbd6;
}

/* =====================================
   8. PANEL DE DESAFÍOS
===================================== */

.panel-reto {
    padding: 22px;
    background: #f9fbfe;
    border: 1px solid #dce8f5;
    border-radius: 14px;
}

.panel-reto h3 {
    color: #12355b;
    font-size: 22px;
    line-height: 1.4;
    margin: 14px 0 10px;
}

.descripcion-reto {
    color: #62768a;
    font-size: 14px;
    margin-bottom: 18px;
}

.respuestas {
    display: grid;
    gap: 11px;
}

.respuesta {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: 2px solid #d7e4f2;
    background: white;
    color: #26384a;
    text-align: left;
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
    transition: background 0.2s, border 0.2s;
}

.respuesta:hover:not(:disabled) {
    border-color: #1976d2;
    background: #edf6ff;
}

.respuesta:disabled {
    cursor: default;
}

.respuesta.correcta {
    border-color: #2e7d32;
    background: #e8f5e9;
    color: #1b5e20;
}

.respuesta.incorrecta {
    border-color: #c62828;
    background: #ffebee;
    color: #b71c1c;
}

/* =====================================
   9. MENSAJES DEL JUEGO
===================================== */

.mensaje {
    padding: 14px;
    border-radius: 10px;
    margin-top: 15px;
    font-size: 14px;
    animation: aparecer 0.3s ease;
}

.mensaje.acierto {
    color: #1b5e20;
    background: #e8f5e9;
    border-left: 4px solid #43a047;
}

.mensaje.aprendizaje {
    color: #7a4a00;
    background: #fff3e0;
    border-left: 4px solid #f9a825;
}

#continuar {
    width: 100%;
    margin-top: 18px;
}

/* =====================================
   10. INVENTARIO
===================================== */

.inventario {
    margin-top: 25px;
    padding: 20px;
    background: #f4f8fd;
    border-radius: 12px;
    border: 1px solid #e0eaf5;
}

.inventario h3 {
    color: #12355b;
    font-size: 17px;
    margin-bottom: 15px;
}

.objetos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.objeto {
    text-align: center;
    padding: 13px 5px;
    border: 2px dashed #c6d5e5;
    border-radius: 10px;
    color: #718399;
    background: white;
    transition: all 0.3s;
}

.objeto span {
    display: block;
    font-size: 27px;
    filter: grayscale(1);
    opacity: 0.5;
}

.objeto small {
    font-size: 11px;
}

.objeto.obtenido {
    border: 2px solid #43a047;
    color: #1b5e20;
    background: #e8f5e9;
}

.objeto.obtenido span {
    filter: none;
    opacity: 1;
}

/* =====================================
   11. PANTALLA FINAL
===================================== */

.pantalla-final {
    text-align: center;
    border-top: 6px solid #1976d2;
    animation: aparecer 0.5s ease;
}

.trofeo {
    font-size: 75px;
    margin: 10px 0;
}

.pantalla-final h2 {
    color: #12355b;
    font-size: 30px;
    margin: 15px 0 10px;
}

.pantalla-final > p {
    max-width: 650px;
    margin: 0 auto 15px;
}

.resumen-final {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    max-width: 500px;
    margin: 25px auto;
}

.resumen-final div {
    background: #eaf4ff;
    border-radius: 12px;
    padding: 20px 10px;
}

.resumen-final strong,
.resumen-final span {
    display: block;
}

.resumen-final strong {
    color: #1565c0;
    font-size: 27px;
}

.resumen-final span {
    color: #526a80;
    font-size: 13px;
}

.reflexion {
    background: #f0f7ff;
    border-left: 5px solid #1976d2;
    padding: 18px;
    border-radius: 8px;
    text-align: left;
    margin-bottom: 25px !important;
}

.enlace-final {
    display: block;
    width: fit-content;
    margin: 18px auto 0;
    color: #1565c0;
    text-decoration: none;
}

/* =====================================
   12. PIE DE PÁGINA
===================================== */

.pie-juego {
    text-align: center;
    padding: 24px 15px;
    color: white;
    background: #12355b;
    margin-top: 40px;
}

.pie-juego p {
    font-size: 13px;
    margin: 3px 0;
}

/* =====================================
   13. ANIMACIONES
===================================== */

@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes flotar {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* =====================================
   14. ADAPTACIÓN A CELULARES
===================================== */

@media (max-width: 750px) {
    .cabecera-juego {
        flex-wrap: wrap;
        padding: 18px;
    }

    .titulo-cabecera h1 {
        font-size: 19px;
    }

    .titulo-cabecera p {
        font-size: 12px;
    }

    .enlace-inicio {
        width: 100%;
        text-align: center;
        margin: 5px 0 0;
    }

    .contenedor-juego {
        width: 94%;
        margin: 20px auto;
    }

    .bienvenida,
    .sala,
    .pantalla-final {
        padding: 20px 15px;
    }

    .bienvenida h2 {
        font-size: 25px;
    }

    .zona-escenario {
        grid-template-columns: 1fr;
    }

    .escena-visual {
        min-height: 280px;
    }

    .barra-superior h2 {
        font-size: 19px;
    }

    .objetos {
        grid-template-columns: repeat(2, 1fr);
    }

    .ilustracion-inicio {
        gap: 18px;
        min-height: 140px;
    }

    .ilustracion-inicio span {
        font-size: 45px;
    }

    .resumen-final {
        gap: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}


/* =====================================
   FONDO AZUL CELESTE CASI TRANSPARENTE
===================================== */

html {
    background-color: #DDF3FF !important;
}

body {
    min-height: 100vh;
    margin: 0;

    background: linear-gradient(
        135deg,
        rgba(173, 224, 255, 0.75),
        rgba(100, 181, 246, 0.45),
        rgba(220, 240, 255, 0.80)
    ) !important;

    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* TARJETAS PRINCIPALES */

.bienvenida,
.sala,
.pantalla-final {
    background-color: rgba(255, 255, 255, 0.94) !important;
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 25px rgba(21, 101, 192, 0.12);
    border-radius: 18px;
}

/* FONDO DEL ESCENARIO */

.escena-visual {
    background: linear-gradient(
        135deg,
        rgba(187, 222, 251, 0.85),
        rgba(227, 242, 253, 0.75)
    ) !important;
}

/* BOTONES AZULES */

.boton-principal {
    background: #1976D2 !important;
    color: #FFFFFF !important;
}

/* ENCABEZADO */

.cabecera-juego {
    background: rgba(18, 53, 91, 0.96) !important;
    color: white !important;
}

/* PIE DE PÁGINA */

.pie-juego {
    background: rgba(18, 53, 91, 0.94) !important;
    color: white !important;
}

