/* Base page setup */
body {
  margin: 0;
  /* background-color: #111111; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-family: 'Press Start 2P', monospace;
}

/* Game canvas container */
#game-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 800px;
  height: 600px;
  position: relative;
}

/* UI block */
#ui {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: none;
}

/* Container for stats (health/weather/mission) */
#stats-row {
  display: flex;
  flex-direction: column;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 12px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  max-width: 650px;
  margin-bottom: 20px;
}

#stats-row .stat-block {
  flex: 1;
  text-align: center;
  color: #222;
  font-size: 12px;
  word-wrap: break-word;
}

/* Health bar */
.bar-bg {
  width: 200px;
  height: 12px;
  background-color: #555;
  border: 1px solid #333;
  margin: 0 auto 10px auto;
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background-color: #ff4444;
  width: 100%;
  border-radius: 4px;
}

#top-stats {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 8px;
}

/* Mission section */
#mission {
  text-align: center;
  font-size: 12px;
  color: #222;
  color: #111;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.weather-value {
  text-transform: uppercase;
  font-style: italic;
}

.survival-timer{
  font-family: 'Press Start 2P', monospace;
  font-weight: bold;
}