* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  background: #0d1322;
}

.game-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

#game {
  display: block;
  width: 100%;
  height: 100%;
  background: #0d1322;
}

.hud {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 30px;
  z-index: 100;
  pointer-events: none;
}

.hud-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hud-label {
  font-size: 12px;
  font-weight: 600;
  color: #9fb1c7;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hud-value {
  font-family: 'Archivo Black', sans-serif;
  font-size: 24px;
  color: #ffd166;
  margin-top: 2px;
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .hud {
    top: 10px;
    gap: 15px;
  }
  
  .hud-item {
    padding: 8px 15px;
  }
  
  .hud-label {
    font-size: 10px;
  }
  
  .hud-value {
    font-size: 18px;
  }
}

/* Prevent text selection during gameplay */
.game-container,
.game-container * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* Hide scrollbars */
::-webkit-scrollbar {
  display: none;
}
