/* ---------- Games Specific Stylesheet ---------- */

#games-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  touch-action: none;
}

/* HUD Bar */
.hud-bar {
  position: absolute;
  top: 56px;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 40px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hud-title {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hud-scores {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hud-score-item {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.hud-score-label {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hud-score-val {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  font-family: monospace;
  min-width: 28px;
  text-align: right;
}

/* Enter overlay specifically for games */
#enter-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000000;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#enter-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media(max-width: 768px) {
  .hud-bar {
    top: 52px;
    padding: 0 16px;
    height: 36px;
  }

  .hud-score-val {
    font-size: 15px;
  }

  .hud-title {
    font-size: 10px;
  }
}
