/* Breakout — Nova Forge Brand Theme */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: #0a0a12;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: 'Press Start 2P', monospace;
  overflow: hidden;
}

#game-container {
  position: relative;
  width: min(100vw, 800px);
  height: min(100vh, 600px);
  aspect-ratio: 4 / 3;
}

canvas {
  width: 100%;
  height: 100%;
  display: block;
  background: #0a0a12;
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 4px;
}

#hud {
  position: absolute;
  top: 8px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #e4e4f0;
  text-shadow: 0 0 8px rgba(167, 139, 250, 0.6);
  pointer-events: none;
  z-index: 5;
}

.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 18, 0.92);
  backdrop-filter: blur(8px);
  z-index: 10;
  gap: 16px;
}

.game-title {
  font-size: clamp(28px, 6vw, 48px);
  background: linear-gradient(135deg, #a78bfa, #67e8f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  letter-spacing: 4px;
}

.subtitle {
  font-size: 10px;
  color: #7a7a94;
  font-family: 'Press Start 2P', monospace;
}

.game-btn {
  font-family: 'Press Start 2P', monospace;
  font-size: 14px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #a78bfa, #67e8f9);
  color: #0a0a12;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  margin-top: 12px;
}

.game-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 24px rgba(167, 139, 250, 0.4);
}

.final-score {
  font-size: 14px;
  color: #67e8f9;
}

.controls-hint {
  font-size: 8px;
  color: #4a4a62;
  margin-top: 8px;
}

#badge {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  color: #4a4a62;
  font-family: 'Press Start 2P', monospace;
  z-index: 5;
}

#badge a {
  color: #a78bfa;
  text-decoration: none;
}

#badge a:hover {
  text-decoration: underline;
}
