/* Local typography for Plundead. No network font dependency. */
@font-face {
  font-family: "Barnabey";
  src: url("../assets/fonts/BARNABEY.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-display: "Barnabey", "Arial Black", "Trebuchet MS", system-ui, sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body,
input,
select,
textarea {
  font-family: var(--font-body);
}

.game-title,
.spooky-title,
.spooky-btn,
.cadence-header,
.cadence-btn,
.join-btn,
.auth-btn,
.tab-btn,
.primary-btn,
.secondary-btn,
.play-again-btn,
.home-btn,
.pause-title,
.scoreboard h3,
.cursed-timer,
.level-up-title,
.bomb-hit-title,
.difficulty-title,
h1,
h2,
h3,
button,
label,
.rank,
.score,
.stat-value,
.stat-number {
  font-family: var(--font-display);
  font-weight: 400;
}

p,
li,
.game-description,
.game-rules p,
.waiting-message,
.winner-message,
.pause-message,
.pause-hint,
.stat-text,
.player-name,
.player-stats,
.keyboard-controls-info,
.cookie-text {
  font-family: var(--font-body);
}
