/* Animations de base améliorées */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(29, 185, 84, 0.5),
                   0 0 60px rgba(29, 185, 84, 0.3);
    }
    50% { 
        box-shadow: 0 0 40px rgba(29, 185, 84, 0.8),
                   0 0 120px rgba(29, 185, 84, 0.5);
    }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Styles des particules */
.particle {
    position: absolute;
    background: radial-gradient(circle, rgba(29, 185, 84, 1) 0%, rgba(29, 185, 84, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.6;
    transform: translate(var(--random-x), var(--random-y));
    width: var(--random-size);
    height: var(--random-size);
    animation: float var(--random-duration) infinite;
}

/* Effets de verre améliorés */
.glass-effect {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(29, 185, 84, 0.05) 100%
    );
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Effets de survol */
.hover-scale {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Effets de texte */
.gradient-text {
    background: linear-gradient(to right, #1DB954, #1ed760);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient-shift 3s ease infinite;
    background-size: 200% 200%;
}

/* Media Queries améliorées */
@media (max-width: 768px) {
    .hero-video {
        display: none;
    }

    .mobile-bg {
        background: linear-gradient(
            45deg,
            #1DB954 0%,
            #000000 50%,
            #1ed760 100%
        );
        animation: gradient-shift 15s ease infinite;
        background-size: 400% 400%;
    }
}

/* Animations scroll */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Effets de boutons */
.btn-primary {
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #1DB954, #1ed760);
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    transform: scale(0);
    opacity: 0;
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

.btn-primary:hover::before {
    transform: scale(1);
    opacity: 1;
}