/* ===================================================
   Animations & Micro-interactions
   =================================================== */

/* Hero Entrance: Polaroid cards floating up from bottom */
@keyframes cardFloatUp1 {
  0% {
    opacity: 0;
    transform: translateY(150px) rotate(2deg) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0px) rotate(-5deg) scale(1);
  }
}

@keyframes cardFloatUp2 {
  0% {
    opacity: 0;
    transform: translateY(180px) rotate(-3deg) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0px) rotate(4deg) scale(1);
  }
}

@keyframes stampFloatUp {
  0% {
    opacity: 0;
    transform: translateY(70px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

/* Subtle Idle Floating after entrance */
@keyframes floatSoft1 {
  0%, 100% {
    transform: translateY(0px) rotate(-5deg);
  }
  50% {
    transform: translateY(-8px) rotate(-5deg);
  }
}

@keyframes floatSoft2 {
  0%, 100% {
    transform: translateY(0px) rotate(4deg);
  }
  50% {
    transform: translateY(-8px) rotate(4deg);
  }
}

/* Hero text content smooth entrance */
@keyframes heroTextIn {
  0% {
    opacity: 0;
    transform: translateY(25px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 16px rgba(212, 175, 55, 0);
    transform: scale(1.08);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    transform: scale(1);
  }
}

@keyframes mapPing {
  0% {
    transform: scale(0.9);
    opacity: 0.9;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

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

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(15px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.animate-pulse {
  animation: pulseGlow 2.4s infinite ease-in-out;
}

/* Hover transitions */
.hover-lift {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.15);
}

.scale-on-hover {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.scale-on-hover:hover {
  transform: scale(1.04);
}
