@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
    will-change: opacity, transform;
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

.typing {
    overflow: hidden;
    border-right: 2px solid #00FF8C;
    white-space: nowrap;
    animation: typing 3s steps(40) 1s 1 normal both, blink 0.5s step-end infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* NEW: Cyber Glitch Text Animation */
@keyframes cyber-glitch {
    0% {
        text-shadow: 2px 2px 0px #FF0055, -2px -2px 0px #00FF8C;
        clip-path: inset(10% 0 80% 0);
    }

    20% {
        text-shadow: -2px -2px 0px #FF0055, 2px 2px 0px #00FF8C;
        clip-path: inset(80% 0 10% 0);
    }

    40% {
        text-shadow: 2px -2px 0px #FF0055, -2px 2px 0px #00FF8C;
        clip-path: inset(40% 0 50% 0);
    }

    60% {
        text-shadow: -2px 2px 0px #FF0055, 2px -2px 0px #00FF8C;
        clip-path: inset(20% 0 60% 0);
    }

    80% {
        text-shadow: 2px 2px 0px #FF0055, -2px -2px 0px #00FF8C;
        clip-path: inset(60% 0 20% 0);
    }

    100% {
        text-shadow: -2px -2px 0px #FF0055, 2px 2px 0px #00FF8C;
        clip-path: inset(10% 0 80% 0);
    }
}

/* NEW: Floating Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}