/* Game-specific styles */
body {
  margin: 0;
  padding: 0;
  background: var(--bg, #0b0b0c);
  color: var(--text, #fff);
  font-family: var(--font-family, system-ui, sans-serif);
  overflow: hidden;
}

#app {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.game-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: var(--card, #151516);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-md, 12px);
  z-index: 100;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid var(--border, #26262a);
}

.game-back-btn, .game-leaderboard-btn {
  background: none;
  border: none;
  color: var(--text, #fff);
  font-size: var(--font-size-md, 16px);
  cursor: pointer;
  padding: var(--space-sm, 8px) var(--space-md, 12px);
  border-radius: var(--radius-md, 8px);
  transition: background var(--transition-normal, 0.2s ease);
}

.game-back-btn:hover, .game-leaderboard-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.game-content {
  margin-top: 48px;
  min-height: calc(100vh - 48px);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.game-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}

.score-container {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.score-box {
  background: var(--subcard, #101012);
  padding: 10px 20px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--border, #26262a);
}

.score-label {
  font-size: 12px;
  color: var(--muted, #b6b7bd);
  margin-bottom: 5px;
}

.score-value {
  font-size: 18px;
  font-weight: bold;
}

.restart-btn {
  background: var(--accent, #0a84ff);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.restart-btn:hover {
  background: var(--accent2, #4f46e5);
}
