.fancy-text-wrapper {
    display: inline-block;
}

.fancy-text {
    font-weight: bold;
    transition: all 0.5s ease;
}

/* Animation keyframes */
@keyframes fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-30px); }
    60% { transform: translateY(-15px); }
}

@keyframes slide {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes flip {
    from { transform: rotateY(0); }
    to { transform: rotateY(360deg); }
}

@keyframes zoom {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

@keyframes rotate {
    from { transform: rotate(0); }
    to { transform: rotate(360deg); }
}

@keyframes pop {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes flash {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0; }
}

@keyframes rubberBand {
    0% { transform: scaleX(1); transform: scaleY(1); }
    30% { transform: scaleX(1.25); transform: scaleY(0.75); }
    40% { transform: scaleX(0.75); transform: scaleY(1.25); }
    50% { transform: scaleX(1.15); transform: scaleY(0.85); }
    65% { transform: scaleX(0.95); transform: scaleY(1.05); }
    75% { transform: scaleX(1.05); transform: scaleY(0.95); }
    100% { transform: scaleX(1); transform: scaleY(1); }
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

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

/* Animation classes */
.animation-fade {
    animation: fade 2s;
}

.animation-bounce {
    animation: bounce 2s;
}

.animation-slide {
    animation: slide 2s;
}

.animation-flip {
    animation: flip 2s;
}

.animation-zoom {
    animation: zoom 2s;
}

.animation-rotate {
    animation: rotate 2s;
}

.animation-pop {
    animation: pop 2s;
}

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

.animation-flash {
    animation: flash 2s;
}

.animation-rubberBand {
    animation: rubberBand 2s;
}

.animation-typewriter {
    overflow: hidden; 
    white-space: nowrap;
    border-right: .15em solid orange;
    animation: typewriter 4s steps(40, end);
}

/* Loop class for continuous animation */
.loop {
    animation-iteration-count: infinite;
}

/* Gradient text */
.fancy-text.gradient {
    background: linear-gradient(45deg, #f3ec78, #af4261);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
