/* Initial lightweight background (no heavy image yet) */
.RPS_container {
  background: #000;
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: background-image 0.35s ease-out;
}

/* The full background image, loaded via JS */
.RPS_container.loaded-bg {
  background-image: url('/media/RPS_background.jpeg');
}

/* Header section */
.RPS_header {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(216, 150, 7);
  padding: 10px 20px;
  gap: 40px;
  border-radius: 8px;
}

/* Scores */
.Player_score,
.Computer_score {
  font-size: 32px;
  margin: 0;
  white-space: nowrap;
}

/* Buttons */
.rock_button,
.paper_button,
.scissors_button {
  width: 180px;
  height: 65px;
  font-size: 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.rock_button:hover,
.paper_button:hover,
.scissors_button:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Individual button colors */
.rock_button {
  background-color: rgb(122, 82, 21);
  color: white;
}

.paper_button {
  background-color: white;
  color: black;
  border: 2px solid #444;
}

.scissors_button {
  background-color: rgb(155, 221, 221);
  color: black;
}
