/* ========================================
   PEPITO - Aprende y Juega
   Estilos principales
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primario: #6C5CE7;
    --color-secundario: #00CEC9;
    --color-exito: #00B894;
    --color-error: #E17055;
    --color-advertencia: #FDCB6E;
    --color-fondo: #DFE6E9;
    --color-blanco: #FFFFFF;
    --color-texto: #2D3436;
    --sombra: 0 10px 30px rgba(0,0,0,0.1);
    --sombra-hover: 0 15px 40px rgba(0,0,0,0.15);
}

body {
    font-family: 'Segoe UI', 'Comic Sans MS', Tahoma, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ========================================
   PANTALLAS
   ======================================== */

.pantalla {
    display: none;
    min-height: 100vh;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.pantalla.activa {
    display: flex;
    flex-direction: column;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.contenedor-central {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

/* ========================================
   BARRA SUPERIOR
   ======================================== */

.barra-superior {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: rgba(255,255,255,0.2);
    border-radius: 15px;
    margin-bottom: 20px;
}

.btn-volver {
    background: rgba(255,255,255,0.9);
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    color: var(--color-primario);
}

.btn-volver:hover {
    transform: scale(1.05);
    background: white;
}

.puntos-display {
    background: var(--color-advertencia);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 18px;
    color: var(--color-texto);
}

.info-jugador {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nombre-display {
    font-size: 18px;
    font-weight: bold;
    color: white;
}

/* ========================================
   TÍTULOS
   ======================================== */

.titulo-principal {
    font-size: 2.5em;
    color: white;
    text-align: center;
    text-shadow: 3px 3px 0 rgba(0,0,0,0.2);
    margin-bottom: 20px;
}

.titulo-pepito {
    color: var(--color-advertencia);
    font-size: 1.2em;
}

h2 {
    color: white;
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.2);
}

/* ========================================
   PEPITO - LA MASCOTA
   ======================================== */

.pepito-mascota {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 20px auto;
}

.pepito-cuerpo {
    width: 150px;
    height: 150px;
    background: linear-gradient(145deg, #FDCB6E, #F39C12);
    border-radius: 50%;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: float 3s ease-in-out infinite;
}

.pepito-cuerpo.mini {
    width: 80px;
    height: 80px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.pepito-ojos {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 35px;
}

.pepito-cuerpo.mini .pepito-ojos {
    gap: 12px;
    padding-top: 20px;
}

.ojo {
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pepito-cuerpo.mini .ojo {
    width: 18px;
    height: 18px;
}

.pupila {
    width: 15px;
    height: 15px;
    background: #2D3436;
    border-radius: 50%;
    animation: mirar 4s ease-in-out infinite;
}

.pepito-cuerpo.mini .pupila {
    width: 9px;
    height: 9px;
}

@keyframes mirar {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(3px); }
    75% { transform: translateX(-3px); }
}

.pepito-boca {
    width: 40px;
    height: 20px;
    background: #E17055;
    border-radius: 0 0 40px 40px;
    margin: 15px auto 0;
    position: relative;
}

.pepito-cuerpo.mini .pepito-boca {
    width: 25px;
    height: 12px;
    margin-top: 8px;
}

.pepito-boca.feliz {
    background: #E17055;
}

.pepito-boca.triste {
    border-radius: 40px 40px 0 0;
    background: #E17055;
}

.pepito-boca.sorprendido {
    width: 25px;
    height: 25px;
    border-radius: 50%;
}

.pepito-brazos {
    position: absolute;
    width: 100%;
    top: 60px;
}

.brazo {
    width: 20px;
    height: 60px;
    background: linear-gradient(145deg, #FDCB6E, #F39C12);
    border-radius: 10px;
    position: absolute;
}

.brazo.izquierdo {
    left: 10px;
    transform: rotate(20deg);
}

.brazo.derecho {
    right: 10px;
    transform: rotate(-20deg);
}

.brazo.saludando {
    animation: saludar 0.5s ease-in-out infinite;
    transform-origin: bottom center;
}

@keyframes saludar {
    0%, 100% { transform: rotate(-20deg); }
    50% { transform: rotate(-50deg); }
}

.pepito-mini {
    margin-bottom: 15px;
}

.pepito-mini.animado .pepito-cuerpo {
    animation: saltar 0.5s ease-in-out;
}

@keyframes saltar {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

/* ========================================
   BURBUJAS DE DIÁLOGO
   ======================================== */

.burbuja-dialogo {
    background: white;
    padding: 20px 30px;
    border-radius: 20px;
    position: relative;
    max-width: 350px;
    text-align: center;
    box-shadow: var(--sombra);
    margin: 20px auto;
    font-size: 18px;
    color: var(--color-texto);
}

.burbuja-dialogo::after {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    border: 15px solid transparent;
    border-bottom-color: white;
    border-top: 0;
}

/* ========================================
   INPUTS Y BOTONES
   ======================================== */

.input-nombre {
    margin: 20px 0;
}

.input-nombre input {
    padding: 15px 30px;
    font-size: 20px;
    border: none;
    border-radius: 30px;
    text-align: center;
    width: 280px;
    box-shadow: var(--sombra);
    outline: none;
    transition: all 0.3s;
}

.input-nombre input:focus {
    box-shadow: var(--sombra-hover);
    transform: scale(1.02);
}

.btn-principal {
    background: linear-gradient(145deg, #00CEC9, #00B894);
    color: white;
    border: none;
    padding: 18px 50px;
    font-size: 22px;
    border-radius: 35px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(0,206,201,0.4);
    margin: 10px;
}

.btn-principal:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,206,201,0.5);
}

.btn-principal:active {
    transform: translateY(0);
}

.btn-secundario {
    background: transparent;
    color: white;
    border: 3px solid white;
    padding: 12px 35px;
    font-size: 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    margin: 10px;
}

.btn-secundario:hover {
    background: white;
    color: var(--color-primario);
}

/* ========================================
   MENÚ PRINCIPAL
   ======================================== */

.menu-opciones {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 350px;
}

.btn-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 18px;
    font-weight: bold;
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-menu:hover {
    transform: translateX(10px);
    box-shadow: var(--sombra-hover);
}

.btn-mates {
    background: linear-gradient(145deg, #6C5CE7, #A29BFE);
}

.btn-carreras {
    background: linear-gradient(145deg, #E17055, #FDCB6E);
}

.btn-carreras:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-ranking {
    background: linear-gradient(145deg, #00CEC9, #81ECEC);
}

.btn-icono {
    font-size: 30px;
}

.btn-texto {
    flex: 1;
    text-align: left;
}

.tiempo-disponible {
    background: rgba(255,255,255,0.3);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 14px;
}

/* ========================================
   SELECCIÓN DE NIVELES
   ======================================== */

.grid-niveles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 600px;
}

.btn-nivel {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    color: white;
    text-align: center;
}

.btn-nivel:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-hover);
}

.nivel-1 { background: linear-gradient(145deg, #00B894, #55EFC4); }
.nivel-2 { background: linear-gradient(145deg, #0984E3, #74B9FF); }
.nivel-3 { background: linear-gradient(145deg, #6C5CE7, #A29BFE); }
.nivel-4 { background: linear-gradient(145deg, #E17055, #FAB1A0); }
.nivel-5 { background: linear-gradient(145deg, #D63031, #FF7675); }

.nivel-numero {
    font-size: 48px;
    font-weight: bold;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.2);
}

.nivel-nombre {
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0 5px;
}

.nivel-desc {
    font-size: 14px;
    opacity: 0.9;
}

.nivel-premio {
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 15px;
    margin-top: 10px;
    font-size: 14px;
}

/* ========================================
   PANTALLA DE RETOS
   ======================================== */

.contenedor-reto {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.info-reto {
    display: flex;
    align-items: center;
    gap: 20px;
}

.racha {
    background: linear-gradient(145deg, #E17055, #FDCB6E);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 18px;
    color: white;
}

.tarjeta-problema {
    background: white;
    padding: 40px 60px;
    border-radius: 30px;
    box-shadow: var(--sombra);
    margin: 30px 0;
}

.problema {
    font-size: 48px;
    font-weight: bold;
    color: var(--color-texto);
}

.opciones-respuesta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 400px;
    width: 100%;
}

.btn-opcion {
    padding: 25px;
    font-size: 28px;
    font-weight: bold;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
    color: var(--color-texto);
    box-shadow: var(--sombra);
}

.btn-opcion:hover {
    transform: scale(1.05);
    box-shadow: var(--sombra-hover);
}

.btn-opcion.correcta {
    background: var(--color-exito);
    color: white;
    animation: correcta 0.5s ease;
}

.btn-opcion.incorrecta {
    background: var(--color-error);
    color: white;
    animation: incorrecta 0.5s ease;
}

@keyframes correcta {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes incorrecta {
    0%, 25%, 50%, 75%, 100% { transform: translateX(0); }
    12.5%, 62.5% { transform: translateX(-10px); }
    37.5%, 87.5% { transform: translateX(10px); }
}

.feedback {
    margin-top: 20px;
    font-size: 24px;
    font-weight: bold;
    min-height: 40px;
}

.feedback.correcto {
    color: #55EFC4;
}

.feedback.incorrecto {
    color: #FF7675;
}

/* ========================================
   JUEGO DE CARRERAS
   ======================================== */

.juego-carreras {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#canvas-carrera {
    background: #2D3436;
    border-radius: 20px;
    box-shadow: var(--sombra);
    max-width: 100%;
}

.mensaje-carrera {
    position: absolute;
    background: rgba(255,255,255,0.95);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--sombra);
}

.mensaje-carrera p {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--color-texto);
}

.mensaje-carrera.oculto {
    display: none;
}

.barra-superior.carreras {
    background: rgba(0,0,0,0.3);
}

.info-carrera {
    display: flex;
    gap: 20px;
}

.tiempo-restante {
    background: var(--color-error);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    color: white;
}

.puntuacion-carrera {
    background: var(--color-advertencia);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    color: var(--color-texto);
}

/* ========================================
   RANKING
   ======================================== */

.lista-ranking {
    background: white;
    border-radius: 20px;
    padding: 20px;
    width: 100%;
    max-width: 500px;
    box-shadow: var(--sombra);
}

.item-ranking {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 2px solid var(--color-fondo);
}

.item-ranking:last-child {
    border-bottom: none;
}

.posicion {
    width: 50px;
    font-size: 24px;
    font-weight: bold;
    color: var(--color-texto);
}

.posicion.oro { color: #F1C40F; }
.posicion.plata { color: #BDC3C7; }
.posicion.bronce { color: #E67E22; }

.nombre-ranking {
    flex: 1;
    font-size: 18px;
    font-weight: bold;
    color: var(--color-texto);
}

.puntos-ranking {
    background: var(--color-primario);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
}

.ranking-vacio {
    text-align: center;
    padding: 40px;
    color: #636E72;
    font-size: 18px;
}

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

@media (max-width: 600px) {
    .titulo-principal {
        font-size: 1.8em;
    }

    .problema {
        font-size: 36px;
    }

    .tarjeta-problema {
        padding: 30px 40px;
    }

    .btn-opcion {
        padding: 20px;
        font-size: 24px;
    }

    .grid-niveles {
        grid-template-columns: 1fr;
    }

    .barra-superior {
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* ========================================
   ANIMACIONES ESPECIALES
   ======================================== */

.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    animation: confetti-fall 3s ease-out forwards;
    z-index: 1000;
}

@keyframes confetti-fall {
    0% {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translateY(100vh) rotate(720deg);
    }
}

.tiempo-agregado {
    position: fixed;
    font-size: 32px;
    font-weight: bold;
    color: var(--color-exito);
    animation: tiempo-subir 1s ease-out forwards;
    z-index: 1000;
    text-shadow: 2px 2px 0 white;
}

@keyframes tiempo-subir {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) scale(1.5);
    }
}

/* ========================================
   SISTEMA DE AUTENTICACIÓN
   ======================================== */

.auth-container {
    background: rgba(255,255,255,0.95);
    border-radius: 25px;
    padding: 30px;
    width: 100%;
    max-width: 380px;
    box-shadow: var(--sombra);
}

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.auth-tab {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 15px;
    font-size: 16px;
    font-weight: bold;
    color: var(--color-primario);
    cursor: pointer;
    transition: all 0.3s;
}

.auth-tab.activa {
    background: var(--color-primario);
    color: white;
}

.auth-tab:hover:not(.activa) {
    background: rgba(108, 92, 231, 0.2);
}

.auth-form {
    display: none;
}

.auth-form.activa {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-form input {
    padding: 15px 20px;
    border: 2px solid #E0E0E0;
    border-radius: 15px;
    font-size: 16px;
    transition: all 0.3s;
    outline: none;
}

.auth-form input:focus {
    border-color: var(--color-primario);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.auth-form input::placeholder {
    color: #999;
}

.auth-error {
    color: var(--color-error);
    font-size: 14px;
    min-height: 20px;
    text-align: center;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #DDD;
}

.auth-divider span {
    padding: 0 15px;
    color: #999;
    font-size: 14px;
}

.btn-sin-cuenta {
    background: transparent;
    color: var(--color-primario);
    border: 2px solid var(--color-primario);
}

.btn-sin-cuenta:hover {
    background: var(--color-primario);
    color: white;
}

.btn-logout {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    color: white;
    padding: 10px 25px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 30px;
    transition: all 0.3s;
}

.btn-logout:hover {
    background: rgba(255,255,255,0.2);
    border-color: white;
}

/* Indicador de sesión */
.sesion-activa {
    color: #55EFC4;
    font-size: 14px;
}

.sesion-local {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

/* ========================================
   NIVELES POR CATEGORÍAS
   ======================================== */

.contenedor-niveles {
    max-width: 800px;
    overflow-y: auto;
    padding-bottom: 30px;
}

.categoria-niveles {
    margin-bottom: 30px;
}

.categoria-titulo {
    color: white;
    font-size: 20px;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 4px solid var(--color-advertencia);
}

.niveles-grupo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.btn-nivel {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    color: white;
    text-align: center;
    min-height: 140px;
}

.nivel-icono {
    font-size: 32px;
    margin-bottom: 5px;
}

.nivel-nombre {
    font-size: 16px;
    font-weight: bold;
    margin: 5px 0;
}

.nivel-desc {
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.nivel-premio {
    background: rgba(255,255,255,0.25);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: bold;
}

/* Colores por nivel */
.nivel-1 { background: linear-gradient(145deg, #00B894, #55EFC4); }
.nivel-2 { background: linear-gradient(145deg, #0984E3, #74B9FF); }
.nivel-3 { background: linear-gradient(145deg, #6C5CE7, #A29BFE); }
.nivel-4 { background: linear-gradient(145deg, #E17055, #FAB1A0); }
.nivel-5 { background: linear-gradient(145deg, #FDCB6E, #F39C12); }
.nivel-6 { background: linear-gradient(145deg, #D63031, #FF7675); }
.nivel-7 { background: linear-gradient(145deg, #00CEC9, #81ECEC); }
.nivel-8 { background: linear-gradient(145deg, #A29BFE, #6C5CE7); }
.nivel-9 { background: linear-gradient(145deg, #FF7675, #E17055); }
.nivel-10 { background: linear-gradient(145deg, #74B9FF, #0984E3); }
.nivel-11 { background: linear-gradient(145deg, #2D3436, #636E72); }

/* Título del nivel en pantalla de reto */
.titulo-nivel {
    color: white;
    font-weight: bold;
    font-size: 16px;
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 15px;
}

/* ========================================
   PROBLEMAS ESPECIALES (Fracciones, etc)
   ======================================== */

.tarjeta-problema {
    background: white;
    padding: 30px 40px;
    border-radius: 25px;
    box-shadow: var(--sombra);
    margin: 20px 0;
    max-width: 90%;
}

.problema {
    font-size: 32px;
    font-weight: bold;
    color: var(--color-texto);
    line-height: 1.5;
    text-align: center;
}

/* ========================================
   OPTIMIZACIÓN PARA iPAD
   ======================================== */

.pantalla-carreras {
    touch-action: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
}

#canvas-carrera {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    touch-action: none;
}

.juego-carreras {
    touch-action: none;
    -webkit-overflow-scrolling: auto;
}

/* Safe areas para notch */
.barra-superior {
    padding-top: max(10px, env(safe-area-inset-top));
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
}

/* ========================================
   RESPONSIVE MEJORADO
   ======================================== */

@media (max-width: 600px) {
    .titulo-principal {
        font-size: 1.6em;
    }

    .problema {
        font-size: 24px;
    }

    .tarjeta-problema {
        padding: 20px 25px;
    }

    .btn-opcion {
        padding: 18px;
        font-size: 20px;
    }

    .niveles-grupo {
        grid-template-columns: 1fr 1fr;
    }

    .btn-nivel {
        min-height: 120px;
        padding: 15px 10px;
    }

    .nivel-icono {
        font-size: 26px;
    }

    .nivel-nombre {
        font-size: 14px;
    }

    .nivel-desc {
        font-size: 11px;
    }

    .auth-container {
        padding: 20px;
    }

    .auth-form input {
        padding: 12px 15px;
        font-size: 14px;
    }

    .barra-superior {
        flex-wrap: wrap;
        gap: 8px;
        padding: 8px 15px;
    }

    .info-reto {
        gap: 10px;
    }

    .racha, .puntos-display {
        padding: 8px 12px;
        font-size: 14px;
    }
}

/* iPad específico */
@media (min-width: 768px) and (max-width: 1024px) {
    .contenedor-niveles {
        max-width: 700px;
    }

    .niveles-grupo {
        grid-template-columns: repeat(3, 1fr);
    }

    .problema {
        font-size: 36px;
    }

    .btn-opcion {
        padding: 22px;
        font-size: 26px;
    }
}

/* Landscape en móviles */
@media (max-height: 500px) and (orientation: landscape) {
    .pantalla {
        min-height: 100vh;
        padding: 10px;
    }

    .pepito-mascota {
        transform: scale(0.6);
        margin: 0;
    }

    .burbuja-dialogo {
        padding: 10px 20px;
        font-size: 14px;
    }

    .contenedor-reto {
        padding: 10px;
    }

    .tarjeta-problema {
        padding: 15px 25px;
        margin: 10px 0;
    }

    .problema {
        font-size: 28px;
    }

    .opciones-respuesta {
        gap: 10px;
    }

    .btn-opcion {
        padding: 15px;
        font-size: 22px;
    }
}
