/* Tailwind CSS v4 Base & Utilities */
@import "tailwindcss";

/* Custom CSS Variables */
:root {
  --font-size: 16px;
  --background: #0a0a0a;
  --foreground: #f5f5f5;
  --card: #1a1a1a;
  --card-foreground: #f5f5f5;
  --primary: #dc2626;
  --primary-foreground: #ffffff;
  --secondary: #1a1a1a;
  --secondary-foreground: #f5f5f5;
  --muted: #2a2a2a;
  --muted-foreground: #a3a3a3;
  --accent: #d97706;
  --accent-foreground: #ffffff;
  --destructive: #991b1b;
  --destructive-foreground: #ffffff;
  --border: rgba(220, 38, 38, 0.2);
  --volcanic: #ea580c;
  --gold: #fbbf24;
  --radius: 0.5rem;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  font-size: var(--font-size);
}

/* Hide scrollbar for category filters */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Custom range slider styling */
input[type="range"].slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: #1a1a1a;
  border-radius: 4px;
  outline: none;
}

input[type="range"].slider-thumb::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
  transition: all 0.3s ease;
}

input[type="range"].slider-thumb::-webkit-slider-thumb:hover {
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.8);
  transform: scale(1.1);
}

input[type="range"].slider-thumb::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
  cursor: pointer;
  border: none;
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
  transition: all 0.3s ease;
}

input[type="range"].slider-thumb::-moz-range-thumb:hover {
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.8);
  transform: scale(1.1);
}

input[type="range"].slider-thumb::-webkit-slider-runnable-track {
  background: linear-gradient(to right, #dc2626 0%, #ea580c 50%, #fbbf24 100%);
  height: 6px;
  border-radius: 3px;
}

input[type="range"].slider-thumb::-moz-range-track {
  background: linear-gradient(to right, #dc2626 0%, #ea580c 50%, #fbbf24 100%);
  height: 6px;
  border-radius: 3px;
}

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

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

@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

.animate-slide-in {
  animation: slideIn 0.3s ease-out forwards;
}

/* Star Rating */
.star-rating {
  display: inline-flex;
  gap: 2px;
}

.star {
  cursor: pointer;
  transition: all 0.2s ease;
}

.star:hover {
  transform: scale(1.2);
}

.star.filled {
  color: #fbbf24;
}

.star.empty {
  color: #4b5563;
}

/* Image Carousel */
.carousel-container {
  position: relative;
  overflow: hidden;
}

.carousel-images {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-image {
  flex-shrink: 0;
  width: 100%;
}

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

/* Logo SVG */
.logo-svg {
  width: 40px;
  height: 40px;
}
