/* ===== GALAXY WHATSAPP BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 66px;
  height: 66px;
  background: linear-gradient(135deg, #0a0f1e 0%, #1e1b4b 25%, #4c1d95 50%, #1e1b4b 75%, #0a0f1e 100%);
  background-size: 400% 400%;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 0 20px rgba(56, 189, 248, 0.2),
    0 0 40px rgba(129, 140, 248, 0.1),
    inset 0 0 12px rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: cosmicShift 8s linear infinite, waFloat 3s ease-in-out infinite;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(45deg, #38bdf8, #818cf8, #a78bfa, #38bdf8);
  background-size: 400% 400%;
  z-index: -1;
  animation: cosmicShift 4s linear infinite;
  opacity: 0.3;
  filter: blur(8px);
}

.whatsapp-float i {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-10px);
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 
    0 0 30px rgba(56, 189, 248, 0.4),
    0 0 60px rgba(129, 140, 248, 0.2),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.whatsapp-float:hover i {
  transform: scale(1.2) rotate(10deg);
}

/* Animations */
@keyframes cosmicShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes waFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.4); }
  70% { box-shadow: 0 0 0 20px rgba(56, 189, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

/* Star dust effect */
.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-image: radial-gradient(circle at 50% 50%, #fff 1px, transparent 1px);
  background-size: 15px 15px;
  opacity: 0.1;
  animation: rotateStars 20s linear infinite;
}

@keyframes rotateStars {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 25px;
    right: 25px;
    width: 56px;
    height: 56px;
    font-size: 26px;
  }
}
