@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #38b6ff;
  /* Electric Blue from original, but we'll use slightly brighter in places */
  --cyan-bright: #00e5ff;
  --dark-bg: #020617;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--dark-bg);
  color: #fff;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #020617;
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Glassmorphism */
.glass {
  background: rgba(2, 6, 23, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

.animate-float {
  animation: float 5s ease-in-out infinite;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 15px rgba(56, 182, 255, 0.3);
  }

  50% {
    box-shadow: 0 0 25px rgba(56, 182, 255, 0.6);
  }

  100% {
    box-shadow: 0 0 15px rgba(56, 182, 255, 0.3);
  }
}

.animate-glow {
  animation: pulse-glow 3s infinite;
}

/* Text Gradients */
.text-gradient-blue {
  background: linear-gradient(135deg, #fff 0%, #38b6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(to right, #38b6ff, #00e5ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Backgrounds */
.bg-deep-space {
  background-color: #020617;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(56, 182, 255, 0.08) 0%, transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(0, 229, 255, 0.05) 0%, transparent 25%);
}

.bg-nebula {
  background: radial-gradient(circle at center, rgba(56, 182, 255, 0.15), transparent 70%);
}

/* Utilities */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px -10px rgba(56, 182, 255, 0.2);
}

@keyframes fadeInRandom {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-item {
  opacity: 0;
  /* Start hidden */
  transform: translateY(15px);
  /* Animation will be triggered by JS adding a class */
  transition: opacity 1.5s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.fade-in-item.visible {
  opacity: 1;
  transform: translateY(0);
}