/* ════════════════════════════════════════════════
   ENCHANT BUILDER — variables.css
════════════════════════════════════════════════ */

:root {
  /* Core palette */
  --bg-base:      #060810;
  --bg-deep:      #040608;
  --bg-surface:   #0c1020;
  --bg-card:      #0e1428;
  --bg-input:     #080c1c;
  --bg-console:   #040812;

  /* Accent system */
  --arcane:       #9d6fff;   /* enchantment purple */
  --arcane-dim:   #6b45cc;
  --arcane-glow:  rgba(157, 111, 255, 0.18);
  --diamond:      #5ce8ff;   /* diamond cyan */
  --diamond-dim:  #37b8d4;
  --diamond-glow: rgba(92, 232, 255, 0.15);
  --xp:           #78f060;   /* XP green */
  --xp-dim:       #4db83a;
  --xp-glow:      rgba(120, 240, 96, 0.15);
  --netherite:    #a08090;
  --gold:         #ffcc44;
  --danger:       #ff5f6d;
  --danger-dim:   #cc3040;

  /* Text */
  --text-primary: #eef0fa;
  --text-muted:   #7880a8;
  --text-dim:     #4a506e;
  --text-code:    #9dcfff;

  /* Borders */
  --border-faint:  rgba(255, 255, 255, 0.04);
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-mid:    rgba(255, 255, 255, 0.10);
  --border-bright: rgba(255, 255, 255, 0.18);

  /* Spacing & radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;

  /* Type */
  --font-display: 'Cinzel', serif;
  --font-ui:      'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ui);
  background: var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--text-code);
  background: rgba(92, 232, 255, 0.08);
  padding: 1px 5px;
  border-radius: 4px;
}

@font-face {
  font-family: 'Minecraft';
  src: url('../fonts/Minecraft.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
