/* 全屏遮罩 */
#spinwheel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* 弹窗主体 */
#spinwheel-popup {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  padding: 20px 30px 40px;
  text-align: center;
  width: 420px;
  position: relative;
  animation: fadeIn 0.3s ease-out;
}

#spinwheel-close {
  position: absolute;
  right: 10px;
  top: 5px;
  font-size: 26px;
  cursor: pointer;
  color: #888;
}
#spinwheel-close:hover {
  color: #333;
}

.spinwheel-title {
  margin: 10px 0 20px;
  font-size: 22px;
  font-weight: bold;
  color: #333;
}

.spinwheel-form {
  margin-top: 15px;
}

#spin-email {
  width: 70%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
}

#spin-btn {
  background: linear-gradient(135deg, #ff7a18, #ffb347);
  border: none;
  color: #fff;
  font-size: 16px;
  padding: 10px 18px;
  margin-left: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}
#spin-btn:hover {
  background: linear-gradient(135deg, #ff9f43, #ffcc70);
}

/* 启动入口按钮 */
#open-spinwheel {
  background: #ff7a18;
  color: #fff;
  font-size: 18px;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  position: fixed;
  bottom: 30px;
  right: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 999;
  transition: 0.3s;
}
#open-spinwheel:hover {
  background: #ff9f43;
  transform: scale(1.05);
}

#spin-result {
  margin-top: 15px;
  font-weight: bold;
  color: #333;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
