@import "tailwindcss";

@theme {
  --color-brand-primary: #8b5cf6;
  --color-brand-secondary: #c084fc;
  --color-brand-accent: #6366f1;
  --color-background-deep: #09090b;
  --color-background-card: rgba(24, 24, 27, 0.6);
  --color-border-glass: rgba(255, 255, 255, 0.1);
}

:root {
  --foreground-rgb: 255, 255, 255;
  --background-start-rgb: 9, 9, 11;
  --background-end-rgb: 0, 0, 0;

  --primary: #8b5cf6;
  --secondary: #c084fc;
  --accent: #6366f1;
}

body {
  color: rgb(var(--foreground-rgb));
  background: linear-gradient(
      to bottom,
      transparent,
      rgb(var(--background-end-rgb))
    )
    rgb(var(--background-start-rgb));
  min-height: 100vh;
  font-family: var(--font-geist-sans), Inter, sans-serif;
  overflow-x: hidden;
}

/* Glassmorphism Utilities */
.glass {
  background: var(--color-background-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border-glass);
}

.glass-hover {
  transition: all 0.3s ease;
}

.glass-hover:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Animations */
@keyframes gradient-x {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.animate-gradient {
  background-size: 200% 200%;
  animation: gradient-x 6s ease infinite;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.3);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 92, 246, 0.5);
}

/* Custom Selection */
::selection {
  background: rgba(139, 92, 246, 0.3);
  color: white;
}
