:root { --shadow: 0 18px 45px rgba(0,0,0,.18); }

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: #f5f7fb;
  margin: 0;
  padding: 28px;
  display: flex;
  justify-content: center;
}

.wrap { width: 520px; }
.title { text-align: center; margin: 0 0 14px; }

.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(15,23,42,.08);
  padding: 16px;
}

.lbl { display:block; margin: 10px 0 6px; font-weight: 800; color:#111827; }

.inp {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  outline: none;
  background: #fff;
}

.radio-row { display:flex; gap: 14px; margin-top: 6px; }
.radio { display:flex; gap: 8px; align-items:center; font-weight:700; }

.btn {
  width: 100%;
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  border: 0;
  background: #111827;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

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

.result {
  text-align:center;
  margin-top: 10px;
  font-size: 18px;
  font-weight: 900;
}

.wheel-wrap {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 18px auto 0;
}

.pointer {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-bottom: 28px solid #111;
  filter: drop-shadow(0 6px 8px rgba(0,0,0,.2));
  z-index: 3;
}

.wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 10px solid #111;
  background: conic-gradient(
    #9ca3af 0deg 90deg,
    #ef4444 90deg 180deg,
    #ffffff 180deg 270deg,
    #111827 270deg 360deg
  );
  box-shadow: var(--shadow);
  transform: rotate(0deg);
}

.center {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  z-index: 2;
}
