/* ==========================================================================
   ANIMATIONS & SCROLL-TRIGGERED REVEAL STYLES
   ========================================================================== */

.reveal-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-fade-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

/* Subtle pulse for ambient sound button */
@keyframes ambientGlow {
  0% { box-shadow: 0 0 0 0 rgba(201, 154, 61, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(201, 154, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 154, 61, 0); }
}

.sound-toggle-btn.playing {
  animation: ambientGlow 2.5s infinite;
}

/* Subtle map pin glow */
@keyframes pinPulse {
  0% { r: 5; opacity: 1; }
  50% { r: 9; opacity: 0.4; }
  100% { r: 5; opacity: 1; }
}

.map-marker-pulse {
  animation: pinPulse 2s ease-in-out infinite;
}
