@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

::selection {
  color: #fff;
  background-color: #000;
}

.container {
  padding: 2rem 7rem;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 10px rgba(255, 255, 255, 0.1);
}

.result_images {
  display: flex;
  column-gap: 7rem;
}

.container.start .user_result {
  transform-origin: left;
  animation: userShake 0.7s ease infinite;
}

@keyframes userShake {
  50% {
    transform: rotate(10deg);
  }
}

.container.start .cpu_result {
  transform-origin: right;
  animation: cpuShake 0.7s ease infinite;
}

@keyframes cpuShake {
  50% {
    transform: rotate(-10deg);
  }
}

/* >>> Ukuran tangan saat tanding diperbesar <<< */
.result_images img {
  width: 140px;
  transition: transform 0.3s ease;
}

.user_result img {
  transform: rotate(90deg);
  width: 140px;
}

.cpu_result img {
  transform: rotate(-90deg) rotateY(180deg);
  width: 140px;
}

/* Bonus: efek zoom saat hover */
.result_images img:hover {
  transform: scale(1.1);
}

.result {
  text-align: center;
  font-size: 2rem;
  color: black;
  margin-top: 1.5rem;
}

.option_images {
  display: flex;
  align-items: center;
  margin-top: 2.5rem;
  justify-content: space-between;
}

.container.start .option_images {
  pointer-events: none;
}

.option_image {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.option_image:hover {
  opacity: 1;
}

.option_image.active {
  opacity: 1;
}

.option_image img {
  width: 50px;
  pointer-events: none;
}

.option_image p {
  color: #3477eb;
  font-size: 1.235rem;
  margin-top: 1rem;
  pointer-events: none;
}