/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fuentes de respaldo seguras */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #ffffff;
    line-height: 1.6;
    background: linear-gradient(135deg, #1a2a6c, #2c3e50);
    min-height: 100vh;
    overflow-x: hidden;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

h1, h2, h3 {
    font-family: 'Arial Narrow', 'Arial Rounded MT Bold', 'Franklin Gothic Medium', Arial, sans-serif;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Pantallas */
.pantalla {
    display: none;
    min-height: 100vh;
    padding: 20px;
    flex-direction: column;
}

.pantalla.activa {
    display: flex;
}

/* Header - ESTO FALTABA */
header {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 20px;
    width: 100%;
}

header h1 {
    font-family: 'Arial Black', 'Arial Bold', Gadget, sans-serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #f1c40f;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

header h2 {
    font-size: 1.5rem;
    color: #ecf0f1;
    font-weight: 300;
}

/* Main content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* Botones */
.contenedor-botones {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
}

.btn-principal {
    padding: 15px 25px;
    font-size: 1.2rem;
    background: linear-gradient(to right, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-principal:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-principal:active {
    transform: translateY(1px);
}

/* Controles del juego */
.controles-juego {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    width: 100%;
}

.btn-control {
    padding: 10px 20px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-control:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Contadores en el juego */
.contadores {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 15px;
    backdrop-filter: blur(10px);
    margin-bottom: 20px;
    gap: 10px;
}

.contador-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.contador-etiqueta {
    font-size: 0.9rem;
    color: #bdc3c7;
    margin-bottom: 5px;
}

.contador-valor {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f1c40f;
}

/* Preguntas y opciones */
#pregunta-container {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

#pregunta {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #ecf0f1;
    text-align: center;
    line-height: 1.4;
}

.contenedor-opciones {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.opcion-btn {
    padding: 15px 20px;
    background: rgba(52, 152, 219, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    align-items: center;
}

.opcion-btn:hover:not(:disabled) {
    background: rgba(41, 128, 185, 0.9);
    transform: translateY(-2px);
}

.opcion-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.opcion-btn.correcta {
    background: rgba(46, 204, 113, 0.8);
    border-color: #2ecc71;
}

.opcion-btn.incorrecta {
    background: rgba(231, 76, 60, 0.8);
    border-color: #e74c3c;
}

/* Mensajes */
.mensaje {
    padding: 15px 25px;
    border-radius: 15px;
    margin: 15px 0;
    font-weight: bold;
    text-align: center;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mensaje.activo {
    opacity: 1;
}

.mensaje.correcto {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 2px solid #2ecc71;
}

.mensaje.incorrecto {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 2px solid #e74c3c;
}

.mensaje.tiempo {
    background: rgba(243, 156, 18, 0.2);
    color: #f39c12;
    border: 2px solid #f39c12;
}

/* Barra de progreso */
.barra-progreso {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    margin-top: 20px;
    overflow: hidden;
}

.progreso-tiempo {
    height: 100%;
    background: linear-gradient(to right, #2ecc71, #f1c40f, #e74c3c);
    width: 100%;
    transition: width 1s linear;
}

/* ===================== CATEGORÍAS ===================== */
.categorias-contenido {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    width: 100%;
}

.categoria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.categoria-item {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.categoria-item:hover {
    transform: translateY(-5px);
    border-color: #3498db;
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
}

.categoria-item.activa {
    border-color: #f1c40f;
    background: rgba(241, 196, 15, 0.1);
}

.categoria-icono {
    font-size: 3rem;
    margin-bottom: 15px;
}

.categoria-item h3 {
    color: #f1c40f;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.categoria-item p {
    color: #bdc3c7;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* ===================== ESTADÍSTICAS ===================== */
.estadisticas-contenido {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    width: 100%;
}

.estadisticas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.estadistica-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.estadistica-valor {
    font-size: 2.5rem;
    font-weight: bold;
    color: #f1c40f;
    margin-bottom: 10px;
}

.estadistica-label {
    color: #bdc3c7;
    font-size: 0.9rem;
}

.progreso-categorias {
    margin-top: 30px;
}

.progreso-categorias h3 {
    color: #f1c40f;
    margin-bottom: 20px;
    text-align: center;
}

.lista-progreso {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.item-progreso {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.categoria-progreso {
    font-weight: 500;
    color: #ecf0f1;
    min-width: 150px;
}

.barra-progreso-categoria {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin: 0 15px;
    overflow: hidden;
}

.progreso-categoria-llenado {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.porcentaje-progreso {
    color: #f1c40f;
    font-weight: bold;
    min-width: 50px;
    text-align: right;
}

/* ===================== LOGROS ===================== */
.logros-contenido {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    width: 100%;
}

.progreso-total {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
}

.progreso-total h3 {
    color: #f1c40f;
    margin-bottom: 15px;
}

.barra-progreso-logros {
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    margin: 20px 0;
    overflow: hidden;
}

.progreso-logros-llenado {
    height: 100%;
    background: linear-gradient(90deg, #f1c40f, #e74c3c);
    border-radius: 6px;
    transition: width 0.5s ease;
}

.contador-logros {
    color: #bdc3c7;
    font-size: 1.1rem;
}

.lista-logros {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.logro-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.logro-item.desbloqueado {
    border-color: #f1c40f;
    background: rgba(241, 196, 15, 0.1);
}

.logro-item.bloqueado {
    opacity: 0.6;
}

.logro-icono {
    font-size: 2rem;
    min-width: 50px;
}

.logro-info {
    flex: 1;
}

.logro-nombre {
    color: #f1c40f;
    font-weight: bold;
    margin-bottom: 5px;
}

.logro-descripcion {
    color: #bdc3c7;
    font-size: 0.9rem;
    line-height: 1.4;
}

.logro-progreso {
    color: #3498db;
    font-size: 0.8rem;
    margin-top: 5px;
}

.logro-premio {
    background: rgba(241, 196, 15, 0.2);
    color: #f1c40f;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* ===================== REGLAS ===================== */
.reglas-contenido {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    width: 100%;
}

.regla-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.regla-item:last-child {
    margin-bottom: 0;
}

.regla-icono {
    font-size: 2rem;
    margin-right: 15px;
    min-width: 50px;
}

.regla-item p {
    font-size: 1.1rem;
    line-height: 1.5;
}

/* ===================== PAUSA ===================== */
.pausa-contenido {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    width: 100%;
    text-align: center;
}

.estado-juego {
    margin-bottom: 30px;
}

.estado-juego p {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #ecf0f1;
}

.estado-juego span {
    color: #f1c40f;
    font-weight: bold;
}

/* ===================== RESULTADOS ===================== */
.resultados-contenido {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    width: 100%;
    text-align: center;
}

.puntuacion-final h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #ecf0f1;
}

.puntuacion-numero {
    font-size: 4rem;
    font-weight: bold;
    color: #f1c40f;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.mejor-record {
    margin-top: 20px;
}

.mejor-record h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #bdc3c7;
}

.mensaje-record {
    margin-top: 20px;
    padding: 15px;
    background: rgba(46, 204, 113, 0.2);
    border-radius: 10px;
    border: 2px solid #2ecc71;
    color: #2ecc71;
    font-weight: bold;
    display: none;
}

.mensaje-record.activo {
    display: block;
}

/* Formulario para guardar record */
.formulario-nombre {
    margin-top: 15px;
    padding: 15px;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 10px;
    border: 1px solid #2ecc71;
}

.formulario-nombre label {
    display: block;
    margin-bottom: 10px;
    color: #2ecc71;
    font-weight: bold;
}

#input-nombre {
    width: 100%;
    padding: 12px;
    border: 2px solid #2ecc71;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    font-size: 1rem;
    margin-bottom: 10px;
    text-align: center;
}

#input-nombre:focus {
    outline: none;
    border-color: #27ae60;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
}

#btn-guardar-record {
    width: 100%;
    background: linear-gradient(to right, #2ecc71, #27ae60);
}

/* ===================== COMPARTIR ===================== */
.compartir-resultados {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.btn-compartir {
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.btn-compartir:first-child {
    background: linear-gradient(135deg, #3b5998, #2d4373);
    color: white;
}

.btn-compartir:last-child {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.btn-compartir:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.logros-obtenidos {
    margin: 20px 0;
    padding: 15px;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 10px;
    border: 1px solid #2ecc71;
    display: none;
}

.logro-obtenido-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 10px;
}

.logro-obtenido-item:last-child {
    margin-bottom: 0;
}

/* ===================== TABLA DE RECORDS ===================== */
.tabla-records {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    width: 100%;
    max-width: 400px;
    backdrop-filter: blur(10px);
}

.tabla-records h3 {
    color: #f1c40f;
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.lista-records {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.item-record {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.item-record:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.item-record.primero {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.item-record.segundo {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.2), rgba(192, 192, 192, 0.1));
    border: 1px solid rgba(192, 192, 192, 0.3);
}

.item-record.tercero {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.2), rgba(205, 127, 50, 0.1));
    border: 1px solid rgba(205, 127, 50, 0.3);
}

.posicion-record {
    font-weight: bold;
    font-size: 1.2rem;
    min-width: 30px;
}

.primero .posicion-record {
    color: #ffd700;
}

.segundo .posicion-record {
    color: #c0c0c0;
}

.tercero .posicion-record {
    color: #cd7f32;
}

.nombre-record {
    flex: 1;
    text-align: left;
    padding: 0 15px;
    font-weight: 500;
}

.puntaje-record {
    font-weight: bold;
    color: #f1c40f;
    font-size: 1.1rem;
}

.cargando-records {
    text-align: center;
    color: #bdc3c7;
    font-style: italic;
}

/* Récord en el menú */
#record-container {
    margin-top: 30px;
    text-align: center;
}

#record-container h3 {
    font-size: 1.2rem;
    color: #bdc3c7;
}

#mejor-record {
    color: #f1c40f;
    font-weight: bold;
    font-size: 1.5rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    color: #bdc3c7;
    font-size: 0.9rem;
    margin-top: auto;
}

/* Efectos de animación */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.pantalla {
    animation: fadeIn 0.5s ease;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    header h2 {
        font-size: 1.2rem;
    }
    
    #pregunta {
        font-size: 1.3rem;
    }
    
    .contadores {
        padding: 10px;
    }
    
    .contador-valor {
        font-size: 1.2rem;
    }
    
    .btn-principal {
        padding: 12px 20px;
        font-size: 1.1rem;
    }
    
    .puntuacion-numero {
        font-size: 3rem;
    }
    
    .controles-juego {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-control {
        width: 80%;
        max-width: 200px;
    }
    
    .categoria-grid {
        grid-template-columns: 1fr;
    }
    
    .estadisticas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lista-logros {
        grid-template-columns: 1fr;
    }
    
    .compartir-resultados {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-compartir {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .pantalla {
        padding: 10px;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    #pregunta {
        font-size: 1.1rem;
    }
    
    .opcion-btn {
        padding: 12px 15px;
        font-size: 1rem;
    }
    
    .regla-item {
        flex-direction: column;
        text-align: center;
    }
    
    .regla-icono {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .contador-item {
        min-width: 70px;
    }
    
    .contador-valor {
        font-size: 1.1rem;
    }
    
    .estadisticas-grid {
        grid-template-columns: 1fr;
    }
    
    .categoria-item {
        padding: 20px 15px;
    }
    
    .item-progreso {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .barra-progreso-categoria {
        width: 100%;
        margin: 10px 0;
    }
    
    .tabla-records {
        padding: 15px;
    }
    
    .item-record {
        padding: 10px 12px;
    }
    
    .nombre-record {
        padding: 0 10px;
        font-size: 0.9rem;
    }
    
    .puntaje-record {
        font-size: 1rem;
    }
}


/* ===================== MODAL DE CONFIRMACIÓN ===================== */
.modal-confirmacion {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.modal-contenido {
    background: linear-gradient(135deg, #1a2a6c, #2c3e50);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    border: 2px solid #f1c40f;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-contenido h3 {
    color: #f1c40f;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.modal-contenido p {
    color: #ecf0f1;
    margin-bottom: 25px;
    line-height: 1.5;
}

.modal-botones {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-modal {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 100px;
}

.btn-cancelar {
    background: rgba(231, 76, 60, 0.8);
    color: white;
}

.btn-aceptar {
    background: rgba(46, 204, 113, 0.8);
    color: white;
}

.btn-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive para móviles */
@media (max-width: 480px) {
    .modal-contenido {
        padding: 20px;
        margin: 20px;
    }
    
    .modal-botones {
        flex-direction: column;
    }
    
    .btn-modal {
        width: 100%;
    }
}



/* ===================== MODAL PARA PWA ===================== */
.modal-pwa {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.modal-pwa-contenido {
    background: linear-gradient(135deg, #1a2a6c, #2c3e50);
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    border: 2px solid #f1c40f;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.modal-pwa-header {
    background: rgba(241, 196, 15, 0.1);
    padding: 20px;
    border-bottom: 1px solid rgba(241, 196, 15, 0.3);
}

.modal-pwa-header h3 {
    color: #f1c40f;
    margin: 0;
    text-align: center;
    font-size: 1.3rem;
}

.modal-pwa-body {
    padding: 25px 20px;
    text-align: center;
}

.modal-pwa-body p {
    color: #ecf0f1;
    margin: 0;
    line-height: 1.5;
    font-size: 1rem;
}

.modal-pwa-footer {
    display: flex;
    padding: 15px;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-pwa-footer .btn-modal {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-cancelar {
    background: rgba(231, 76, 60, 0.8);
    color: white;
}

.btn-aceptar {
    background: rgba(46, 204, 113, 0.8);
    color: white;
}

.btn-modal:active {
    transform: scale(0.95);
}

/* Responsive para móviles */
@media (max-width: 480px) {
    .modal-pwa-contenido {
        width: 95%;
        margin: 10px;
    }
    
    .modal-pwa-footer {
        flex-direction: column;
    }
}