@keyframes glow {
  0%, 100% {
    filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 40px rgba(236, 72, 153, 0.8));
  }
}

@keyframes confetti {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.8);
  }
}

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

.animate-confetti {
  animation: confetti 3s linear forwards;
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

.glass-card {
  background: rgba(59, 7, 100, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 1rem;
  box-shadow: 0 8px 32px 0 rgba(168, 85, 247, 0.2);
}

.shadow-glow {
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

button {
  cursor: pointer;
}

button:active {
  transform: scale(0.98);
}

input::placeholder {
  color: rgba(196, 181, 253, 0.5);
}

select {
  color: white;
  cursor: pointer;
}

select option {
  background: #581c87;
}

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

::-webkit-scrollbar-track {
  background: rgba(59, 7, 100, 0.3);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #a855f7, #ec4899);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #c084fc, #f472b6);
}