@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Syne:wght@400;500;600;700;800&display=swap');

:root {
  --primary-gold: #fbbf24;
  --primary-gold-rgb: 251, 191, 36;
  --primary-purple: #8b5cf6;
  --primary-purple-rgb: 139, 92, 246;
  --bg-dark: #05020a;
  --bg-card: rgba(15, 6, 25, 0.55);
  --border-card: rgba(251, 191, 36, 0.08);
  --glow-color: rgba(139, 92, 246, 0.25);
  --text-color: #f3f4f6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #06020c;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-purple) 0%, var(--primary-gold) 100%);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #b066ff 0%, #f3e5ab 100%);
}

/* Body & Base reset */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-color, #f3f4f6);
  position: relative;
}

/* Spacing between sections */
section {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}

/* Failsafe scroll fade-in animation */
.fade-in-scroll {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-in-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* Glassmorphism utility */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid var(--border-card);
  border-radius: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 10px 30px -10px rgba(138, 43, 226, 0.3), 
              0 0 20px 0 rgba(212, 175, 55, 0.05);
  transform: translateY(-5px);
}

.glass-modal {
  background: rgba(10, 5, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradients */
.text-gold-gradient {
  background: linear-gradient(135deg, #fff3c3 0%, #e5c158 50%, #b89127 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-purple-gradient {
  background: linear-gradient(135deg, #d8b4fe 0%, #9d4edd 50%, #6f2dbd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gold-purple {
  background: linear-gradient(135deg, #fff3c3 0%, #e5c158 35%, #9d4edd 65%, #d8b4fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-gold-purple-grad {
  background: linear-gradient(135deg, #9d4edd 0%, #e5c158 100%);
}

.bg-gold-purple-hover:hover {
  background: linear-gradient(135deg, #e5c158 0%, #9d4edd 100%);
}

/* Neon Glow effects */
.glow-gold {
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.glow-purple {
  box-shadow: 0 0 15px rgba(138, 43, 226, 0.3);
}

.glow-interactive:hover {
  box-shadow: 0 0 25px rgba(138, 43, 226, 0.5), 0 0 10px rgba(212, 175, 55, 0.2);
}

/* Background grid & blob mesh */
.bg-mesh-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(138, 43, 226, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(138, 43, 226, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Floating custom cursor */
.custom-cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary-gold);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: width 0.2s, height 0.2s, background-color 0.2s;
  mix-blend-mode: difference;
}

.custom-cursor-dot {
  width: 4px;
  height: 4px;
  background-color: var(--primary-purple);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
}

/* Custom marquee slider for venue logos */
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee 25s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}

/* Custom Scroll Progress Bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-gold) 100%);
  z-index: 100;
  width: 0%;
  transition: width 0.1s ease-out;
}

/* Loading animations */
.loader-spinner {
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-left-color: var(--primary-gold);
  border-right-color: var(--primary-purple);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Page transitions */
.fade-in-page {
  animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive grid for seat layout */
.seat-map-container {
  aspect-ratio: 16/9;
  width: 100%;
  background: rgba(10, 5, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

/* Mascot Slow Bouncing animation */
@keyframes bounceSlow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-bounce-slow {
  animation: bounceSlow 3s ease-in-out infinite;
}

/* Text Masking & Reveal Styles */
.text-mask-reveal {
  overflow: hidden;
  display: block;
}

.text-mask-reveal span {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-mask-reveal.active span {
  transform: translateY(0);
}

/* Scroll Line Drawing styling */
.animated-draw-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.animated-draw-path.drawn {
  stroke-dashoffset: 0;
}

/* Ambient canvas configuration */
#ambient-glow-canvas {
  mix-blend-mode: screen;
}

/* Mascot custom hover glow */
#kiki-mascot-container:hover {
  filter: drop-shadow(0 0 25px rgba(251, 191, 36, 0.6));
}

