/* ═══════════════════════════════════════════════════
   PREMIUM GAMING — Animations
   ═══════════════════════════════════════════════════ */

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(232, 131, 107, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(232, 131, 107, 0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* ── Animation Classes ── */
.animate-fadeIn {
    animation: fadeIn 0.4s ease both;
}

.animate-fadeInUp {
    animation: fadeInUp 0.5s ease both;
}

.animate-fadeInDown {
    animation: fadeInDown 0.4s ease both;
}

.animate-scaleIn {
    animation: scaleIn 0.35s var(--transition-spring) both;
}

.animate-slideUp {
    animation: slideUp 0.4s ease both;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-pulseGlow {
    animation: pulseGlow 2s ease-in-out infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

.animate-delay-4 {
    animation-delay: 0.4s;
}

.animate-delay-5 {
    animation-delay: 0.5s;
}

/* ── Shimmer Loading ── */
.shimmer {
    background: linear-gradient(90deg, var(--color-surface-muted) 25%, var(--color-border-light) 50%, var(--color-surface-muted) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-md);
}

/* ── Button Press Effect ── */
.press-effect {
    transition: transform var(--transition-fast);
}

.press-effect:active {
    transform: scale(0.96);
}

/* ── Screen Transitions ── */
.screen {
    animation: fadeIn 0.3s ease both;
}

.screen.entering {
    animation: fadeInUp 0.35s ease both;
}