/* Icon Animations CSS */

/* Pulse Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(0, 200, 255, 0.5));
    }
    50% {
        transform: scale(1.15);
        filter: drop-shadow(0 0 15px rgba(0, 200, 255, 0.8));
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(0, 200, 255, 0.5));
    }
}

/* Float Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Glow Animation */
@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(0, 200, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 200, 255, 0.7), 0 0 30px rgba(110, 86, 207, 0.4);
    }
    100% {
        box-shadow: 0 0 5px rgba(0, 200, 255, 0.3);
    }
}

/* Shimmer Animation */
@keyframes shimmer {
    0% {
        background-position: 0% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Rotate Animation */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Shake Animation */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-2px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(2px);
    }
}

/* Apply animations to icons */
.twitter-icon img, .telegram-icon img, .briefcase-icon img {
    animation: float 4s ease-in-out infinite;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 8px rgba(0, 200, 255, 0.4));
}

.twitter-icon:hover img, .telegram-icon:hover img, .briefcase-icon:hover img {
    animation: pulse 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(0, 200, 255, 0.8));
}

.telegram-icon img {
    animation-delay: 0.5s;
}

.briefcase-icon img {
    animation-delay: 1s;
}

/* Card animations */
@keyframes flipCard {
    0% {
        transform: perspective(1000px) rotateY(0deg) scale(1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }
    50% {
        transform: perspective(1000px) rotateY(15deg) scale(1.05);
        box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.4);
    }
    100% {
        transform: perspective(1000px) rotateY(0deg) scale(1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }
}

@keyframes neonPulse {
    0% {
        box-shadow: 0 0 5px rgba(0, 200, 255, 0.3), 0 0 10px rgba(0, 200, 255, 0.2), inset 0 0 5px rgba(0, 200, 255, 0.1);
        border-color: rgba(0, 200, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 200, 255, 0.6), 0 0 30px rgba(110, 86, 207, 0.4), inset 0 0 10px rgba(0, 200, 255, 0.3);
        border-color: rgba(0, 200, 255, 0.6);
    }
    100% {
        box-shadow: 0 0 5px rgba(0, 200, 255, 0.3), 0 0 10px rgba(0, 200, 255, 0.2), inset 0 0 5px rgba(0, 200, 255, 0.1);
        border-color: rgba(0, 200, 255, 0.2);
    }
}

@keyframes particleEffect {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-20px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-40px) scale(0);
    }
}

.card {
    position: relative;
    overflow: hidden;
    animation: neonPulse 4s ease-in-out infinite;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
    animation: flipCard 2s ease-in-out infinite;
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 200, 255, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    opacity: 0;
    transform: scale(0.5);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.card:hover::before {
    opacity: 1;
    transform: scale(1);
}

/* Particle effects for cards */
.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 1;
    box-shadow: 0 0 15px 3px rgba(0, 200, 255, 0.7);
}

.card:hover::after {
    animation: shimmer 2s linear infinite;
    background: linear-gradient(90deg, var(--accent-primary), #6e56cf, var(--accent-primary));
    background-size: 200% 100%;
}

/* Removed glow animation on hover */

.card:hover .platform-logo {
    filter: drop-shadow(0 0 20px rgba(0, 200, 255, 0.9));
    transform: scale(1.15);
}

/* Animation for Feather icons */
.card-icon i {
    transition: all 0.3s ease;
    color: var(--accent-primary);
    filter: drop-shadow(0 0 12px rgba(0, 200, 255, 0.6));
    font-size: 2.2rem;
    stroke-width: 1.5;
}

.card-icon:hover i {
    animation: pulse 1.5s ease-in-out infinite;
    color: var(--accent-primary);
    filter: drop-shadow(0 0 20px rgba(0, 200, 255, 0.9));
    transform: scale(1.15);
}