/* 中奖提示弹窗样式 */
.prize-bubble {
  position: fixed;
  left: 30px;
  bottom: 30px;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
  animation: bubblePulse 2s infinite;
  transition: all 0.3s ease;
}

.prize-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
}

.prize-bubble .bubble-content {
  color: white;
  text-align: center;
  font-weight: bold;
  font-size: 12px;
  line-height: 1.2;
}

@keyframes bubblePulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.5);
  }
}

.prize-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.prize-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.prize-modal {
  background: white;
  border-radius: 20px;
  padding: 30px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  transform: scale(0.7);
  transition: all 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.prize-modal-overlay.show .prize-modal {
  transform: scale(1);
}

.prize-modal-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.prize-modal-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.prize-modal-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

.prize-amount {
  font-size: 32px;
  font-weight: bold;
  color: #ff6b6b;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(255, 107, 107, 0.3);
}

.prize-description {
  color: #666;
  margin-bottom: 25px;
  font-size: 16px;
}

.prize-form {
  margin-bottom: 20px;
}

.prize-input-group {
  margin-bottom: 20px;
}

.prize-input {
  width: 100%;
  padding: 15px;
  border: 2px solid #e1e5e9;
  border-radius: 10px;
  font-size: 16px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.prize-input:focus {
  outline: none;
  border-color: #667eea;
}

.prize-input.error {
  border-color: #ff6b6b;
}

.prize-error {
  color: #ff6b6b;
  font-size: 14px;
  margin-top: 5px;
  text-align: left;
  display: none;
}

.prize-error.show {
  display: block;
}

.prize-submit-btn {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.prize-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.prize-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.prize-success {
  display: none;
  color: #28a745;
  font-size: 18px;
  font-weight: bold;
}

.prize-success.show {
  display: block;
}

.prize-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  transition: color 0.3s ease;
}

.prize-close:hover {
  color: #333;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .prize-bubble {
    left: 20px;
    bottom: 20px;
    width: 70px;
    height: 70px;
  }

  .prize-bubble .bubble-content {
    font-size: 11px;
  }

  .prize-modal {
    padding: 25px;
    margin: 20px;
  }

  .prize-modal-title {
    font-size: 20px;
  }

  .prize-amount {
    font-size: 28px;
  }
}