body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* Fond semi-transparent */
.overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Popup avec effet fade+zoom */
.popup {
  background: #fff;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.4);
  opacity: 0;
  transform: scale(0.7);
  animation: popupFadeZoom 0.5s ease forwards;
}

/* Image ronde avec animation zoom */
.popup-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 15px;
  background: url("/socialact/logo.png") no-repeat center center;
  background-size: cover;
  border: 4px solid #0078ff;
  opacity: 0;
  animation: zoomIn 0.6s ease forwards;
  animation-delay: 0.3s;
}

/* Texte */
.popup h2 {
  margin: 10px 0;
  color: #0078ff;
}

.popup p {
  font-size: 16px;
  margin: 10px 0 20px;
}

/* Boutons */
.popup a {
  display: inline-block;
  padding: 12px 20px;
  background: #0078ff;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.popup a:hover {
  background: #005fcc;
}

.popup button {
  margin-top: 15px;
  background: transparent;
  border: none;
  color: #555;
  cursor: pointer;
  font-size: 14px;
}

/* Animations */
@keyframes popupFadeZoom {
  from {opacity: 0; transform: scale(0.7);}
  to {opacity: 1; transform: scale(1);}
}

@keyframes zoomIn {
  from {transform: scale(0); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

/* Responsive */
@media (max-width: 480px) {
  .popup {
    max-width: 95%;
    padding: 15px;
  }
  .popup-image {
    width: 100px;
    height: 100px;
  }
  .popup p {
    font-size: 14px;
  }
}