/* Custom styles for TokenLaunch.fun */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #8B5CF6, #06B6D4);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #7C3AED, #0891B2);
}

/* Glassmorphism hover effects */
.glass-hover:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Animated gradient borders */
.gradient-border {
  position: relative;
  background: linear-gradient(45deg, #8B5CF6, #06B6D4, #10B981, #F59E0B);
  background-size: 400% 400%;
  animation: gradientShift 3s ease infinite;
  border-radius: 12px;
  padding: 2px;
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: 2px;
  background: rgba(15, 15, 35, 0.95);
  border-radius: 10px;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Floating animation for particles */
@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-10px) rotate(120deg);
  }
  66% {
    transform: translateY(5px) rotate(240deg);
  }
}

/* Pulsing glow effect */
.pulse-glow {
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
  }
  50% {
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.8);
  }
}

/* Success animation */
.success-bounce {
  animation: successBounce 0.6s ease-out;
}

@keyframes successBounce {
  0% { transform: scale(0.8); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Custom input focus effects */
input:focus, textarea:focus {
  animation: inputGlow 0.3s ease-out;
}

@keyframes inputGlow {
  from {
    box-shadow: 0 0 0 rgba(139, 92, 246, 0);
  }
  to {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
  }
}

/* Confetti particles */
.confetti-particle {
  position: absolute;
  width: 10px;
  height: 10px;
  background: linear-gradient(45deg, #F59E0B, #EF4444, #8B5CF6, #06B6D4);
  animation: confettiFall 3s linear infinite;
}

@keyframes confettiFall {
  to {
    transform: translateY(100vh) rotate(360deg);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .glass-card {
    margin: 1rem;
    padding: 1.5rem;
  }
  
  .token-logo {
    width: 3rem;
    height: 3rem;
  }
}

/* Loading spinner enhancement */
.loading-spinner {
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top: 3px solid #ffffff;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Button hover effect enhancement */
.launch-button {
  position: relative;
  overflow: hidden;
}

.launch-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.launch-button:hover::before {
  left: 100%;
}