/* =================================================================
   KEYFRAMES.CSS - Animation Definitions
   
   This file contains all CSS animations and keyframes:
   - Loading screen animations (DEPRECATED - Remove in production)
   - Utility animations for UI elements
   - Transition effects and micro-interactions
   ================================================================= */

/* =================================================================
   DEPRECATED LOADING SCREEN ANIMATIONS - REMOVE IN PRODUCTION
   ================================================================= */
/* TODO: These animations are for the loading screen which is not used in production */

@keyframes logoFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes logoGlow {
  0%, 100% { text-shadow: 0 0 20px rgba(255, 255, 255, 0.5); }
  50% { text-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.3); }
}

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

@keyframes subtitleSlide {
  0% { 
    transform: translateY(15px); 
    opacity: 0; 
  }
  100% { 
    transform: translateY(0); 
    opacity: 0.9; 
  }
}

@keyframes progressFill {
  0% { width: 0%; }
  100% { width: 100%; }
}

@keyframes designerFadeIn {
  0% { 
    opacity: 0; 
    transform: translateY(15px) scale(0.9);
  }
  100% { 
    opacity: 1; 
    transform: translateY(0) scale(1);
  }
}

@keyframes designerPulse {
  0%, 100% { 
    color: rgba(255, 255, 255, 0.8);
    transform: scale(1);
  }
  50% { 
    color: rgba(255, 255, 255, 1);
    transform: scale(1.02);
  }
}

/* =================================================================
   ACTIVE ANIMATIONS - USED IN PRODUCTION
   ================================================================= */

/* ===== UTILITY ANIMATIONS ===== */
/* Fade in animation for tooltips and notifications */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== FROSTED GLASS ANIMATIONS ===== */
/* Subtle glow animation for toolbar frosted glass effect */
@keyframes toolbarGlow {
  0% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
  }
  100% {
    box-shadow: 0 4px 25px rgba(79, 195, 247, 0.15);
    border-color: rgba(79, 195, 247, 0.3);
  }
}

/* ===== LOADING SCREEN ANIMATIONS ===== */
/* Light theme loading pulse animation */
@keyframes loadingPulseLight {
  0%, 100% {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  }
  50% {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%, #667eea 0%);
  }
}

/* Dark theme loading pulse animation */
@keyframes loadingPulseDark {
  0%, 100% {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 50%, #1a1a1a 100%);
  }
  50% {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 50%, #1a1a1a 100%, #1a1a1a 0%);
  }
}

/* Floating animation for loading content */
@keyframes contentFloat {
  0%, 100% {
    transform: translateY(0px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  }
  50% {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  }
}

/* Shining effect for progress bar */
@keyframes progressShine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* ===== FOOTER HEART ANIMATIONS ===== */
/* Heartbeat pulse animation for footer heart */
@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
    -webkit-text-stroke: 0.8px #ff6b7a;
    text-stroke: 0.8px #ff6b7a;
    filter: drop-shadow(0 0 1px rgba(255, 107, 122, 0.8));
  }
  14% {
    transform: scale(1.03);
    -webkit-text-stroke: 1px #ff4757;
    text-stroke: 1px #ff4757;
    filter: drop-shadow(0 0 2px rgba(255, 71, 87, 0.9));
  }
  28% {
    transform: scale(1);
    -webkit-text-stroke: 0.8px #ff6b7a;
    text-stroke: 0.8px #ff6b7a;
    filter: drop-shadow(0 0 1px rgba(255, 107, 122, 0.8));
  }
  42% {
    transform: scale(1.05);
    -webkit-text-stroke: 1.2px #ff4757;
    text-stroke: 1.2px #ff4757;
    filter: drop-shadow(0 0 2px rgba(255, 71, 87, 1));
  }
  70% {
    transform: scale(1);
    -webkit-text-stroke: 0.8px #ff6b7a;
    text-stroke: 0.8px #ff6b7a;
    filter: drop-shadow(0 0 1px rgba(255, 107, 122, 0.8));
  }
}