/* ============================================
   In-Game HUD
   ============================================ */

.game-hud {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  z-index: 5;
  pointer-events: none;
}

.game-hud > * {
  pointer-events: auto;
}

.game-hud__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* ---- Score ---- */
.game-hud__score {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: rgba(0, 0, 0, 0.5);
  border-radius: var(--radius-md);
  backdrop-filter: blur(4px);
}

.game-hud__score-label {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.6);
  font-weight: var(--weight-medium);
}

.game-hud__score-value {
  font-family: var(--font-mono);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: #fff;
}

/* ---- Timer ---- */
.game-hud__timer {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: rgba(0, 0, 0, 0.5);
  border-radius: var(--radius-md);
  backdrop-filter: blur(4px);
  font-family: var(--font-mono);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: #fff;
}

.game-hud__timer .icon {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.6);
}

.game-hud__timer--warning {
  color: var(--color-red);
}

/* ---- Lives ---- */
.game-hud__lives {
  display: flex;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-3);
  background: rgba(0, 0, 0, 0.5);
  border-radius: var(--radius-md);
  backdrop-filter: blur(4px);
}

.game-hud__life {
  width: 18px;
  height: 18px;
  color: var(--color-red);
}

.game-hud__life--empty {
  opacity: 0.25;
}

/* ---- Level ---- */
.game-hud__level {
  padding: var(--space-2) var(--space-3);
  background: rgba(0, 0, 0, 0.5);
  border-radius: var(--radius-md);
  backdrop-filter: blur(4px);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---- Combo ---- */
.game-hud__combo {
  padding: var(--space-2) var(--space-3);
  background: rgba(var(--color-gold-rgb), 0.2);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--color-gold);
  animation: pulse 0.5s ease;
}

/* ---- Pause Button ---- */
.game-hud__pause {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  transition: all var(--transition-fast);
}

.game-hud__pause:hover {
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
}

.game-hud__pause .icon {
  width: 16px;
  height: 16px;
}
