/* ==========================================================================
   ANIMATIONS & 3D EFFECTS - MS-ELEKTROTECHNIK & ELEKTRO ANDERL
   ========================================================================== */

@keyframes pulse-border {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
}

@keyframes glow-electric {
  0%, 100% {
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3), inset 0 0 15px rgba(0, 240, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.6), inset 0 0 25px rgba(0, 240, 255, 0.4);
  }
}

@keyframes float-badge {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes lightning-flash {
  0%, 92%, 100% { opacity: 0; }
  93%, 95% { opacity: 0.8; }
  94% { opacity: 0.2; }
}

.floating-anim {
  animation: float-badge 4s ease-in-out infinite;
}

.electric-glow-box {
  animation: glow-electric 3s ease-in-out infinite;
}

/* 3D Tilt container */
.tilt-card {
  transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.2s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Flash notification banner */
.flash-alert {
  background: linear-gradient(90deg, #1e3a8a, #0369a1);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  animation: slideUp 0.3s ease;
}
