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

body {
  font-family: "Arial", sans-serif;
  background: radial-gradient(circle at top, #1e2a3a 0%, #0d1522 100%);
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  width: 90%;
  max-width: 1000px;
  text-align: center;
}

.game-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 60px;
}

.score-box-wrapper {
  display: flex;
  gap: 20px;
}

.game-title h1 {
  font-size: 20px;
  line-height: 0.8;
  letter-spacing: 0px;
  text-align-last: left;
}

.score-box {
  background-color: white;
  color: #0d1522;
  border-radius: 10px;
  padding: 10px 20px;
  text-align: center;
  width: 80px;
}

.score-label {
  font-size: 12px;
  text-transform: uppercase;
  color: #5d5d5d;
}

.score-number {
  font-size: 32px;
  font-weight: bold;
}

.game-result {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 50px;
}

.game-result > div {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.choice-container {
  text-align: center;
}

.label {
  margin-bottom: 10px;
  font-size: 16px;
  text-transform: uppercase;
  color: #ccc;
}

.choice {
  background-color: white;
  border-radius: 50%;
  width: 150px;
  height: 150px;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.interface {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.btn {
  background-color: white;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 12px solid #8754e1;
  transition: 0.2s;
}

.btn img {
  width: 100%;
}
.btn:hover {
  transform: scale(1.05);
  cursor: pointer;
}
.btn:active {
  transform: scale(0.95);
  border: 12px solid #df3051;
}

.player-choice {
  border: 16px solid #eba921;
}

.computer-choice {
  border: 16px solid #40c9cb;
}

.choice img {
  max-width: 60%;
}

.result-text {
  text-align: center;
}

.result-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
  animation: appear 0.3s ease;
}

.play-again {
  background-color: white;
  color: #0d1522;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
  transition: 0.3s;
}
.play-again:hover {
  transform: scale(1.05);
  cursor: pointer;
}
.play-again:active {
  transform: scale(0.95);
}

.lose {
  background-color: #df3051;
  color: white;
}
.win {
  background-color: #7ed957;
  color: white;
}
.draw {
  background-color: white;
  color: #0d1522;
}

@keyframes appear {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

.appear {
  animation: appear 1s;
  transition: 0.1s;
}

.gelatine {
  animation: gelatine 0.5s 2;
}
@keyframes gelatine {
  from, to { transform: scale(1, 1); }
  25% { transform: scale(0.9, 1.1); }
  50% { transform: scale(1.1, 0.9); }
  75% { transform: scale(0.95, 1.05); }
}

@media (max-width: 600px) {
  .game-result {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
  .result-text {
    grid-column: 1/3;
    grid-row: 1/2;
  }
}
