/* HIDE OLD / YELLOW FLOATING DONATE BUTTONS */
.donate-btn,
.donate-float,
.floating-donate,
.floating-donate-btn-old,
.btn-donate,
.campaign-donate-float,
a[href*="/donate/"].floating,
a[href*="/donate/"].donate-btn {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}


/* NEW BLUE FLOATING DONATE BUTTON */
.floating-donate-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  min-width: 140px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  color: #ffffff !important;
  background: linear-gradient(135deg, #1f46d8, #315df3, #1f46d8);
  background-size: 200% 200%;
  box-shadow:
    0 10px 25px rgba(37, 71, 208, 0.35),
    0 0 0 rgba(37, 71, 208, 0.0);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
  animation:
    donateGradientMove 4s ease infinite,
    donatePulse 2s ease-in-out infinite;
}

/* SHINE SWEEP */
.floating-donate-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.18) 45%,
    rgba(255,255,255,0.55) 50%,
    rgba(255,255,255,0.18) 55%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  animation: donateShine 3s ease-in-out infinite;
  border-radius: 999px;
}

/* KEEP TEXT ABOVE SHINE */
.floating-donate-btn {
  overflow: hidden;
}

.floating-donate-btn:hover,
.floating-donate-btn:focus {
  transform: translateY(-3px) scale(1.03);
  filter: brightness(1.05);
  box-shadow:
    0 14px 32px rgba(37, 71, 208, 0.45),
    0 0 22px rgba(49, 93, 243, 0.35);
  color: #ffffff !important;
}

/* MOBILE */
@media (max-width: 768px) {
  .floating-donate-btn {
    right: 14px;
    bottom: 14px;
    padding: 12px 18px;
    min-width: 120px;
    font-size: 16px;
  }
}

/* ANIMATIONS */
@keyframes donateGradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes donatePulse {
  0% {
    box-shadow:
      0 10px 25px rgba(37, 71, 208, 0.35),
      0 0 0 0 rgba(49, 93, 243, 0.30);
  }
  70% {
    box-shadow:
      0 10px 25px rgba(37, 71, 208, 0.35),
      0 0 0 14px rgba(49, 93, 243, 0.00);
  }
  100% {
    box-shadow:
      0 10px 25px rgba(37, 71, 208, 0.35),
      0 0 0 0 rgba(49, 93, 243, 0.00);
  }
}

@keyframes donateShine {
  0% {
    left: -75%;
  }
  60% {
    left: 130%;
  }
  100% {
    left: 130%;
  }
}
.floating-donate-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  color: #fff !important;
  background: linear-gradient(135deg, #1f46d8, #3c6cff, #1f46d8);
  background-size: 200% 200%;
  box-shadow:
    0 10px 28px rgba(31, 70, 216, 0.38),
    0 0 0 0 rgba(60, 108, 255, 0.38);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  animation: donateGradientMove 4s ease infinite, donatePulse 2s ease-in-out infinite;
  overflow: hidden;
}

.floating-donate-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.12) 40%,
    rgba(255,255,255,0.55) 50%,
    rgba(255,255,255,0.12) 60%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  animation: donateShine 3.2s ease-in-out infinite;
  border-radius: 999px;
}

.floating-donate-btn:hover,
.floating-donate-btn:focus {
  transform: translateY(-3px) scale(1.03);
  color: #fff !important;
  filter: brightness(1.05);
  box-shadow:
    0 16px 34px rgba(31, 70, 216, 0.48),
    0 0 24px rgba(60, 108, 255, 0.42);
}

@media (max-width: 768px) {
  .floating-donate-btn {
    right: 14px;
    bottom: 14px;
    min-width: 125px;
    padding: 12px 18px;
    font-size: 16px;
  }
}

@keyframes donateGradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes donatePulse {
  0% {
    box-shadow:
      0 10px 28px rgba(31, 70, 216, 0.38),
      0 0 0 0 rgba(60, 108, 255, 0.34);
  }
  70% {
    box-shadow:
      0 10px 28px rgba(31, 70, 216, 0.38),
      0 0 0 16px rgba(60, 108, 255, 0);
  }
  100% {
    box-shadow:
      0 10px 28px rgba(31, 70, 216, 0.38),
      0 0 0 0 rgba(60, 108, 255, 0);
  }
}

@keyframes donateShine {
  0% { left: -80%; }
  60% { left: 135%; }
  100% { left: 135%; }
}
a[href*="/donate/"] {
  display: none !important;
}