/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}

/* Utility classes */
.min-h-screen {
  min-height: 100vh;
}
.bg-slate-900 {
  background-color: #0f172a;
}
.bg-slate-800 {
  background-color: #1e293b;
}
.bg-slate-700 {
  background-color: #334155;
}
.text-white {
  color: #ffffff;
}
.text-slate-300 {
  color: #cbd5e1;
}
.text-slate-400 {
  color: #94a3b8;
}
.text-yellow-500 {
  color: #eab308;
}
.text-green-400 {
  color: #4ade80;
}
.text-red-700 {
  color: #b91c1c;
}

.border {
  border-width: 1px;
}
.border-b {
  border-bottom-width: 1px;
}
.border-slate-700 {
  border-color: #334155;
}
.border-slate-600 {
  border-color: #475569;
}
.border-white {
  border-color: #ffffff;
}

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

.p-2 {
  padding: 0.5rem;
}
.p-4 {
  padding: 1rem;
}
.p-6 {
  padding: 1.5rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.m-2 {
  margin: 0.5rem;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.mr-2 {
  margin-right: 0.5rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.w-3 {
  width: 0.75rem;
}
.w-4 {
  width: 1rem;
}
.w-5 {
  width: 1.25rem;
}
.w-8 {
  width: 2rem;
}
.w-20 {
  width: 5rem;
}
.w-64 {
  width: 16rem;
}
.w-full {
  width: 100%;
}

.h-16 {
  height: 4rem;
}
.h-20 {
  height: 5rem;
}
.h-24 {
  height: 6rem;
}

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

.flex {
  display: flex;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}

.items-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-center {
  justify-content: center;
}

.space-x-1 > * + * {
  margin-left: 0.25rem;
}
.space-x-2 > * + * {
  margin-left: 0.5rem;
}
.space-x-4 > * + * {
  margin-left: 1rem;
}
.space-x-6 > * + * {
  margin-left: 1.5rem;
}
.space-x-8 > * + * {
  margin-left: 2rem;
}
.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}
.gap-6 {
  gap: 1.5rem;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.text-xs {
  font-size: 0.75rem;
}
.text-sm {
  font-size: 0.875rem;
}
.text-lg {
  font-size: 1.125rem;
}
.text-xl {
  font-size: 1.25rem;
}
.text-2xl {
  font-size: 1.5rem;
}

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

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

.cursor-pointer {
  cursor: pointer;
}

.fixed {
  position: fixed;
}
.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.z-50 {
  z-index: 50;
}

.overflow-hidden {
  overflow: hidden;
}

/* Background colors */
.bg-blue-600 {
  background-color: #2563eb;
}
.bg-blue-700 {
  background-color: #1d4ed8;
}
.bg-green-600 {
  background-color: #16a34a;
}
.bg-green-700 {
  background-color: #15803d;
}
.bg-purple-600 {
  background-color: #9333ea;
}
.bg-red-700 {
  background-color: #b91c1c;
}
.bg-red-800 {
  background-color: #991b1b;
}

/* Gradients */
.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}
.from-purple-600 {
  --tw-gradient-from: #9333ea;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(147, 51, 234, 0));
}
.to-pink-600 {
  --tw-gradient-to: #db2777;
}
.from-yellow-500 {
  --tw-gradient-from: #eab308;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(234, 179, 8, 0));
}
.to-yellow-600 {
  --tw-gradient-to: #ca8a04;
}

/* Opacity */
.opacity-90 {
  opacity: 0.9;
}

/* Hover effects */
.hover\:bg-green-700:hover {
  background-color: #15803d;
}
.hover\:bg-blue-700:hover {
  background-color: #1d4ed8;
}
.hover\:bg-slate-100:hover {
  background-color: #f1f5f9;
}
.hover\:bg-red-800:hover {
  background-color: #991b1b;
}
.hover\:text-white:hover {
  color: #ffffff;
}
.hover\:border-slate-600:hover {
  border-color: #475569;
}

/* Background with alpha */
.bg-black\/50 {
  background-color: rgba(0, 0, 0, 0.5);
}
.bg-white\/20 {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Responsive design */
@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .lg\:grid-cols-8 {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 640px) {
  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Custom styles for interact-button */
.interact-button {
  transition: all 0.2s ease-in-out;
  transform: scale(1);
}

.interact-button:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.interact-button:active {
  transform: scale(0.98);
}

/* Button styles */
button {
  border: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

button:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
