/* 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;
}

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

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
  background: rgba(108, 124, 255, 0.5);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(108, 124, 255, 0.7);
}

/* Fix for mobile tap highlight */
* {
  -webkit-tap-highlight-color: transparent;
}

/* Custom styles for Tailwind components */
.shadow-btn {
  box-shadow: 0 4px 15px rgba(108, 124, 255, 0.3);
}

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

/* Fix for iOS viewport height */
@supports (-webkit-touch-callout: none) {
  .h-screen {
    height: -webkit-fill-available;
  }
}

/* Custom focus styles */
*:focus-visible {
  outline: 2px solid rgba(108, 124, 255, 0.8);
  outline-offset: 2px;
  border-radius: 0.25rem;
}

/* Custom selection */
::selection {
  background: rgba(108, 124, 255, 0.2);
  color: white;
}

/* Custom scroll behavior for mobile */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 5rem;
  }
}
