/* Ember Break — game page styles */
/* Matches Cinder design tokens from theme.css */

.game-page {
  min-height: 100vh;
  background: #0a0a0f;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 2rem;
}

.game-header {
  width: 100%;
  max-width: 560px;
  padding: 0.75rem 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.game-back {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}
.game-back:hover { color: var(--fg); background: rgba(255,255,255,0.05); }

.game-title-badge {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
}

.canvas-wrap {
  position: relative;
  margin-top: 0.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 0 2px rgba(232,98,42,0.25), 0 20px 60px rgba(0,0,0,0.6);
}

#game-canvas {
  display: block;
  cursor: none;
  touch-action: none;
}

.game-footer {
  max-width: 560px;
  width: 100%;
  padding: 1rem 1rem 0;
}

.game-controls-hint {
  font-size: 0.78rem;
  color: #6B6B6B;
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-align: center;
  line-height: 1.6;
}

.game-controls-hint kbd {
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
  font-size: 0.72rem;
  font-family: monospace;
}

.game-stats-bar {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 0.75rem;
}

.game-stat {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  color: var(--fg-muted);
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.game-stat span {
  color: var(--accent-warm);
  font-weight: 600;
}