/* ============================================================
   CHEAT STORE — Keyframe Animations & Micro-interactions
   Dark Neumorphism Theme (Neon Green Accent)
   ============================================================ */

/* Spin Animation */
@keyframes cs-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.spin {
    animation: cs-spin 0.9s linear infinite;
    display: inline-block;
}

/* Slide Up & Fade Entrance */
@keyframes cs-slide-up {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.animate-slide-up {
    animation: cs-slide-up 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Scale & Fade Entrance (for Lightbox/Modals) */
@keyframes cs-scale-in {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}
.animate-scale-in {
    animation: cs-scale-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Pulse Glow (Neon Green) */
@keyframes cs-pulse-glow {
    0%, 100% { box-shadow: 0 0 10px var(--accent-glow), var(--shadow-raised); }
    50%      { box-shadow: 0 0 24px var(--accent-glow), var(--shadow-raised-lg); }
}
.pulse-glow {
    animation: cs-pulse-glow 2.2s ease-in-out infinite;
}

/* Shimmer Loading Wave */
@keyframes cs-shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.shimmer {
    background: linear-gradient(90deg, var(--bg-surface) 25%, var(--bg-raised) 50%, var(--bg-surface) 75%);
    background-size: 200% 100%;
    animation: cs-shimmer 1.5s infinite;
}

/* Click Micro-interaction */
.bounce-on-click {
    transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.15s ease;
}
.bounce-on-click:active {
    transform: scale(0.96) !important;
}

/* Cascading Entrance Delays */
.delay-1 { animation-delay: 0.05s; }
.delay-2 { animation-delay: 0.1s; }
.delay-3 { animation-delay: 0.15s; }
.delay-4 { animation-delay: 0.2s; }
