/* ── Wheel Page ── */
.wheel-page {
  position: relative; z-index: 1;
  height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 110px 20px 60px; /* leaves room for HUD */
  gap: 24px;
}

.page-title {
  font-family: 'Bungee', cursive;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  background: linear-gradient(135deg, #a78bfa, #60a5fa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
  text-align: center;
}

.wheel-stage {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 0 30px rgba(108,59,255,0.5));
}

#wheelCanvas {
  display: block;
  border-radius: 50%;
  max-width: 760px;
  max-height: 760px;
}

.wheel-pointer {
  position: absolute;
  top: -22px; left: 50%;
  transform: translateX(-50%);
  font-size: 2.2rem;
  color: var(--gold);
  z-index: 10;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.8));
  text-shadow: 0 0 10px var(--gold);
  pointer-events: none;
}

.wheel-controls {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}

.big-btn {
  padding: 14px 36px; border-radius: 50px;
  font-family: 'Bungee', cursive; font-size: 1rem; letter-spacing: 2px;
  border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.big-btn:hover { transform: scale(1.05); }
.big-btn:active { transform: scale(0.97); }

.btn-spin {
  background: linear-gradient(135deg, #a78bfa, #6C3BFF);
  color: #fff;
  box-shadow: 0 4px 20px rgba(108,59,255,0.5);
}
.btn-spin:hover { box-shadow: 0 8px 30px rgba(108,59,255,0.8); }

.btn-stop {
  background: linear-gradient(135deg, #ff6b6b, #ee0979);
  color: #fff;
  box-shadow: 0 4px 20px rgba(238,9,121,0.5);
  animation: pulse-btn 0.7s ease infinite alternate;
}
@keyframes pulse-btn {
  from { box-shadow: 0 4px 20px rgba(238,9,121,0.5); }
  to   { box-shadow: 0 4px 36px rgba(238,9,121,0.9); }
}

.btn-reset {
  background: rgba(255,255,255,0.1);
  color: #fff; border: 1px solid rgba(255,255,255,0.2);
}

.result-banner {
  font-family: 'Bungee', cursive; font-size: 1.4rem; letter-spacing: 1px;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(255,215,0,0.6);
  animation: fadeSlideUp 0.5s ease forwards;
  text-align: center;
}
@keyframes fadeSlideUp {
  from { opacity:0; transform:translateY(20px); }
  to   { opacity:1; transform:translateY(0); }
}
