@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700;900&family=Rajdhani:wght@400;600;700&family=Inter:wght@400;600;700&family=Fredoka+One&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow-x: hidden;
}

/* ── Utility ── */
.hidden { display: none !important; }

.btn {
  border: none;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 10px;
  padding: 12px 24px;
  transition: all 0.2s ease;
  font-size: 13px;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

/* ── Scoreboard shared ── */
.scoreboard { width: 100%; }
.scoreboard-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 15px;
}
.scoreboard-row .rank { opacity: 0.5; margin-right: 8px; font-size: 12px; }
.scoreboard-row .score { font-size: 18px; }

/* ── Confetti container ── */
#confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
}

/* ── Player count badge ── */
.player-count {
  font-size: 12px;
  opacity: 0.6;
  letter-spacing: 2px;
  text-transform: uppercase;
}
