/* Keyframes and reveal utilities */

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pop {
    0% {
        transform: scale(0.96);
    }
    60% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float-soft {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes shimmer {
    from {
        background-position: 200% 0;
    }
    to {
        background-position: -200% 0;
    }
}

@keyframes glow-pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(37, 150, 190, 0.32);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(37, 150, 190, 0);
    }
}

.reveal {
    animation: rise 0.55s var(--ease) both;
}

.stagger > * {
    animation: rise 0.5s var(--ease) both;
}

.stagger > *:nth-child(1) { animation-delay: 0.04s; }
.stagger > *:nth-child(2) { animation-delay: 0.1s; }
.stagger > *:nth-child(3) { animation-delay: 0.16s; }
.stagger > *:nth-child(4) { animation-delay: 0.22s; }
.stagger > *:nth-child(5) { animation-delay: 0.28s; }
.stagger > *:nth-child(6) { animation-delay: 0.34s; }
.stagger > *:nth-child(7) { animation-delay: 0.4s; }
.stagger > *:nth-child(8) { animation-delay: 0.46s; }
