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

body {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #1a1a2e;
  font-family: "Segoe UI", sans-serif;
  color: #eee;
  padding: 1.5rem;
}

h1 {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.05em;
  color: #e2e2e2;
  margin-bottom: 2rem;
}

.RockPaperScissors {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  gap: 10px;
}

.choice {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #16213e;
  border: 3px solid #0f3460;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.choice:hover {
  transform: scale(1.12);
  border-color: #006572;
  box-shadow: 0 0 18px #006572;
}

.choice:active {
  transform: scale(0.95);
}

.choice img {
  width: 55px;
  height: 55px;
  object-fit: contain;
}

.result {
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  min-height: 2rem;
  letter-spacing: 0.08em;
  transition: color 0.3s ease;
}

.result.win {
  color: #4ade80;
}

.result.lose {
  color: #f87171;
}

.result.draw {
  color: #facc15;
}

@media (min-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  .RockPaperScissors {
    flex-direction: row;
    gap: 1.5rem;
  }

  .choice {
    width: 120px;
    height: 120px;
  }

  .choice img {
    width: 65px;
    height: 65px;
  }

  .result {
    font-size: 1.6rem;
  }
}

@media (min-width: 768px) {
  h1 {
    font-size: 2.4rem;
  }

  .choice {
    width: 140px;
    height: 140px;
  }

  .choice img {
    width: 75px;
    height: 75px;
  }
}
