.text-shimmer {
    --shimmer-base: var(--text-2);
    --shimmer-shine: var(--text);
    --shimmer-time: 2.4s;
    --shimmer-ease: cubic-bezier(0.45, 0.05, 0.35, 1);
}

.text-shimmer.is-shimmering {
    background-image: linear-gradient(100deg, var(--shimmer-base) 42%, var(--shimmer-shine) 50%, var(--shimmer-base) 58%);
    background-size: 250% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: text-shimmer var(--shimmer-time) var(--shimmer-ease) 1 both;
}

.text-shimmer.is-shimmering.is-looping {
    animation-iteration-count: infinite;
    --shimmer-time: 1.6s;
}

@keyframes text-shimmer {
    to {
        background-position: 0 0;
    }
}
