@import "tailwindcss";

/* Custom animations */
@keyframes blob {
  0% {
    transform: translate(0px, 0px) scale(1);
  }
  33% {
    transform: translate(30px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
  100% {
    transform: translate(0px, 0px) scale(1);
  }
}

.animate-blob {
  animation: blob 7s infinite;
}

.animation-delay-2000 {
  animation-delay: 2s;
}

.animation-delay-4000 {
  animation-delay: 4s;
}

@keyframes drift {
  0% {
    transform: translateX(-12px) translateY(0px);
    opacity: 0.35;
  }
  50% {
    transform: translateX(12px) translateY(-6px);
    opacity: 0.9;
  }
  100% {
    transform: translateX(-12px) translateY(0px);
    opacity: 0.35;
  }
}

.animate-drift {
  animation: drift 6s ease-in-out infinite;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Text selection */
::selection {
  background: rgba(239, 68, 68, 0.3);
  color: white;
}

/* Focus styles */
:focus-visible {
  outline: 2px solid rgba(239, 68, 68, 0.5);
  outline-offset: 2px;
}
