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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

h1 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 8px;
}

.subtitle {
  color: #666;
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.score-board {
  display: flex;
  justify-content: space-around;
  background: #f0f0f0;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 30px;
}

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

.score-label {
  font-size: 0.8rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.score-value {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
}

.score-value.win { color: #27ae60; }
.score-value.lose { color: #e74c3c; }
.score-value.draw { color: #f39c12; }

.choices {
  display: flex;
  justify-content: space-around;
  margin-bottom: 30px;
  gap: 10px;
}

.choice-btn {
  flex: 1;
  background: white;
  border: 3px solid #ddd;
  border-radius: 16px;
  padding: 20px 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.choice-btn:hover {
  border-color: #667eea;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

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

.choice-btn .label {
  font-size: 0.75rem;
  font-weight: bold;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.battle-area {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 25px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.battle-hands {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  font-size: 3.5rem;
  margin-bottom: 15px;
}

.battle-vs {
  font-size: 1rem;
  font-weight: bold;
  color: #aaa;
}

.result-text {
  font-size: 1.5rem;
  font-weight: bold;
}

.result-text.win { color: #27ae60; }
.result-text.lose { color: #e74c3c; }
.result-text.draw { color: #f39c12; }

.waiting-text {
  color: #aaa;
  font-size: 1rem;
}

.reset-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px 30px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
  letter-spacing: 0.5px;
}

.reset-btn:hover {
  opacity: 0.85;
}
