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

/* Tailwind CSS classes converted to vanilla CSS */

/* Base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', 'Open Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout utilities */
.min-h-screen {
  min-height: 100vh;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.text-center {
  text-align: center;
}

.hidden {
  display: none;
}

/* Spacing */
.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mr-3 {
  margin-right: 0.75rem;
}

/* Width and height */
.w-full {
  width: 100%;
}

.w-5 {
  width: 1.25rem;
}

.w-6 {
  width: 1.5rem;
}

.w-8 {
  width: 2rem;
}

.w-12 {
  width: 3rem;
}

.w-16 {
  width: 4rem;
}

.h-5 {
  height: 1.25rem;
}

.h-6 {
  height: 1.5rem;
}

.h-8 {
  height: 2rem;
}

.h-12 {
  height: 3rem;
}

.h-16 {
  height: 4rem;
}

.max-w-md {
  max-width: 28rem;
}

/* Colors and backgrounds */
.bg-gray-900 {
  background-color: #111827;
}

.bg-gray-800 {
  background-color: #1f2937;
}

.bg-gray-700 {
  background-color: #374151;
}

.bg-purple-500 {
  background-color: #8b5cf6;
}

.bg-blue-500 {
  background-color: #3b82f6;
}

.bg-pink-500 {
  background-color: #ec4899;
}

.bg-purple-600 {
  background-color: #9333ea;
}

.bg-blue-600 {
  background-color: #2563eb;
}

.bg-purple-300 {
  background-color: #c4b5fd;
}

.bg-green-500 {
  background-color: #10b981;
}

.bg-red-500 {
  background-color: #ef4444;
}

.bg-gray-600 {
  background-color: #4b5563;
}

/* Background opacity variants */
.bg-gray-800\/50 {
  background-color: rgb(31 41 55 / 0.5);
}

.bg-gray-900\/20 {
  background-color: rgb(17 24 39 / 0.2);
}

.bg-green-500\/20 {
  background-color: rgb(16 185 129 / 0.2);
}

.bg-green-500\/30 {
  background-color: rgb(16 185 129 / 0.3);
}

.bg-red-500\/20 {
  background-color: rgb(239 68 68 / 0.2);
}

.bg-red-500\/30 {
  background-color: rgb(239 68 68 / 0.3);
}

.bg-purple-500\/30 {
  background-color: rgb(139 92 246 / 0.3);
}

.bg-purple-300\/20 {
  background-color: rgb(196 181 253 / 0.2);
}

/* Border opacity variants */
.border-white\/10 {
  border-color: rgb(255 255 255 / 0.1);
}

.text-white {
  color: #ffffff;
}

.text-gray-300 {
  color: #d1d5db;
}

.text-gray-400 {
  color: #9ca3af;
}

.text-gray-500 {
  color: #6b7280;
}

.text-gray-600 {
  color: #4b5563;
}

.text-purple-400 {
  color: #c084fc;
}

.text-green-400 {
  color: #4ade80;
}

.text-red-400 {
  color: #f87171;
}

/* Border */
.border {
  border-width: 1px;
}

.border-4 {
  border-width: 4px;
}

.border-purple-300 {
  border-color: #c4b5fd;
}

.border-t-purple-400 {
  border-top-color: #c084fc;
}

.border-white {
  border-color: #ffffff;
}

.border-gray-600 {
  border-color: #4b5563;
}

.border-green-400 {
  border-color: #4ade80;
}

.border-red-400 {
  border-color: #f87171;
}

.border-purple-400 {
  border-color: #c084fc;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

/* Typography */
.font-sans {
  font-family: 'Inter', 'Open Sans', sans-serif;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

/* Shadows */
.shadow-lg {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

/* Spacing utilities */
.space-y-3 > * + * {
  margin-top: 0.75rem;
}

/* Button styles */
button {
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.bg-blue-600:hover {
  background-color: #1d4ed8;
}

.bg-blue-700 {
  background-color: #1d4ed8;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Animations */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes fadeIn {
  from { 
    opacity: 0; 
    transform: translateY(10px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes dots {
  0%, 20% { content: ''; }
  40% { content: '.'; }
  60% { content: '..'; }
  80%, 100% { content: '...'; }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

.animate-pulse-gentle {
  animation: pulse 2s ease-in-out infinite;
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

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

.animate-float-delayed {
  animation: float 6s ease-in-out infinite;
  animation-delay: -2s;
}

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

.loading-dots::after {
  content: '';
  animation: dots 1.5s steps(3, end) infinite;
}

/* Special effects */
.mix-blend-multiply {
  mix-blend-mode: multiply;
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.blur-xl {
  --tw-blur: blur(24px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px);
}

.backdrop-blur-md {
  backdrop-filter: blur(12px);
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.top-0 {
  top: 0;
}

.bottom-8 {
  bottom: 2rem;
}

.-left-4 {
  left: -1rem;
}

.-right-4 {
  right: -1rem;
}

.left-20 {
  left: 5rem;
}

.-bottom-8 {
  bottom: -2rem;
}

.w-72 {
  width: 18rem;
}

.h-72 {
  height: 18rem;
}

.z-10 {
  z-index: 10;
}

.overflow-hidden {
  overflow: hidden;
}

.opacity-30 {
  opacity: 0.3;
}

/* Gradient backgrounds */
.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-purple-600 {
  --tw-gradient-from: #9333ea;
  --tw-gradient-to: rgb(147 51 234 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-blue-600 {
  --tw-gradient-to: #2563eb;
}

.from-purple-700 {
  --tw-gradient-from: #7c3aed;
  --tw-gradient-to: rgb(124 58 237 / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-blue-700 {
  --tw-gradient-to: #1d4ed8;
}

/* Grid pattern */
.grid-pattern {
  background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Transition */
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-200 {
  transition-duration: 200ms;
}

/* Responsive utilities for GitHub Pages compatibility */
@media (max-width: 640px) {
  .max-w-md {
    max-width: 90%;
  }
  
  .p-4 {
    padding: 0.5rem;
  }
}