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

:root {
  --background: 249, 250, 251;
  --foreground: 17, 24, 39;
  /* gray-900 */

  --accent-primary: #3b82f6;
  --accent-secondary: #6366f1;

  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(0, 0, 0, 0.15);
  --glass-blur: blur(16px);
}

.dark {
  --background: 3, 7, 18;
  /* gray-950 */
  --foreground: 229, 231, 235;
  /* gray-200 */

  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
}

/* Ensure focus states are visible for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 4px;
}

body {
  color: rgb(var(--foreground));
  background: rgb(var(--background));
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
}

.glass-card {
  @apply glass rounded-2xl p-4 md:p-6;
}

.nav-link-standard {
  @apply text-sm font-bold uppercase tracking-wider transition-colors flex items-center gap-2;
}

.btn-premium {
  @apply relative px-6 py-2.5 rounded-xl font-bold transition-all duration-300;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.btn-premium:hover {
  @apply scale-[1.02] -translate-y-0.5 shadow-blue-500/40;
}

.btn-premium:active {
  @apply scale-95;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}