/* Modal de Bônus - Lucros em Dobro */
.bonus-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  animation: fadeIn 0.3s ease-in-out;
}

.bonus-modal.active {
  display: block;
}

.bonus-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
}

.bonus-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 500px;
  height: auto;
  max-height: 95vh;
  background: transparent;
  border-radius: 20px;
  overflow: visible;
  animation: scaleIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 20px 60px rgba(0, 255, 0, 0.3);
}

.bonus-modal-close {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #ff3b3b, #ff6b6b);
  color: white;
  border: 3px solid white;
  border-radius: 50%;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 59, 59, 0.5);
  line-height: 1;
  padding: 0;
}

.bonus-modal-close:hover {
  transform: rotate(90deg) scale(1.1);
  background: linear-gradient(135deg, #ff6b6b, #ff3b3b);
  box-shadow: 0 6px 20px rgba(255, 59, 59, 0.7);
}

.bonus-modal-body {
  position: relative;
  padding: 0;
  background: transparent;
  width: 100%;
  height: 100%;
}

.bonus-modal-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Animações */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

/* Responsividade */
@media (max-width: 768px) {
  .bonus-modal-content {
    width: 95%;
    max-width: 95%;
    max-height: 90vh;
  }
  
  .bonus-modal-image {
    border-radius: 10px;
  }
  
  .bonus-modal-close {
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .bonus-modal-content {
    width: 98%;
    max-height: 85vh;
  }
  
  .bonus-modal-close {
    top: 5px;
    right: 5px;
    width: 35px;
    height: 35px;
    font-size: 22px;
    border: 2px solid white;
  }
}
