#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Imagen con animación de latidos */
#preloader img {
    width: 10%;
    height: auto;
    animation: heartbeat 1.2s infinite ease-in-out;
}

/* Animación del latido */
@keyframes heartbeat {
    0% { transform: scale(1); }
    30% { transform: scale(1.1); }
    50% { transform: scale(1); }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Estilos para móviles */
@media (max-width: 768px) {
    #preloader img {
        width: 70%;
    }
}

@media (max-width: 480px) {
    #preloader img {
        width: 80%;
    }
}
