/* ==============================================================================
   VendlyPOS Menú Digital — Micro-Animations & Transitions (animations.css)
   ============================================================================== */

@keyframes pulse-glow {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 6px var(--accent-gold);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.15);
    box-shadow: 0 0 14px var(--accent-gold);
  }
}

@keyframes skeleton-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.skeleton-loading {
  background: linear-gradient(
    90deg,
    rgba(37, 18, 4, 0.6) 25%,
    rgba(54, 26, 7, 0.8) 50%,
    rgba(37, 18, 4, 0.6) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.8s infinite;
}

@keyframes pop-bounce {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  60% {
    transform: scale(1.12);
    opacity: 1;
  }
  80% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes badge-bump {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}

.badge-bump-animate {
  animation: badge-bump 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fade-in-up 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Spinner de carga */
.spinner-icon {
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(18, 7, 0, 0.3);
  border-top-color: #120700;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
