body {
  margin: 0;
  font-family: Arial;
background: #000;  color: white;
  padding-top: 0px;
}

/* ===== الخلفية ===== */
.social-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  transition: 0.4s;

  z-index: 9999; /* 👈 أهم سطر */
}

/* show */
.social-popup.show {
  opacity: 1;
  visibility: visible;
}

/* ===== الصندوق ===== */
.popup-box {
  background: rgba(15, 15, 30, 0.95);
  padding: 35px;
  border-radius: 20px;
  text-align: center;
  position: relative;

  transform: scale(0.7);
  transition: 0.4s;

  backdrop-filter: blur(20px);

  border: 1px solid rgba(255,255,255,0.08);
 z-index: 10000;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

/* animation */
.social-popup.show .popup-box {
  transform: scale(1);
}

/* زرار القفل */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
  transition: 0.3s;
}

.close-btn:hover {
  transform: scale(1.2);
}

/* العنوان */
.popup-box h3 {
  margin-bottom: 20px;
}

/* links */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* base style */
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 12px;
  border-radius: 20px;

  text-decoration: none;
  color: white;

  transition: 0.3s;
}

/* hover */
.social-links a:hover {
  transform: scale(1.07);
}

/* ألوان كل منصة 🔥 */

.facebook {
  background: linear-gradient(135deg, #1877f2, #0d47a1) !important;
}

.whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e) !important;
}

.instagram {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af) !important;
}

.social-links i {
  font-size: 18px;
}