@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes bounce {
  0%, 100% { 
    transform: translate(-50%, -50%) scale(0); 
    opacity: 0;
  }
  50% { 
    transform: translate(-50%, -50%) scale(1.2); 
    opacity: 1;
  }
}

@keyframes confettiFall {
  to {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.gradient-header {
  background: linear-gradient(135deg, #8B5CF6, #FBBF24, #10B981, #8B5CF6);
  background-size: 300% 300%;
  animation: gradientShift 6s ease infinite;
}

.gradient-text {
  background: linear-gradient(135deg, #8B5CF6, #FBBF24, #10B981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  top: -10px;
  animation: confettiFall 3s linear forwards;
}

.pulse {
  animation: pulse 1s ease-in-out infinite;
}

.slider {
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: 5px;
  background: linear-gradient(to right, #8B5CF6, #FBBF24, #10B981);
  outline: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  border: 3px solid #8B5CF6;
}

.slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  border: 3px solid #8B5CF6;
}

input:focus, textarea:focus, select:focus {
  transform: scale(1.01);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

button:active:not(:disabled) {
  transform: translateY(0);
}

/* Smooth transitions */
* {
  transition: all 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #FAF5FF;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #8B5CF6, #10B981);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #7C3AED, #059669);
}