:root {
  --bg: #0f172a;
  --card: #0b1220;
  --accent: #06b6d4;
  --glass: rgba(255, 255, 255, 0.03);
  --muted: #94a3b8;
}
* {
  box-sizing: border-box;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #07112a 0%, #021427 100%);
  color: #e6eef6;
}
.wrap {
  width: min(760px, 95%);
  padding: 28px;
  border-radius: 16px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.6);
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
h1 {
  font-size: 20px;
  margin: 0;
}
p.lead {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.scoreboard {
  display: flex;
  gap: 12px;
  align-items: center;
}
.score {
  background: var(--glass);
  padding: 8px 12px;
  border-radius: 10px;
  text-align: center;
  min-width: 88px;
}
.score b {
  display: block;
  font-size: 18px;
}
.arena {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 20px;
}
.player,
.computer {
  background: rgba(255, 255, 255, 0.02);
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}
.label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.choice {
  font-size: 40px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.controls {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}
button.pick {
  background: linear-gradient(90deg, var(--accent), #8b5cf6);
  border: 0;
  padding: 12px 16px;
  border-radius: 10px;
  color: #04202a;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(6, 182, 212, 0.12);
  transform: translateY(0);
  transition: transform 0.12s ease;
}
button.pick:active {
  transform: translateY(2px);
}
.small {
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
}
.result {
  margin-top: 18px;
  text-align: center;
  font-size: 16px;
  min-height: 28px;
}
.choices-row {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.choice-btn {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 14px;
  border-radius: 12px;
  width: 110px;
  cursor: pointer;
}
.choice-btn .emoji {
  font-size: 28px;
}
.choice-btn .title {
  display: block;
  margin-top: 6px;
  font-weight: 600;
}
.flash {
  animation: flash 0.6s linear;
}
@keyframes flash {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}
footer {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.muted {
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 560px) {
  .arena {
    grid-template-columns: 1fr;
  }
  .choice-btn {
    width: 88px;
  }
}
