@keyframes gradient-bg {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.gradient-animate {
    background-size: 200% 200%;
    animation: gradient-bg 12s ease infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
    }
    50% { 
        box-shadow: 0 0 40px rgba(255, 107, 53, 0.4), 0 0 60px rgba(0, 245, 255, 0.2);
    }
}

.glassmorphism:hover {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes gradient-text {
    0%, 100% { 
        background-position: 0% 50%; 
        background-image: linear-gradient(45deg, #FF6B35, #00F5FF, #2D1B69);
    }
    50% { 
        background-position: 100% 50%; 
        background-image: linear-gradient(45deg, #00F5FF, #2D1B69, #FF6B35);
    }
}

.gradient-text {
    background: linear-gradient(45deg, #FF6B35, #00F5FF, #2D1B69);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-text 4s ease infinite;
}

/* Effet de particules cyber */
.cyber-grid {
    background-image: 
        linear-gradient(rgba(0, 245, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 245, 255, 0.1) 1px, transparent 1px);
    background-size: 100px 100px;
}

/* Hover effects améliorés */
.glassmorphism {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glassmorphism:hover {
    transform: translateY(-10px) scale(1.02);
    backdrop-filter: blur(24px);
}

/* Animation de typing pour les titres */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

.typing-effect {
    overflow: hidden;
    border-right: 3px solid #00F5FF;
    white-space: nowrap;
    animation: typing 2s steps(20) 1s forwards, blink-caret 1s step-end infinite;
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #00F5FF; }
}

/* Effet néon sur les boutons */
.neon-button {
    position: relative;
    overflow: hidden;
}

.neon-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.neon-button:hover::before {
    left: 100%;
}