:root {
  --grad-primary: linear-gradient(135deg, #7c3aed 0%, #db2777 50%, #f97316 100%);
  --grad-card: linear-gradient(145deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  --glow-purple: 0 0 40px rgba(124, 58, 237, 0.4);
  --glow-pink: 0 0 40px rgba(219, 39, 119, 0.4);
}

* {
  font-family: 'Bricolage Grotesque', sans-serif;
}

.font-mono {
  font-family: 'Space Mono', monospace;
}

body {
  background: #0a0a0f;
  min-height: 100vh;
}

.dark-mode body {
  background: #030305;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

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

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(124, 58, 237, 0.3); }
  50% { box-shadow: 0 0 40px rgba(219, 39, 119, 0.5); }
}

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

@keyframes bounce-in {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
}

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-sparkle { animation: sparkle 2s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 3s ease-in-out infinite; }
.animate-slide-up { animation: slide-up 0.5s ease-out forwards; }
.animate-bounce-in { animation: bounce-in 0.6s ease-out forwards; }

.confetti-piece {
  position: fixed;
  width: 10px;
  height: 10px;
  animation: confetti-fall 3s linear forwards;
  pointer-events: none;
  z-index: 9999;
}

.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--glow-purple);
}

.gradient-border {
  position: relative;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--grad-primary);
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gradient-border:hover::before {
  opacity: 1;
}

.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-dark {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-primary {
  background: var(--grad-primary);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.btn-primary:hover::after {
  transform: translateX(100%);
}

.seat {
  transition: all 0.2s ease;
}

.seat:hover:not(.seat-taken):not(.seat-selected) {
  background: rgba(124, 58, 237, 0.5);
  transform: scale(1.1);
}

.seat-selected {
  background: linear-gradient(135deg, #7c3aed, #db2777);
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.6);
}

.seat-taken {
  background: rgba(255, 255, 255, 0.1);
  cursor: not-allowed;
}

.ticket-card {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  position: relative;
  overflow: hidden;
}

.ticket-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-primary);
}

.ticket-perforated {
  border-left: 2px dashed rgba(255, 255, 255, 0.2);
}