* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

body {
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.game {
  width: 90vw;
  height: 90vh;
  max-width: 450px;
  background: rgba(26, 31, 36, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  box-shadow: 
    0 0 20px rgba(59, 135, 197, 0.3),
    0 0 60px rgba(187, 71, 205, 0.2),
    inset 0 0 30px rgba(255, 255, 255, 0.05);
  flex-direction: column;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  padding: 20px;
}

.game::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #3b87c5, #bb47cd, #3b87c5);
  border-radius: 20px;
  z-index: -1;
  animation: borderGlow 3s linear infinite;
}

@keyframes borderGlow {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}

.hand {
  width: 100%;
  height: 45%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  font-size: clamp(50px, 10vw, 80px);
  position: relative;
  padding: 20px;
  margin: 20px 0;
}

.you-div, .computer-div {
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
  text-shadow: 
    2px 2px 10px rgba(59, 135, 197, 0.8),
    -2px -2px 10px rgba(187, 71, 205, 0.8),
    0 0 20px rgba(255, 255, 255, 0.3);
}

.you-div:hover, .computer-div:hover {
  transform: scale(1.1) translateY(-5px);
}

.choices {
  width: 100%;
  height: 20%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 20px;
  margin: 20px 0;
}

.choice {
  width: clamp(60px, 15vw, 80px);
  height: clamp(60px, 15vw, 80px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 5px 15px rgba(0, 0, 0, 0.3),
    inset 0 0 15px rgba(255, 255, 255, 0.1);
  font-size: clamp(24px, 5vw, 30px);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.choice::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  transition: 0.5s;
}

.choice:hover::before {
  animation: shine 0.5s;
}

@keyframes shine {
  0% { left: -50%; }
  100% { left: 150%; }
}

.choice:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 8px 25px rgba(59, 135, 197, 0.4),
    inset 0 0 15px rgba(187, 71, 205, 0.4);
}

.result {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: auto;
}

.result-text {
  width: 70%;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  text-align: center;
  color: white;
  font-size: clamp(18px, 4vw, 24px);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

.win {
  background: rgba(16, 222, 19, 0.1);
  box-shadow: 
    0 0 20px rgba(16, 222, 19, 0.4),
    inset 0 0 15px rgba(16, 222, 19, 0.4);
  color: #10de13;
}

.lose {
  background: rgba(222, 50, 16, 0.1);
  box-shadow: 
    0 0 20px rgba(222, 50, 16, 0.4),
    inset 0 0 15px rgba(222, 50, 16, 0.4);
  color: #de3210;
}

.draw {
  background: rgba(16, 198, 222, 0.1);
  box-shadow: 
    0 0 20px rgba(16, 198, 222, 0.4),
    inset 0 0 15px rgba(16, 198, 222, 0.4);
  color: #10c6de;
}

.heading {
  width: 100%;
  height: 15%;
  position: absolute;
  font-size: clamp(12px, 3vw, 15px);
  display: flex;
  align-items: center;
  justify-content: space-around;
  top: 20px;
}

.you-heading,
.computer-heading {
  width: 30%;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  box-shadow: 
    0 5px 15px rgba(0, 0, 0, 0.2),
    inset 0 0 10px rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
}

.you-heading {
  color: #11c9e1;
  text-shadow: 0 0 10px rgba(17, 201, 225, 0.5);
}

.computer-heading {
  color: #e1113e;
  text-shadow: 0 0 10px rgba(225, 17, 62, 0.5);
}

@keyframes shake {
  0%, 50%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(20px) rotate(5deg);
  }
  75% {
    transform: translateY(-20px) rotate(-5deg);
  }
}

.scoreboard {
  display: flex;
  justify-content: space-around;
  width: 100%;
  color: white;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.score {
  font-size: clamp(14px, 3vw, 18px);
  font-weight: bold;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
}

.score span {
  background: rgba(255, 255, 255, 0.1);
  padding: 5px 10px;
  border-radius: 5px;
  min-width: 30px;
  text-align: center;
}

.reset-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 10px 0;
}

#reset-btn {
  padding: clamp(8px, 2vw, 12px) clamp(16px, 4vw, 24px);
  font-size: clamp(14px, 3vw, 16px);
  background: linear-gradient(45deg, #3b87c5, #bb47cd);
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
  position: relative;
  overflow: hidden;
}

#reset-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  transition: 0.5s;
}

#reset-btn:hover::before {
  animation: shine 0.5s;
}

#reset-btn:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 25px rgba(59, 135, 197, 0.4),
    0 8px 25px rgba(187, 71, 205, 0.4);
