
/* Keyframe Animations */
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--highlight) }
}

@keyframes glow-pulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

@keyframes scroll-wheel {
    0% { transform: translateY(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Animation Classes */
.typing {
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--highlight);
    animation: 
        typing 3.5s steps(40, end),
        blink-caret 0.75s step-end infinite;
}

.typewriter {
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--highlight);
    animation: 
        typing 2s steps(30, end) 3.5s forwards,
        blink-caret 0.75s step-end infinite;
    opacity: 0;
    max-width: fit-content;
}

.fade-in {
    animation: fadeIn 2s ease-in 5s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.spin {
    animation: spin 10s linear infinite;
}

.pulse {
    animation: pulse 2s infinite;
}

.float {
    animation: float 6s ease-in-out infinite;
}

/* Particles.js container */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}