/**
 * MaydayMoi - Styles pour l'animation du logo avec effet de verre
 */

/* Conteneur principal */
.glass-logo-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
}

/* Cercle avec effet de verre */
.glass-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: appear 1s ease forwards;
    overflow: hidden;
}

/* Animation d'apparition */
@keyframes appear {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Effet de brillance */
.glass-circle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0)
    );
    transform: rotate(30deg);
    animation: rotate 10s linear infinite;
}

/* Animation de rotation */
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Logo à l'intérieur du cercle */
.glass-logo {
    width: 80%;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    animation: float 6s ease-in-out infinite;
}

/* Animation de flottement */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Particules autour du logo */
.glass-particle {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    animation: particleFloat 10s infinite ease-in-out;
}

/* Animation des particules */
@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(10px, 10px);
    }
    50% {
        transform: translate(0, 20px);
    }
    75% {
        transform: translate(-10px, 10px);
    }
}

/* Texte sous le logo */
.glass-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    margin-top: 30px;
    max-width: 80%;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1s ease forwards 0.5s;
    opacity: 0;
}

/* Animation de fade in */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .glass-circle {
        width: 160px;
        height: 160px;
    }
    
    .glass-text {
        font-size: 16px;
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .glass-circle {
        width: 120px;
        height: 120px;
    }
    
    .glass-text {
        font-size: 14px;
        margin-top: 15px;
    }
}
