@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  * {
    @apply border-border;
  }

  body {
    @apply font-sans antialiased bg-background text-foreground;
  }
}

:root {
  --background: 240 10% 4%;
  --foreground: 0 0% 88%;
  
  --card: 240 10% 12%;
  --card-foreground: 0 0% 88%;
  
  --popover: 240 10% 12%;
  --popover-foreground: 0 0% 88%;
  
  --primary: 265 70% 45%;
  --primary-foreground: 0 0% 98%;
  
  --secondary: 262 82% 64%;
  --secondary-foreground: 0 0% 98%;
  
  --muted: 240 6% 20%;
  --muted-foreground: 240 6% 65%;
  
  --accent: 263 75% 75%;
  --accent-foreground: 0 0% 98%;
  
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 98%;
  
  --border: 240 5% 26%;
  --input: 240 5% 26%;
  --ring: 265 70% 45%;
  
  --radius: 0.5rem;
  
  --chart-1: 265 70% 45%;
  --chart-2: 240 60% 60%;
  --chart-3: 300 80% 60%;
  --chart-4: 330 90% 65%;
  --chart-5: 210 90% 65%;
}

.category-scroll::-webkit-scrollbar {
  height: 5px;
}

.category-scroll::-webkit-scrollbar-track {
  background: hsl(var(--card));
}

.category-scroll::-webkit-scrollbar-thumb {
  background: hsl(var(--primary));
  border-radius: 5px;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 5px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: hsl(var(--card));
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: hsl(var(--primary));
  border-radius: 5px;
}

.movie-card:hover .movie-overlay {
  opacity: 1;
}

.movie-card:hover img {
  transform: scale(1.05);
}
