/* ============================================================================
   Theme Tokens, Base Layout, Architectural Grid & Ambient Mesh Orbs
   Themes: Lime Obsidian (default), Ember Amber, Aurora Cyan
============================================================================ */

:root {
  --bg-base: #08090a;
  --bg-elevated: #0e1012;
  --accent: #bef264;
  --accent-2: #84cc16;
  --accent-rgb: 190, 242, 100;
  --accent-2-rgb: 132, 204, 22;
  --orb-1: rgba(132, 204, 22, 0.22);
  --orb-2: rgba(190, 242, 100, 0.14);
  --orb-3: rgba(16, 185, 129, 0.14);
}

[data-theme="ember"] {
  --accent: #fb923c;
  --accent-2: #f97316;
  --accent-rgb: 251, 146, 60;
  --accent-2-rgb: 249, 115, 22;
  --orb-1: rgba(249, 115, 22, 0.24);
  --orb-2: rgba(251, 146, 60, 0.16);
  --orb-3: rgba(239, 68, 68, 0.12);
}

[data-theme="aurora"] {
  --accent: #38bdf8;
  --accent-2: #818cf8;
  --accent-rgb: 56, 189, 248;
  --accent-2-rgb: 129, 140, 248;
  --orb-1: rgba(56, 189, 248, 0.22);
  --orb-2: rgba(129, 140, 248, 0.20);
  --orb-3: rgba(192, 132, 252, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--bg-base);
  color: #e4e4e7;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Subtle Developer Architectural Grid */
.bg-dev-grid {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Animated Ambient Mesh Orbs behind Liquid Glass */
.ambient-orb-1 {
  background: radial-gradient(circle, var(--orb-1) 0%, transparent 68%);
  animation: float-orb-1 16s ease-in-out infinite;
}

.ambient-orb-2 {
  background: radial-gradient(circle, var(--orb-2) 0%, transparent 68%);
  animation: float-orb-2 20s ease-in-out infinite;
}

.ambient-orb-3 {
  background: radial-gradient(circle, var(--orb-3) 0%, transparent 68%);
  animation: float-orb-1 22s ease-in-out infinite reverse;
}

/* Accent Utilities */
.text-accent {
  color: var(--accent);
}

.bg-accent {
  background-color: var(--accent);
}

.bg-accent-soft {
  background-color: rgba(var(--accent-rgb), 0.14);
}

.border-accent {
  border-color: rgba(var(--accent-rgb), 0.42);
}

.shadow-accent {
  box-shadow: 0 0 28px -6px rgba(var(--accent-rgb), 0.55);
}

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

::-webkit-scrollbar-track {
  background: #08090a;
}

::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}
