:root {
  --primary: #f5b731;
  --bg: #0c0c0c;
  --card: #1e1e1e;
  --text: #e8e8e8;
  --success: #10b981;
  --danger: #ef4444;
  --border: rgba(255,255,255,0.1);
}

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

body {
  font-family: 'Sora', sans-serif;
  background: var(--bg);
  color: var(--text);
  padding: 2rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container { max-width: 800px; width: 100%; text-align: center; }

.gradient-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  background: linear-gradient(135deg, var(--primary), #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.subtitle {
  color: #a0a0a0;
  margin-bottom: 2rem;
}

.game-container {
  background: var(--card);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}

.scoreboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.score-box {
  background: var(--bg);
  padding: 1rem;
  border-radius: 12px;
  border: 2px solid var(--border);
}

.score-box p {
  font-size: 0.9rem;
  color: #a0a0a0;
  margin-bottom: 0.5rem;
}

.score-box span {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.battle-arena {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

.player-choice, .computer-choice {
  text-align: center;
}

.player-choice p, .computer-choice p {
  font-size: 0.9rem;
  color: #a0a0a0;
  margin-bottom: 1rem;
}

.choice-display {
  width: 120px;
  height: 120px;
  background: var(--bg);
  border: 3px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  transition: all 0.3s;
}

.choice-display.winner {
  border-color: var(--success);
  box-shadow: 0 0 30px rgba(16,185,129,0.5);
  transform: scale(1.1);
}

.choice-display.loser {
  border-color: var(--danger);
  opacity: 0.5;
}

.vs {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.result-message {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1.5rem 0;
  min-height: 2rem;
  color: var(--primary);
}

.result-message.win { color: var(--success); }
.result-message.lose { color: var(--danger); }
.result-message.draw { color: #6b6b6b; }

.choices {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
}

.choice-btn {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  max-width: 150px;
}

.choice-btn:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(245,183,49,0.3);
}

.choice-btn .icon {
  font-size: 3rem;
}

.choice-btn span:last-child {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.btn-reset {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 1rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-reset:hover {
  background: var(--primary);
  color: #000;
}

.btn-back {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid var(--border);
  transition: all 0.3s;
}

.btn-back:hover {
  border-color: var(--primary);
  color: var(--primary);
}

@media (max-width: 600px) {
  .battle-arena { flex-direction: column; gap: 1rem; }
  .vs { transform: rotate(90deg); }
  .choices { flex-direction: column; }
  .choice-btn { max-width: 100%; }
}
