/* Custom Styles for Subway Surfers Landing Page */
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;600;700;800;900&family=Outfit:wght@400;600;800;900&display=swap');

:root {
  --neon-yellow: #FFD600;
  --neon-orange: #FF6600;
  --neon-pink: #FF007F;
  --neon-blue: #00E5FF;
  --neon-green: #00FFCC;
  --dark-subway: #0B0E14;
  --card-bg: rgba(22, 27, 38, 0.85);
}

body {
  font-family: 'Kanit', sans-serif;
  background-color: var(--dark-subway);
  color: #F3F4F6;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0D1117;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--neon-yellow), var(--neon-pink));
  border-radius: 5px;
}

/* Typography Helpers */
.font-display {
  font-family: 'Outfit', 'Kanit', sans-serif;
}

/* Neon Glow Utilities */
.text-glow-yellow {
  text-shadow: 0 0 12px rgba(255, 214, 0, 0.7), 0 0 24px rgba(255, 214, 0, 0.4);
}

.text-glow-cyan {
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.8), 0 0 24px rgba(0, 229, 255, 0.5);
}

.text-glow-pink {
  text-shadow: 0 0 12px rgba(255, 0, 127, 0.8), 0 0 24px rgba(255, 0, 127, 0.5);
}

.box-glow-yellow {
  box-shadow: 0 0 25px rgba(255, 214, 0, 0.4);
}

.box-glow-cyan {
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.4);
}

.box-glow-pink {
  box-shadow: 0 0 25px rgba(255, 0, 127, 0.4);
}

/* Custom Floating Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(1.5deg);
  }
}

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

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

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

/* Speed Track Animation */
@keyframes speedLines {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 1000px;
  }
}

.bg-speed-lines {
  background-image: radial-gradient(rgba(255, 214, 0, 0.15) 1px, transparent 1px);
  background-size: 30px 30px;
  animation: speedLines 20s linear infinite;
}

/* Lightbox Modal Specific Styling */
.lightbox-modal {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-content {
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox-modal.active .lightbox-content {
  transform: scale(1);
}

/* Glassmorphism Card Style */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-card:hover {
  border-color: rgba(255, 214, 0, 0.4);
}

/* Character Selection Card Active State */
.character-card.active {
  border-color: var(--neon-yellow);
  box-shadow: 0 0 30px rgba(255, 214, 0, 0.5);
  transform: translateY(-6px);
}
