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

@layer base {
  :root {
    --background: 222 47% 6%;
    --foreground: 210 40% 98%;
    --card: 217 33% 12%;
    --card-foreground: 210 40% 98%;
    --popover: 217 33% 12%;
    --popover-foreground: 210 40% 98%;
    --primary: 24 95% 53%;
    --primary-foreground: 0 0% 100%;
    --secondary: 217 33% 17%;
    --secondary-foreground: 210 40% 98%;
    --muted: 217 33% 17%;
    --muted-foreground: 215 20% 55%;
    --accent: 174 72% 35%;
    --accent-foreground: 0 0% 100%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 98%;
    --border: 217 33% 20%;
    --input: 217 33% 20%;
    --ring: 24 95% 53%;
    --radius: 0.75rem;
    --sidebar-background: 222 47% 6%;
    --sidebar-foreground: 210 40% 98%;
    --sidebar-primary: 24 95% 53%;
    --sidebar-primary-foreground: 0 0% 100%;
    --sidebar-accent: 217 33% 17%;
    --sidebar-accent-foreground: 210 40% 98%;
    --sidebar-border: 217 33% 20%;
    --sidebar-ring: 24 95% 53%;
  }
}

@layer base {
  * {
    @apply border-border;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    @apply bg-background text-foreground font-sans antialiased;
    background-color: #0f172a;
  }
  
  h1, h2, h3, h4, h5, h6 {
    @apply font-display;
  }
}

@layer utilities {
  .text-gradient {
    @apply bg-clip-text text-transparent;
    background-image: linear-gradient(90deg, #f97316 0%, #fb923c 100%);
  }
  
  .bg-gradient-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0d9488 100%);
  }
  
  .bg-gradient-card {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.95) 100%);
  }
  
  .glass {
    @apply backdrop-blur-md bg-slate-900/70;
  }
  
  .glow-orange {
    box-shadow: 0 0 40px rgba(249, 115, 22, 0.3);
  }
  
  .glow-teal {
    box-shadow: 0 0 40px rgba(13, 148, 136, 0.3);
  }
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Selection styling */
::selection {
  background: rgba(249, 115, 22, 0.3);
  color: #f8fafc;
}
