/* Spinning Wheel Popup Styles */
.spinning-wheel-popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.spinning-wheel-popup-content {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  max-width: 400px;
  width: 90%;
  position: relative;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.close-popup {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
}

.close-popup:hover {
  color: #333;
}

.spinning-wheel-container {
  position: relative;
  margin: 20px 0;
}

#spinWheelCanvas {
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.spin-btn {
  background: linear-gradient(45deg, #ff6b6b, #ee5a24);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 20px;
  transition: transform 0.2s;
}

.spin-btn:hover {
  transform: scale(1.05);
}

.spin-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.result-text {
  margin-top: 20px;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  min-height: 30px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .spinning-wheel-popup-content {
    width: 95%;
    padding: 15px;
  }

  #spinWheelCanvas {
    width: 250px;
    height: 250px;
  }
}

.desktop-hidden {
  display: none;
}

@media (max-width: 768px) {
  .desktop-hidden {
    display: block;
  }
  .mobile-hidden {
    display: none;
  }
}
