/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Center everything */
.centered-container {
  max-width: 480px;
  margin: 30px auto;
  padding: 15px;
  text-align: center;
  background: #222;
  color: #eee;
  border-radius: 8px;
  box-shadow: 0 0 15px #444;
}

/* Headings */
h1 {
  margin-bottom: 20px;
}

/* Buttons */
button {
  background-color: #444;
  border: none;
  padding: 12px 20px;
  margin: 8px 6px;
  font-size: 1.1rem;
  color: #eee;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  min-width: 140px;
}

button:hover, button:focus {
  background-color: #666;
  outline: none;
}

/* Scene text styling */
.scene-text {
  white-space: pre-line;
  font-size: 1.2rem;
  margin: 20px 0;
  min-height: 120px;
}

/* Choices container */
.choices {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

/* Stats and inventory */
#stats, #inventory {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 10px;
  user-select: none;
}

/* Retry button */
#retryBtn {
  margin-top: 20px;
  background-color: #b22222;
}

#retryBtn:hover {
  background-color: #ff4444;
}

/* Responsive text size */
@media (max-width: 400px) {
  button {
    min-width: 100px;
    font-size: 1rem;
    padding: 10px 14px;
  }
  .scene-text {
    font-size: 1rem;
  }
}
