/* maxime-lenne.fr theme for HashQuiz (https://maxime-lenne.fr/ charter, dark mode).
   Linked by `hashquiz build` / `hashquiz dev` after the app styles: it only overrides `--hq-*` tokens.
   Token list: https://github.com/WhiteWoodTech/hashquiz/blob/develop/docs/DESIGN_SYSTEM.md
   Look: slate surfaces, blue primary and green secondary (the site's blue-to-green gradient),
   Inter text and figures, Roboto Mono labels, 12 px / 8 px corners, no pixel offset shadows, round particles. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Roboto+Mono:wght@400;500&display=swap');

:root {
  /* Surfaces (site dark mode: --color-background, --color-surface, --color-surface-hover, --color-border) */
  --hq-bg:           #0f172a;
  --hq-surface:      #1e293b;
  --hq-surface-2:    #334155;
  --hq-border:       #334155;
  /* Blue primary for actions and focus, green secondary (--color-primary-light, gradient end) */
  --hq-accent:       #3b82f6;
  --hq-accent-2:     #22c55e;
  /* The HashQuiz logo takes the site gradient: blue "#", green "q" */
  --hq-brand-violet: #3b82f6;
  --hq-brand-purple: #22c55e;
  /* Semantic colors (site --color-success, --color-error, --color-warning, dark-mode tints) */
  --hq-correct:      #4ade80;
  --hq-wrong:        #f87171;
  --hq-warn:         #f59e0b;
  --hq-text:         #f8fafc;
  --hq-text-muted:   #94a3b8;
  --hq-progress:     #475569;
  /* Typography: Inter everywhere (the site uses a system sans), bold Inter for titles, figures and buttons */
  --hq-font-display: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --hq-font-pixel:   'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --hq-font-mono:    'Roboto Mono', 'SF Mono', ui-monospace, monospace;
  --hq-font-label:   'Roboto Mono', 'SF Mono', ui-monospace, monospace;
  --hq-label-spacing: .12em;
  /* Shapes: soft corners like the site buttons (12 px) and badges (8 px), flat surfaces */
  --hq-radius:       12px;
  --hq-radius-sm:    8px;
  --hq-pixel:        0px;
  --hq-step-gap:     0px;
  --hq-figure:       var(--hq-text);
  /* Answer slots: the site blues and greens plus amber and slate, dark text on top */
  --hq-choice-a:     #60a5fa;
  --hq-choice-b:     #34d399;
  --hq-choice-c:     #fbbf24;
  --hq-choice-d:     #a5b4fc;
  --hq-on-choice:    #0f172a;
  --hq-qr-dark:      #f8fafc;
  --hq-qr-light:     #1e293b;
  /* Ambient effects: calm, round particles */
  --hq-fx-dot:       #cbd5e1;
  --hq-fx-line-opacity: .12;
  --hq-fx-glow:      .25;
  --hq-fx-dust-density: .6;
  --hq-fx-dust-alpha: 1.2;
  --hq-fx-speed:     .8;
  --hq-fx-pixel:     0;
}

/* Inter has proportional figures by default: keep timers and scores from jumping. */
html { font-variant-numeric: tabular-nums; }
