/* ═══════════════════════════════════════════
   TopSEO Global Design Tokens
   Theme: OLED Nebula (Premium Monochrome)
   Framework: Anti-Generic Design
═══════════════════════════════════════════ */

:root {
  /* Surfaces & Backgrounds (Zero-Weight / OLED Black) */
  --bg-primary: #030303;
  --bg-secondary: #0a0a0a;
  --bg-card: rgba(20, 20, 22, 0.6);
  --bg-elevated: rgba(30, 30, 34, 0.8);
  --bg-surface: #0a0a0a;
  
  /* Borders (Razor-thin glassmorphism) */
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.15);
  
  /* Typography */
  --text-primary: rgba(255, 255, 255, 0.92);
  --text-secondary: rgba(255, 255, 255, 0.55);
  --text-muted: rgba(255, 255, 255, 0.3);
  
  /* Brand Accents (Monochrome Silver instead of Vivid Neons) */
  --accent: #f8fafc;
  --accent-hover: #ffffff;
  --accent-glow: rgba(255, 255, 255, 0.1);
  --accent-muted: rgba(255, 255, 255, 0.05);
  
  /* Status Colors */
  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.1);
  --warning: #f59e0b;
  --warning-bg: rgba(245, 158, 11, 0.1);
  --danger: #ef4444;
  --danger-bg: rgba(239, 68, 68, 0.1);

  /* Antigravity Physics */
  --ease-antigravity: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-magnetic: cubic-bezier(0.23, 1, 0.32, 1);
}

/* Base resets requiring the tokens universally */
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Particle Loader Component - Anti-Generic high-fidelity loader */
.particle-loader {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
}

.particle-loader span {
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
  animation: particleFloat 1.4s var(--ease-antigravity) infinite both;
  opacity: 0.8;
  box-shadow: 0 0 8px var(--accent-glow);
}

.particle-loader span:nth-child(1) { animation-delay: -0.32s; }
.particle-loader span:nth-child(2) { animation-delay: -0.16s; }
.particle-loader span:nth-child(3) { animation-delay: 0s; }

@keyframes particleFloat {
  0%, 80%, 100% { transform: scale(0); opacity: 0.3; }
  40% { transform: scale(1); opacity: 1; }
}
