/* Estilos adicionales para el sistema Medusa */

/* Efectos de partículas de fondo */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 6s infinite linear;
}

.particle:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.particle:nth-child(2) {
    left: 40%;
    animation-delay: 2s;
    animation-duration: 8s;
}

.particle:nth-child(3) {
    left: 60%;
    animation-delay: 4s;
    animation-duration: 10s;
}

.particle:nth-child(4) {
    left: 80%;
    animation-delay: 6s;
    animation-duration: 7s;
}

@keyframes float {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(1);
    }
}

/* Efectos de brillo para el logo */
.logo-glow {
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 50px rgba(233, 69, 96, 0.3));
    transition: filter 0.3s ease;
}

.logo-glow:hover {
    filter: drop-shadow(0 0 35px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 70px rgba(233, 69, 96, 0.5));
    transform: scale(1.05);
}

/* Animaciones suaves para los elementos */
.fade-in {
    animation: fadeIn 1s ease-in;
}

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

/* Mejoras responsivas */
@media (max-width: 640px) {
    .glass-effect {
        margin: 20px;
        padding: 24px !important;
    }

    .logo-container img {
        height: 100px !important;
    }
}

@media (min-width: 641px) {
    .logo-container img {
        height: 128px !important;
    }
}

/* Efectos de carga */
.loading-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(26, 26, 46, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(26, 26, 46, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(26, 26, 46, 0);
    }
}
