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

:root {
  --foreground-rgb: 255, 255, 255;
  --background-start-rgb: 10, 10, 20;
  --background-end-rgb: 0, 0, 0;

  /* Branding Defaults */
  --primary-color: #3b82f6;
  --secondary-color: #8b5cf6;

  --accent-primary: var(--primary-color);
  --accent-secondary: var(--secondary-color);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(16px);
}

body {
  color: rgb(var(--foreground-rgb));
  background: radial-gradient(circle at top left, #1a1a2e, #000000);
  background-attachment: fixed;
  min-height: 100vh;
}

.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 transition-all duration-300;
}

.glass-card:hover {
  @apply border-white/20 bg-white/5;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-premium {
  @apply relative px-8 py-3 rounded-xl font-bold transition-all duration-300 flex items-center justify-center gap-2;
  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;
}

.sidebar-link {
  @apply flex items-center gap-3 px-4 py-3 rounded-xl text-sm font-medium transition-all;
}

.sidebar-link-active {
  @apply bg-blue-500/10 text-blue-400 border border-blue-500/20;
}

.sidebar-link-inactive {
  @apply text-gray-400 hover:text-white hover:bg-white/5;
}

/* 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);
}