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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.container {
  background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
  border-radius: 25px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(42, 82, 152, 0.2);
  padding: 40px 30px;
  max-width: 500px;
  width: 100%;
  animation: slideIn 0.5s ease-out;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h1 {
  text-align: center;
  color: #1e3c72;
  margin-bottom: 30px;
  font-size: 2em;
  font-weight: 700;
}

/* Scoreboard */
.scoreboard {
  display: flex;
  justify-content: space-around;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #f5f7ff 0%, #eef2ff 100%);
  padding: 20px;
  border-radius: 15px;
  border: 2px solid #e0e8ff;
}

.score-item {
  text-align: center;
}

.score-label {
  color: #2a5298;
  font-size: 0.9em;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.score-value {
  font-size: 2em;
  color: #2a5298;
  font-weight: bold;
}

/* Game buttons */
.buttons-container {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.choice-btn {
  flex: 1;
  min-width: 80px;
  padding: 15px 20px;
  font-size: 1.1em;
  border: 2px solid #e0e8ff;
  background: white;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  color: #1e3c72;
}

.choice-btn:hover {
  background: #2a5298;
  color: white;
  border-color: #2a5298;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(42, 82, 152, 0.4);
}

.choice-btn:active {
  transform: translateY(-1px);
}

/* Result section */
.result-section {
  background: linear-gradient(135deg, #f5f7ff 0%, #eef2ff 100%);
  padding: 25px;
  border-radius: 15px;
  margin-bottom: 25px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: fadeIn 0.3s ease;
  border: 2px solid #e0e8ff;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.choices-display {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 20px;
  gap: 15px;
}

.choice-display {
  text-align: center;
  flex: 1;
}

.choice-label {
  color: #2a5298;
  font-size: 0.85em;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.choice-value {
  font-size: 3em;
  margin-bottom: 5px;
}

.choice-name {
  color: #2a5298;
  font-weight: 600;
  font-size: 0.9em;
}

.vs-text {
  color: #ccc;
  font-weight: bold;
  font-size: 1.2em;
}

.result-text {
  text-align: center;
  font-size: 1.5em;
  font-weight: bold;
  margin-top: 15px;
  padding: 15px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.result-win {
  color: #27ae60;
  background: #d5f4e6;
}

.result-lose {
  color: #e74c3c;
  background: #fadbd8;
}

.result-draw {
  color: #f39c12;
  background: #fdebd0;
}

.result-placeholder {
  text-align: center;
  color: #bbb;
  font-size: 1em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Reset button */
.reset-btn {
  width: 100%;
  padding: 12px;
  font-size: 1em;
  border: 2px solid #e0e8ff;
  background: linear-gradient(135deg, #f5f7ff 0%, #eef2ff 100%);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  color: #2a5298;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.reset-btn:hover {
  background: #2a5298;
  color: white;
  border-color: #2a5298;
}

.reset-btn:active {
  transform: scale(0.98);
}

/* Responsive design */
@media (max-width: 480px) {
  .container {
    padding: 25px 20px;
  }

  h1 {
    font-size: 1.5em;
    margin-bottom: 20px;
  }

  .choice-btn {
    min-width: 70px;
    padding: 12px 15px;
    font-size: 1em;
  }

  .choice-value {
    font-size: 2.5em;
  }

  .result-text {
    font-size: 1.2em;
  }

  .scoreboard {
    padding: 15px;
  }

  .score-value {
    font-size: 1.5em;
  }
}
