#wheel-modal {
  position: fixed;
  z-index: 10010;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(10, 0, 22, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInWheelBg 0.5s;
}
@keyframes fadeInWheelBg {
  from { background: rgba(10,0,22,0); }
  to { background: rgba(10,0,22,0.88); }
}
.wheel-modal-content {
  background: linear-gradient(135deg, #2a0055 0%, #0a0022 100%);
  border-radius: 22px;
  padding: 32px 18px 18px 18px;
  box-shadow: 0 8px 48px #ff00ff99, 0 2px 16px #00fff766;
  text-align: center;
  min-width: 320px;
  max-width: 98vw;
  position: relative;
  border: 2.5px solid #ff00ff;
  animation: popInWheel .6s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes popInWheel {
  0% { transform: scale(0.7); opacity: 0; }
  80% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}
#wheel-modal h2 {
  color: #ff00ff;
  font-size: 2.1em;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
  text-shadow: 0 0 6px #00fff7, 0 0 12px #ff00ff;
}
#fortune-wheel {
  background: radial-gradient(ellipse at 50% 50%, #222 70%, #0a0022 100%);
  border-radius: 50%;
  box-shadow: 0 0 32px #00fff755, 0 0 16px #ff00ff99;
  margin-bottom: 14px;
  width: 340px;
  height: 340px;
  max-width: 93vw;
  max-height: 60vw;
  border: 4px solid #00fff7;
  display: block;
}

#wheel-modal .wheel-pointer {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  z-index: 2;
  pointer-events: none;
}

.wheel-modal-content {
  position: relative;
}
#spin-wheel {
  background: linear-gradient(90deg,#ff00ff 0%,#00fff7 100%);
  color: #fff;
  border: none;
  font-size: 1.3em;
  font-weight: bold;
  border-radius: 12px;
  padding: 0.7em 2.1em;
  margin: 10px 0 7px 0;
  cursor: pointer;
  box-shadow: 0 2px 12px #00fff799, 0 2px 8px #ff00ff33;
  transition: background 0.22s, color 0.22s;
  letter-spacing: 0.04em;
  outline: none;
  border: 2px solid #ff00ff;
}
#spin-wheel:active {
  background: linear-gradient(90deg,#00fff7 0%,#ff00ff 100%);
  color: #ffec00;
}
#wheel-result {
  margin-top: 13px;
  font-size: 1.15em;
  min-height: 2.2em;
  color: #ffec00;
  text-shadow: 0 0 6px #ff00ff, 0 0 12px #00fff7;
}
#wheel-modal h2 span {
  color: #ffec00;
  text-shadow: 0 0 8px #ff00ff, 0 0 12px #00fff7;
}
@media (max-width: 600px) {
  .wheel-modal-content { min-width: 0; padding: 10vw 2vw 4vw 2vw; }
  #fortune-wheel { width: 92vw; height: 92vw; max-height: 60vw; }
  #spin-wheel { font-size: 1.1em; padding: 0.6em 1em; }
}
