/* CSS Variables */
:root {
  --background: 220 20% 7%;
  --foreground: 0 0% 98%;

  --card: 220 20% 10%;
  --card-foreground: 0 0% 98%;

  --popover: 220 20% 10%;
  --popover-foreground: 0 0% 98%;

  --primary: 142 76% 45%;
  --primary-foreground: 0 0% 98%;

  --secondary: 220 20% 15%;
  --secondary-foreground: 0 0% 98%;

  --muted: 220 15% 20%;
  --muted-foreground: 220 10% 60%;

  --accent: 30 100% 55%;
  --accent-foreground: 0 0% 98%;

  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 210 40% 98%;

  --border: 220 15% 20%;
  --input: 220 15% 20%;
  --ring: 142 76% 45%;

  --radius: 0.75rem;

  --sidebar-background: 220 20% 7%;
  --sidebar-foreground: 0 0% 98%;
  --sidebar-primary: 142 76% 45%;
  --sidebar-primary-foreground: 0 0% 98%;
  --sidebar-accent: 220 20% 15%;
  --sidebar-accent-foreground: 0 0% 98%;
  --sidebar-border: 220 15% 20%;
  --sidebar-ring: 142 76% 45%;
}

.dark {
  --background: 220 20% 7%;
  --foreground: 0 0% 98%;

  --card: 220 20% 10%;
  --card-foreground: 0 0% 98%;

  --popover: 220 20% 10%;
  --popover-foreground: 0 0% 98%;

  --primary: 142 76% 45%;
  --primary-foreground: 0 0% 98%;

  --secondary: 220 20% 15%;
  --secondary-foreground: 0 0% 98%;

  --muted: 220 15% 20%;
  --muted-foreground: 220 10% 60%;

  --accent: 30 100% 55%;
  --accent-foreground: 0 0% 98%;

  --destructive: 0 62.8% 30.6%;
  --destructive-foreground: 210 40% 98%;

  --border: 220 15% 20%;
  --input: 220 15% 20%;
  --ring: 142 76% 45%;

  --sidebar-background: 220 20% 7%;
  --sidebar-foreground: 0 0% 98%;
  --sidebar-primary: 142 76% 45%;
  --sidebar-primary-foreground: 0 0% 98%;
  --sidebar-accent: 220 20% 15%;
  --sidebar-accent-foreground: 0 0% 98%;
  --sidebar-border: 220 15% 20%;
  --sidebar-ring: 142 76% 45%;
}

/* Base styles */
* {
  border-color: hsl(var(--border));
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
}

/* Utility classes */
.glass-card {
  background-color: hsl(var(--card) / 0.5);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid hsl(var(--border) / 0.5);
}

.gradient-text {
  background: linear-gradient(to right, hsl(var(--primary)), hsl(var(--accent)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Animations */
@keyframes fade-in {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fade-in 0.6s ease-out forwards;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: none;
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

.animate-bounce {
  animation: bounce 1s infinite;
}

/* Smooth transitions */
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* Hover effects */
.hover\:text-foreground:hover {
  color: hsl(var(--foreground));
}

.hover\:bg-primary\/90:hover {
  background-color: hsl(var(--primary) / 0.9);
}

.hover\:bg-secondary:hover {
  background-color: hsl(var(--secondary));
}

.hover\:border-primary\/50:hover {
  border-color: hsl(var(--primary) / 0.5);
}

.hover\:-translate-y-1:hover {
  transform: translateY(-0.25rem);
}

/* Focus styles */
.focus-visible\:outline-none:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus-visible\:ring-2:focus-visible {
  box-shadow: 0 0 0 2px hsl(var(--ring));
}

.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:ring-2:focus {
  box-shadow: 0 0 0 2px hsl(var(--ring));
}

