﻿/* Animation utilities */
.reveal { opacity: 0; transform: translateY(24px); transition: all 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.fade-up { animation: fadeUp 0.8s ease both; }
.fade-left { animation: fadeLeft 0.8s ease both; }
.fade-right { animation: fadeRight 0.8s ease both; }
.zoom-in { animation: zoomIn 0.6s ease both; }
.pulse { animation: pulseGlow 2.2s ease-in-out infinite; }

.back-to-top { opacity: 0; visibility: hidden; transition: opacity 0.3s ease, transform 0.3s ease; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(-4px); }

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

@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeRight {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,229,255,0.24); }
  50% { box-shadow: 0 0 0 10px rgba(0,229,255,0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
