/* Колесо фортуны — то, чего нет на странице монетки. */

.wheel-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 18px;
}

.wheel-wrap {
  position: relative;
  width: min(420px, 88vw);
  aspect-ratio: 1;
}

.wheel-wrap .wheel {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5), 0 0 0 6px #c8952a,
    0 0 0 9px rgba(255, 233, 168, 0.25);
  transition: transform 5s cubic-bezier(0.15, 0.75, 0.12, 1);
  will-change: transform;
}

.wheel-sector { transition: fill 0.3s var(--ease), stroke 0.3s var(--ease); }

.wheel-sector-text {
  font-family: "Segoe UI", "Inter", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  fill: #2f2205;
}

/* стрелка сверху */
.wheel-pointer {
  position: absolute;
  top: -16px;
  left: 50%;
  width: 30px;
  height: 38px;
  transform: translateX(-50%);
  z-index: 3;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-2));
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.55));
}

/* кнопка в центре */
.spin-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 108px;
  height: 108px;
  border-radius: 50%;
  border: 5px solid #c8952a;
  background:
    radial-gradient(circle at 32% 28%, #fff6d8, transparent 45%),
    linear-gradient(145deg, var(--gold-1) 0%, var(--gold-2) 55%, var(--gold-3) 100%);
  color: #4a3306;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45), inset 0 0 18px rgba(255, 255, 255, 0.4);
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease),
    filter 0.25s var(--ease);
}
.spin-btn:hover:not(:disabled) {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5), 0 0 22px rgba(232, 181, 60, 0.45),
    inset 0 0 18px rgba(255, 255, 255, 0.45);
}
.spin-btn:active:not(:disabled) { transform: translate(-50%, -50%) scale(0.98); }
.spin-btn:focus-visible { outline: none; box-shadow: var(--ring), 0 10px 24px rgba(0, 0, 0, 0.45); }
.spin-btn:disabled { cursor: default; filter: saturate(0.75) brightness(0.9); }

.wheel-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
  padding: 0 60px;
}

@media (max-width: 560px) {
  .wheel-sector-text { font-size: 11px; }
  .spin-btn { width: 88px; height: 88px; font-size: 15px; }
}
