/* Enhanced Visual Effects */

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* Glow Animation */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(100, 255, 218, 0.6);
    }
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Bounce Animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Rotate Animation */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Slide In Animation */
@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Enhanced Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(100, 255, 218, 0.2);
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-rotate {
    transition: transform 0.3s ease;
}

.hover-rotate:hover {
    transform: rotate(5deg);
}

/* Gradient Text Animation */
.gradient-text {
    background: linear-gradient(45deg, #64ffda, #a855f7, #06b6d4, #8b5cf6);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

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

/* Neon Glow Effect */
.neon-glow {
    text-shadow: 
        0 0 5px #64ffda,
        0 0 10px #64ffda,
        0 0 15px #64ffda,
        0 0 20px #64ffda;
    animation: neonPulse 2s ease-in-out infinite alternate;
}

@keyframes neonPulse {
    from {
        text-shadow: 
            0 0 5px #64ffda,
            0 0 10px #64ffda,
            0 0 15px #64ffda,
            0 0 20px #64ffda;
    }
    to {
        text-shadow: 
            0 0 2px #64ffda,
            0 0 5px #64ffda,
            0 0 8px #64ffda,
            0 0 12px #64ffda;
    }
}

/* Particle Trail Effect */
.particle-trail {
    position: relative;
    overflow: hidden;
}

.particle-trail::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(100, 255, 218, 0.3), transparent);
    animation: particleTrail 2s infinite;
}

@keyframes particleTrail {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Magnetic Effect Enhancement */
.magnetic-effect {
    transition: transform 0.3s ease;
}

.magnetic-effect:hover {
    transform: scale(1.02);
}

/* Enhanced Cursor Effect */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #64ffda, #a855f7);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #64ffda, #a855f7);
    z-index: 10000;
    transition: width 0.1s ease;
}

/* Enhanced Button Effects */
.btn-enhanced {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.btn-enhanced:hover::before {
    left: 100%;
}

/* Card Flip Effect */
.card-flip {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.card-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.card-flip:hover .card-flip-inner {
    transform: rotateY(180deg);
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(100, 255, 218, 0.3);
    border-top: 4px solid #64ffda;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Typing Cursor Enhancement */
.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1.2em;
    background: linear-gradient(45deg, #64ffda, #a855f7);
    margin-left: 2px;
    animation: blink 1s infinite;
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.5);
}

/* Enhanced Timeline */
.timeline-enhanced::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #64ffda, #a855f7, #06b6d4);
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
    animation: timelineGlow 2s ease-in-out infinite alternate;
}

@keyframes timelineGlow {
    from {
        box-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
    }
    to {
        box-shadow: 0 0 40px rgba(100, 255, 218, 0.6);
    }
}

/* Floating Elements */
.floating {
    animation: float 6s ease-in-out infinite;
}

.floating-delay-1 {
    animation-delay: 0s;
}

.floating-delay-2 {
    animation-delay: 2s;
}

.floating-delay-3 {
    animation-delay: 4s;
}

/* Parallax Background */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Glass Morphism Effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Text Reveal Animation */
.text-reveal {
    overflow: hidden;
    position: relative;
}

.text-reveal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #020617;
    animation: textReveal 2s ease-in-out forwards;
}

@keyframes textReveal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Enhanced Focus States */
.focus-enhanced:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(100, 255, 218, 0.3);
    transform: scale(1.02);
}

/* Smooth Transitions */
.smooth-transition {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .gradient-text {
        background: #64ffda;
        -webkit-text-fill-color: #64ffda;
    }
    
    .neon-glow {
        text-shadow: 0 0 5px #64ffda;
    }
} 