/* Exit Intent Popup Styles */
.exit-intent-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(3px);
}

.exit-intent-overlay.show {
  opacity: 1;
  visibility: visible;
}

.exit-popup-content {
  background: linear-gradient(135deg, #2a2a2a, #404040);
  padding: 45px 35px;
  border-radius: 15px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  border: 3px solid #ff6600;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
  animation: popupAppear 0.5s ease;
}

.exit-popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 102, 0, 0.3);
  font-size: 28px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.exit-popup-close:hover {
  background: rgba(255, 102, 0, 0.2);
  color: #ff6600;
  border-color: #ff6600;
}

.exit-popup-icon {
  font-size: 52px;
  margin-bottom: 20px;
  animation: bounce 2s infinite;
  filter: drop-shadow(0 0 10px rgba(255, 102, 0, 0.5));
}

.exit-popup-title {
  font-size: 40px;
  font-weight: bold;
  color: #ff6600;
  margin-bottom: 18px;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
  animation: pulse 2s infinite;
  letter-spacing: 1px;
}

.exit-popup-subtitle {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 30px;
  opacity: 0.95;
  font-weight: 500;
}

.exit-bonus-offer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  padding: 25px;
  background: rgba(255, 102, 0, 0.08);
  border-radius: 12px;
  border: 2px dashed #ff6600;
  box-shadow: inset 0 2px 10px rgba(255, 102, 0, 0.1);
}

.exit-bonus-amount {
  font-size: 36px;
  font-weight: bold;
  color: #ff6600;
  text-shadow: 0 0 15px rgba(255, 102, 0, 0.4);
}

.exit-bonus-plus {
  font-size: 30px;
  color: #f0f0f0;
  opacity: 0.9;
  font-weight: bold;
}

.exit-bonus-percent {
  font-size: 36px;
  font-weight: bold;
  color: #ff6600;
  text-shadow: 0 0 15px rgba(255, 102, 0, 0.4);
}

.exit-popup-text {
  font-size: 18px;
  color: #f0f0f0;
  margin-bottom: 35px;
  opacity: 0.95;
  font-weight: 500;
}

.exit-popup-cta {
  background: linear-gradient(45deg, #ff6600, #ff8800);
  color: white;
  border: none;
  padding: 20px 40px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(255, 102, 0, 0.4);
  transition: all 0.3s ease;
  animation: pulseButton 2s infinite;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border: 2px solid transparent;
}

.exit-popup-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(255, 102, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.3);
}

.exit-popup-footer {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  background: rgba(255, 102, 0, 0.05);
  padding: 8px 15px;
  border-radius: 20px;
  display: inline-block;
}

/* Animations */
@keyframes popupAppear {
  0% {
    transform: scale(0.8) translateY(-30px);
    opacity: 0;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@keyframes pulseButton {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Mobile adaptation */
@media (max-width: 768px) {
  .exit-popup-content {
    padding: 35px 25px;
    max-width: 95%;
    border-width: 2px;
  }
  
  .exit-popup-title {
    font-size: 32px;
  }
  
  .exit-popup-subtitle {
    font-size: 18px;
  }
  
  .exit-bonus-offer {
    flex-direction: column;
    gap: 10px;
    padding: 20px;
  }
  
  .exit-bonus-amount,
  .exit-bonus-percent {
    font-size: 28px;
  }
  
  .exit-bonus-plus {
    font-size: 24px;
    transform: rotate(90deg);
  }
  
  .exit-popup-cta {
    font-size: 16px;
    padding: 18px 30px;
  }
  
  .exit-popup-icon {
    font-size: 45px;
  }
}

/* Tablet adaptation */
@media (max-width: 1024px) and (min-width: 769px) {
  .exit-popup-content {
    max-width: 85%;
    padding: 40px 30px;
  }
}
