/* Global Styles matching Next.js globals.css */
:root {
  --background: 0 0% 100%;
  --foreground: 240 10% 3.9%;
  --card: 0 0% 100%;
  --card-foreground: 240 10% 3.9%;
  --popover: 0 0% 100%;
  --popover-foreground: 240 10% 3.9%;
  --primary: 0 84% 60%;
  --primary-foreground: 0 0% 98%;
  --secondary: 240 4.8% 95.9%;
  --secondary-foreground: 240 5.9% 10%;
  --muted: 240 4.8% 95.9%;
  --muted-foreground: 240 3.8% 46.1%;
  --accent: 0 84% 60%;
  --accent-foreground: 0 0% 98%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 98%;
  --border: 240 5.9% 90%;
  --input: 240 5.9% 90%;
  --ring: 0 84% 60%;
  --radius: 0.5rem;
  --chart-1: 220 70% 50%;
  --chart-2: 160 60% 45%;
  --chart-3: 30 80% 55%;
  --chart-4: 280 65% 60%;
  --chart-5: 340 75% 55%;
}

.dark {
  --background: 240 5% 10%;
  --foreground: 0 0% 98%;
  --card: 240 5% 15%;
  --card-foreground: 0 0% 98%;
  --popover: 240 5% 10%;
  --popover-foreground: 0 0% 98%;
  --primary: 0 84% 60%;
  --primary-foreground: 0 0% 98%;
  --secondary: 240 3.7% 15.9%;
  --secondary-foreground: 0 0% 98%;
  --muted: 240 3.7% 15.9%;
  --muted-foreground: 240 5% 64.9%;
  --accent: 0 84% 60%;
  --accent-foreground: 0 0% 98%;
  --destructive: 0 72.2% 50.6%;
  --destructive-foreground: 0 85.7% 97.3%;
  --border: 240 3.7% 25.9%;
  --input: 240 3.7% 15.9%;
  --ring: 0 84% 60%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Utilities from globals.css */
.bg-gradient-border {
  position: relative;
  background-color: hsl(var(--background));
  padding: 1px;
  border-radius: var(--radius);
}

.bg-gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  margin: -1px;
  border-radius: inherit;
  background-color: hsl(var(--primary));
}

.perspective-1000 {
  perspective: 1000px;
}

.transform-style-preserve-3d {
  transform-style: preserve-3d;
}

.backface-hidden {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.rotate-y-180 {
  transform: rotateY(180deg);
}

/* Scrollbar Hide Utility */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Genie Effect Modal Styles */
#genie-modal-backdrop {
  transition: opacity 0.3s ease-out;
}

#genie-modal-content {
  /* Base styles for the modal content */
  transform-origin: center center;
  will-change: transform, opacity, width, height, top, left;
}

/* Genie Animation Placeholder */
.genie-expanding {
  /* Used for JS state reference */
  display: block;
}