/* Tombol Donasi */
#donasiMenu {
  background: var(--secondary-color);
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.4s ease;
}

#donasiMenu:hover {
  background: var(--secondary-hover-color);
  transform: scale(1.05);
}

/* Overlay */
#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  backdrop-filter: blur(4px);
  transition: opacity 0.5s ease;
  opacity: 0;
}

#overlay.active {
  display: block;
  opacity: 1;
}

/* Popup Donasi dengan Glassmorphism */
#donasiPopup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%) scale(0.9);
  background: rgba(255, 255, 255, 0.2);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1000;
  width: 90%;
  max-width: 500px;
  transition: all 0.4s ease;
  opacity: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

#donasiPopup.active {
  display: block;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* Tombol Tutup */
.close {
  background: #ff4d4d;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
}

.close:hover {
  background: #c0392b;
  transform: scale(1.05);
}

/* Header Popup */
#headerPopup {
  margin-top: 0;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

#textPopup {
  color: white;
  font-size: 14px;
  line-height: 1.6;
}

 /* Kontak WhatsApp */
 .contact {
  background: rgba(255, 255, 255, 0.3);
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  margin-top: 15px;
}

.contact a {
  display: inline-flex;
  align-items: center;
  background: #25D366;
  color: white;
  padding: 8px 15px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
}

.contact a:hover {
  background: #128C7E;
  transform: scale(1.05);
}

/* Responsif */
@media (max-width: 480px) {
  #donasiPopup {
    padding: 20px;
  }
  #donasiMenu {
    padding: 12px 25px;
    font-size: 16px;
  }
}