html {
  scroll-behavior: smooth;
}

/* Glassmorphism effect */
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Aurora animation */
@keyframes aurora {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1) rotate(0deg);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.1) rotate(5deg);
  }
}

.animate-aurora {
  animation: aurora 12s ease-in-out infinite;
}

/* Gradient animation */
@keyframes gradient {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.animate-gradient {
  background-size: 200% 200%;
  animation: gradient 3s ease infinite;
}

/* Pulse slow animation */
@keyframes pulse-slow {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-pulse-slow {
  animation: pulse-slow 4s ease-in-out infinite;
}

.delay-1000 {
  animation-delay: 1s;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.pb-safe {
  padding-bottom: env(safe-area-inset-bottom);
}

.event-option {
  position: relative;
  transition: all 0.3s ease;
}

.event-option .check-icon {
  color: #0f172a;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.event-option.is-selected {
  background: rgba(124, 58, 237, 0.1);
  border-color: var(--accent);
  box-shadow: 0 0 30px var(--accent-glow), 0 0 16px var(--accent-glow);
}

.event-option.is-selected .check-box {
  background-color: #7C3AED;
  border-color: #7C3AED;
}

.event-option.is-selected .check-icon {
  opacity: 1;
  color: white;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in-down {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes bounce-slow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-fade-in {
  animation: fade-in 0.35s ease-out both;
}

.animate-fade-in-up {
  animation: fade-in-up 0.6s ease-out both;
}

.animate-fade-in-down {
  animation: fade-in-down 0.4s ease-out both;
}

.animate-scale-up {
  animation: scale-up 0.35s ease-out both;
}

.animate-slide-up {
  animation: slide-up 0.4s ease-out both;
}

.animate-bounce-slow {
  animation: bounce-slow 2.4s ease-in-out infinite;
}

.animate-spin-slow {
  animation: spin-slow 6s linear infinite;
}

/* Smooth transitions for all interactive elements */
button, a, .cursor-pointer {
  transition: all 0.3s ease;
}

/* Custom dropdown scrollbar */
#performer-dropdown::-webkit-scrollbar {
  width: 6px;
}

#performer-dropdown::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

#performer-dropdown::-webkit-scrollbar-thumb {
  background: rgba(249, 115, 22, 0.5);
  border-radius: 3px;
}

#performer-dropdown::-webkit-scrollbar-thumb:hover {
  background: rgba(249, 115, 22, 0.7);
}

/* Dropdown animation */
#performer-dropdown {
  animation: dropdown-appear 0.2s ease-out;
}

@keyframes dropdown-appear {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ensure proper contrast for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
