
/* Import Cookie font */
@import url('https://fonts.googleapis.com/css2?family=Cookie&display=swap');

/* Floating Button Container - Centered */
#bmc-floating {
  position: fixed;
  bottom:10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10001;
  display: none; /* Hidden by default */
}

/* Main Popup Styles */
#bmc-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 10003;
}

#bmc-popup-content {
  background: #fff;
  padding: 50px 40px;
  border-radius: 20px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 25px 80px rgba(0,0,0,0.5);
}

#bmc-popup-content h3 {
  margin: 0 0 20px 0;
  font-size: 28px;
  color: #333;
  font-weight: 600;
}

#bmc-popup-content p {
  margin: 0 0 40px 0;
  font-size: 18px;
  color: #666;
  line-height: 1.6;
}

.popup-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  width: 100%;
}

/* Super-sized animated BMC button */
.super-bmc-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px 40px !important;
  background: linear-gradient(135deg, #5F7FFF, #4a6fe3) !important;
  color: #ffffff !important;
  border: 5px solid #000000 !important;
  border-radius: 15px !important;
  font-family: 'Cookie', cursive !important;
  font-size: 32px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  min-width: 280px !important;
  height: 60px !important;
  box-shadow: 0 8px 25px rgba(95, 127, 255, 0.4) !important;
  transition: all 0.4s ease !important;
  transform: scale(1);
  animation: gentleWiggle 3s ease-in-out infinite;
}

.super-bmc-btn:hover {
  background: linear-gradient(135deg, #4a6fe3, #3a5fd8) !important;
  transform: scale(1.08) !important;
  box-shadow: 0 12px 35px rgba(95, 127, 255, 0.6) !important;
  animation: none !important;
}

.super-bmc-btn img {
  height: 40px !important;
  margin-right: 15px !important;
  filter: brightness(0) invert(1);
}

/* Gentle wiggle animation */
@keyframes gentleWiggle {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  25% {
    transform: scale(1.02) rotate(1deg);
  }
  75% {
    transform: scale(1.02) rotate(-1deg);
  }
}

/* Later button */
.later-btn {
  padding: 16px 32px;
  background: #f8f9fa;
  color: #666;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 200px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.later-btn:hover {
  background: #e9ecef;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Centered floating button (bigger with enhanced animation) */
.centered-floating-bmc-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px 32px !important;
  background: linear-gradient(135deg, #5F7FFF, #4a6fe3) !important;
  color: #ffffff !important;
  border: 5px solid #000000 !important;
  border-radius: 15px !important;
  font-family: 'Cookie', cursive !important;
  font-size: 26px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  min-width: 220px !important;
  height: 65px !important;
  box-shadow: 0 6px 20px rgba(95, 127, 255, 0.4) !important;
  transition: all 0.3s ease !important;
  animation: enhancedWiggle 2.5s ease-in-out infinite, pulseGlow 3s ease-in-out infinite;
}

.centered-floating-bmc-btn:hover {
  background: linear-gradient(135deg, #4a6fe3, #3a5fd8) !important;
  transform: scale(1.08) !important;
  box-shadow: 0 10px 30px rgba(95, 127, 255, 0.7) !important;
  animation: none !important;
}

.centered-floating-bmc-btn img {
  height: 30px !important;
  margin-right: 10px !important;
  filter: brightness(0) invert(1);
}

/* Enhanced wiggle animation */
@keyframes enhancedWiggle {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  15% {
    transform: scale(1.05) rotate(2deg);
  }
  30% {
    transform: scale(1.03) rotate(-2deg);
  }
  45% {
    transform: scale(1.05) rotate(1.5deg);
  }
  60% {
    transform: scale(1.03) rotate(-1.5deg);
  }
  75% {
    transform: scale(1.04) rotate(1deg);
  }
}

/* Pulsing glow effect */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 6px 20px rgba(95, 127, 255, 0.4);
  }
  50% {
    box-shadow: 0 6px 30px rgba(95, 127, 255, 0.7), 0 0 20px rgba(95, 127, 255, 0.4);
  }
}
