:root {
  --bg: #0b0f19;
  --card: rgba(255,255,255,0.06);
  --text: #ffffff;
  --muted: rgba(255,255,255,0.7);
  --btn: #3b82f6;
  --btn2: rgba(255,255,255,0.12);
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.wrap {
  max-width: 420px;
  margin: 0 auto;
  padding: 16px;
}

h1 { font-size: 22px; margin: 8px 0 12px; }

.card {
  background: var(--card);
  border-radius: 16px;
  padding: 14px;
  backdrop-filter: blur(10px);
}

.meta { display:flex; justify-content:space-between; gap:12px; align-items:center; }
.muted { color: var(--muted); font-size: 13px; }
.hint { margin-top: 10px; }

.wheel-area {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 14px 0 12px;
}

.pointer {
  position: absolute;
  top: -2px;
  width: 0; height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 22px solid rgba(255,255,255,0.9);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
  z-index: 3;
}

canvas {
  border-radius: 50%;
  background: rgba(0,0,0,0.25);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transform: rotate(0deg);
  transition: transform 4.2s cubic-bezier(.15,.85,.2,1);
}

.btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 14px 12px;
  font-weight: 700;
  cursor: pointer;
  background: var(--btn);
  color: white;
  margin-top: 8px;
}

.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn.secondary {
  background: var(--btn2);
}

.result {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,0.22);
  line-height: 1.35;
}
