/* 
   GLP Global Styles (Externalized from HTML)
   Matches the premium semi-pro aesthetic of the React version.
*/

:root {
  --background: 0 0% 100%;
  --foreground: 0 0% 3.9%;
  --card: 0 0% 100%;
  --card-foreground: 0 0% 3.9%;
  --popover: 0 0% 100%;
  --popover-foreground: 0 0% 3.9%;
  --primary: 0 0% 9%;
  --primary-foreground: 0 0% 98%;
  --secondary: 0 0% 96.1%;
  --secondary-foreground: 0 0% 9%;
  --muted: 0 0% 96.1%;
  --muted-foreground: 0 0% 45.1%;
  --accent: 0 0% 96.1%;
  --accent-foreground: 0 0% 9%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 98%;
  --border: 0 0% 89.8%;
  --input: 0 0% 89.8%;
  --ring: 0 0% 3.9%;
  --radius: 0.5rem;
}

body {
    font-family: 'JetBrains Mono', monospace;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #111827; /* slate-900 equivalent */
}

/* Custom Gradients specifically for components */
.bg-linear-to-br {
    background: linear-gradient(135deg, var(--tw-gradient-from), var(--tw-gradient-to));
}

.bg-linear-to-r {
    background: linear-gradient(90deg, var(--tw-gradient-from), var(--tw-gradient-to));
}

.bg-linear-to-t {
    background: linear-gradient(0deg, var(--tw-gradient-from), var(--tw-gradient-to));
}

/* Navbar utilities */
.nav-scrolled {
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
}

/* Scroll Smoothing */
html {
    scroll-behavior: smooth;
}

/* Animation utilities matching the React shadcn/animate setup */
@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slide-up {
    from { transform: translateY(10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.animate-fade-in { animation: fade-in 0.5s ease-out; }
.animate-slide-up { animation: slide-up 0.4s ease-out; }

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #475569;
}
