@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
}

.container {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  backdrop-filter: blur(20px);
  min-width: 340px;
}

h1 {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(90deg, #a78bfa, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.btn {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0 1rem;
}

button {
  width: 80px;
  height: 80px;
  font-size: 2rem;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

button:hover {
  transform: translateY(-4px) scale(1.07);
}

button:active {
  transform: scale(0.96);
}

#rock {
  background: linear-gradient(135deg, #7c3aed, #4c1d95);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.45);
}

#paper {
  background: linear-gradient(135deg, #059669, #064e3b);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.45);
}

#scissors {
  background: linear-gradient(135deg, #2563eb, #1e3a8a);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
}

.result {
  font-size: 1.1rem;
  font-weight: 500;
  color: #a78bfa;
  min-height: 28px;
  margin-top: 0.25rem;
}

.your-score,
.machine-score {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.3px;
  margin-bottom: 6px;
  min-width: 200px;
  text-align: center;
}

.your-score span {
  color: #a78bfa;
  font-size: 1.1rem;
  font-weight: 700;
}

.machine-score span {
  color: #f87171;
  font-size: 1.1rem;
  font-weight: 700;
}
