/* Pink Pixies Premium Animations */

/* Point Popup Animation */
@keyframes point-popup {
    0% {
        transform: translateY(0) scale(0.5);
        opacity: 0;
    }

    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }

    100% {
        transform: translateY(-40px) scale(1);
        opacity: 0;
    }
}

.animate-point {
    animation: point-popup 1.5s ease-out forwards;
}

/* Confetti Rain (Simplified SVG-based or CSS) */
@keyframes confetti-fall {
    0% {
        transform: translateY(-10vh) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

.confetti {
    position: fixed;
    top: -10px;
    width: 10px;
    height: 10px;
    z-index: 9999;
    pointer-events: none;
    animation: confetti-fall 3s linear forwards;
}

/* float animation for stats */
@keyframes float {

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

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

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* pulse for loyalty badge */
@keyframes pulse-pink {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(236, 72, 153, 0);
    }
}

#loyalty-badge {
    animation: pulse-pink 2s infinite;
}

/* subtle bounce for badges */
@keyframes bounce-subtle {

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

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

.animate-bounce-subtle {
    animation: bounce-subtle 2s ease-in-out infinite;
}

/* Skeleton Loading Shimmer */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.skeleton-light {
    background: linear-gradient(90deg, #fce7f3 25%, #fdf2f8 50%, #fce7f3 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
}

.skeleton-text {
    height: 10px;
    margin-bottom: 8px;
    border-radius: 4px;
}

.skeleton-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}