/* ═══════════════════════════════════════════════
   SoundShift — Global Styles
   Brand variables come from /generated/brand-variables.css
   Base reset is in BaseLayout.astro
   ═══════════════════════════════════════════════ */

/* ═══ SEMANTIC ALIASES ═══ */
:root {
  --bg-primary: var(--brand-bg-primary, #0f0b1a);
  --bg-secondary: var(--brand-bg-secondary, #1a1625);
  --text-primary: var(--brand-text-primary, #f1f5f9);
  --text-secondary: var(--brand-text-secondary, #94a3b8);
  --text-muted: var(--brand-text-muted, #64748b);
  --border-color: var(--brand-border, rgba(168, 85, 247, 0.1));
  --card-bg: var(--brand-bg-card, rgba(168, 85, 247, 0.04));
}

/* ═══ SELECTION ═══ */
::selection {
  background: rgba(168, 85, 247, 0.3);
  color: #f1f5f9;
}

/* ═══ SCROLLBAR ═══ */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0f0b1a;
}
::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.2);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(168, 85, 247, 0.35);
}

/* ═══ FOCUS STYLES ═══ */
:focus-visible {
  outline: 2px solid #a855f7;
  outline-offset: 2px;
}

/* ═══ SMOOTH SCROLL ═══ */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
