/* === GAME HUD — top-left resource counters === */

.game-hud {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  font-family: 'Courier New', monospace;
  user-select: none;
}

.game-hud .hud-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 6, 4, 0.78);
  border: 1px solid rgba(255, 140, 60, 0.28);
  border-radius: 6px;
  padding: 6px 12px 6px 8px;
  min-width: 110px;
  backdrop-filter: blur(3px);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 4px 14px rgba(0, 0, 0, 0.5),
    inset 0 0 12px rgba(255, 120, 40, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.game-hud .hud-counter.pulse {
  transform: scale(1.06);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 4px 18px rgba(255, 140, 60, 0.35),
    inset 0 0 14px rgba(255, 140, 60, 0.18);
}

.game-hud .hud-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(255, 140, 60, 0.35));
}

.game-hud .hud-counter.cristais .hud-icon {
  filter: drop-shadow(0 0 5px rgba(80, 220, 255, 0.55));
}

.game-hud .hud-value {
  color: #ffcf8a;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.5px;
  text-shadow:
    0 0 6px rgba(255, 140, 60, 0.45),
    1px 1px 0 rgba(0, 0, 0, 0.7);
  font-variant-numeric: tabular-nums;
}

.game-hud .hud-counter.cristais .hud-value {
  color: #b8f0ff;
  text-shadow:
    0 0 6px rgba(80, 220, 255, 0.55),
    1px 1px 0 rgba(0, 0, 0, 0.7);
}

.game-hud .hud-label {
  color: rgba(255, 200, 140, 0.5);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-left: auto;
}

.game-hud .hud-counter.cristais .hud-label {
  color: rgba(150, 220, 255, 0.5);
}
