* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Press Start 2P', cursive;
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  text-align: center;
}

header {
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.05);
}
header h1 {
  font-size: 2.5rem;
}
header p {
  font-size: 1.2rem;
  color: #ccc;
}

/* Scoreboard */
.scoreboard {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}
.score-box {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem 2rem;
  border-radius: 1rem;
  font-size: 1.4rem;
  transition: all 0.3s ease;
}
.score-box.highlight {
  transform: scale(1.2);
  background-color: rgba(0, 255, 0, 0.2);
}

/* Battle Display */
.battle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-bottom: 1rem;
}
.battle-box {
  font-size: 2.5rem;
  width: 80px;
  height: 80px;
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
}
#vs {
  font-size: 1.5rem;
  font-weight: bold;
}

/* Choices */
.choices {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 1rem;
}
.choice {
  width: 110px;
  height: 130px;
  border: 2px solid white;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s;
}
.choice:hover {
  transform: scale(1.05);
}
.choice img {
  width: 50px;
  height: 50px;
  margin-top: 10px;
}
.choice span {
  display: block;
  font-weight: bold;
  margin-top: 5px;
}
.shine {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,0.4) 50%, transparent 60%);
  transform: rotate(0deg);
  transition: 0.5s;
  pointer-events: none;
}
.choice:hover .shine {
  transform: translateX(200%) rotate(20deg);
}

/* Result Text */
#result-text {
  margin-top: 1.5rem;
  font-size: 1.6rem;
  font-weight: bold;
  transition: color 0.3s ease;
}
.result-win { color: #4CAF50; }
.result-lose { color: #F44336; }
.result-draw { color: #FFD700; }

/* Reset Button */
#reset {
  margin-top: 1.5rem;
  padding: 0.7rem 1.5rem;
  background: #ff416c;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  animation: none;
}
#reset:hover {
  animation: rubberBand 0.5s;
}
@keyframes rubberBand {
  0% { transform: scale(1); }
  30% { transform: scaleX(1.25) scaleY(0.75); }
  40% { transform: scaleX(0.75) scaleY(1.25); }
  60% { transform: scaleX(1.15) scaleY(0.85); }
  100% { transform: scale(1); }
}

/* Footer */
footer {
  margin-top: auto;
  padding: 1rem;
  color: #ccc;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 600px) {
  .choices {
    flex-direction: column;
    align-items: center;
  }
  .battle {
    flex-direction: column;
  }
}

@font-face {
  font-family: 'Press Start 2P';
  src: url('../assets/fonts/PressStart2P-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

