/* Keyframes for futuristic animations */

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

@keyframes pulse-glow {
    0% { box-shadow: 0 0 10px rgba(255, 0, 60, 0.2); }
    50% { box-shadow: 0 0 30px rgba(255, 0, 60, 0.6); }
    100% { box-shadow: 0 0 10px rgba(255, 0, 60, 0.2); }
}

@keyframes slide-in-left {
    from { transform: translateX(-100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slide-in-right {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fade-up {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes text-shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes neon-flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow: 
            0 0 4px #fff,
            0 0 11px #fff,
            0 0 19px #fff,
            0 0 40px var(--accent-red),
            0 0 80px var(--accent-red),
            0 0 90px var(--accent-red),
            0 0 100px var(--accent-red),
            0 0 150px var(--accent-red);
    }
    20%, 22%, 24%, 55% {
        text-shadow: none;
    }
}

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

.pulse-glow {
    animation: pulse-glow 2s infinite;
}

/* Hover Effects */
.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-10px) scale(1.02);
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.4);
}

/* Page Transitions */
.page-fade {
    animation: fade-up 0.8s ease-out;
}

/* Animated Borders */
.gradient-border-box {
    position: relative;
    border-radius: 20px;
    background: var(--bg-secondary);
    padding: 3px;
    z-index: 1;
}

.gradient-border-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-red), var(--accent-orange), var(--accent-blue));
    border-radius: 20px;
    z-index: -1;
    animation: rotate-gradient 3s linear infinite;
}

@keyframes rotate-gradient {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}
