:root {
  --blue: #10CFC9;
  --pink: #D61267;
  --grey: #F2F5F7;
  --navy: #161442;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stage {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 20px;
  text-align: center;
}
.brand-logo {
  max-height: 48px;
  max-width: 160px;
  object-fit: contain;
}
.wheel-wrap { position: relative; width: min(72vw, 280px); aspect-ratio: 1; }
.wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 8px solid var(--blue);
  transition: transform 4s cubic-bezier(0.17, 0.67, 0.16, 0.99);
  background:
    conic-gradient(
      var(--pink) 0deg 45deg, var(--navy) 45deg 90deg,
      var(--pink) 90deg 135deg, var(--navy) 135deg 180deg,
      var(--pink) 180deg 225deg, var(--navy) 225deg 270deg,
      var(--pink) 270deg 315deg, var(--navy) 315deg 360deg
    );
}
.pointer {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 20px solid var(--blue);
  z-index: 2;
}
.spin-btn {
  background: var(--blue);
  color: var(--navy);
  border: 0;
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 17px;
  font-weight: 700;
  min-height: 48px;
  cursor: pointer;
}
.spin-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.result { font-size: 18px; font-weight: 700; min-height: 24px; color: var(--blue); }
