/* ===============================
   Popup Facebook - Golden Flow (UnexpectedCO)
   =============================== */

#popup-facebook {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  font-family: "Open Sans", Arial, sans-serif !important;
}

/* --- Ventana principal --- */
#popup-facebook .popup-window {
  width: 520px;
  background: linear-gradient(to bottom right, #1b1b1b, #2b2b2b);
  color: #f3e2b3 !important;
  border: 2px solid #d4af37; /* borde dorado */
  border-radius: 8px;
  box-shadow: 0 0 40px rgba(212,175,55,0.4);
  animation: fadeInPopup 0.3s ease-out;
  text-shadow: 0 0 4px rgba(0,0,0,0.8);
}

/* --- Barra superior --- */
#popup-facebook .popup-title {
  background: linear-gradient(to bottom, #e0c46c, #b8860b);
  color: #1b1b1b !important;
  font-weight: bold;
  text-align: center;
  padding: 10px 14px;
  font-size: 18px !important;
  border-bottom: 2px solid #8b7500;
  border-radius: 6px 6px 0 0;
  letter-spacing: 0.5px;
  box-shadow: inset 0 -2px 3px rgba(0,0,0,0.5);
}

/* --- Cuerpo --- */
#popup-facebook .popup-body {
  text-align: center;
  padding: 25px 20px;
  background: radial-gradient(circle at center, #222, #111);
  border-radius: 0 0 6px 6px;
  color: #f1e1a6;
}

#popup-facebook .popup-body p {
  font-size: 23px !important;
  color: #f1e1a6 !important;
  margin-bottom: 12px;
  font-weight: bold;
}

/* --- Logo --- */
#popup-facebook .popup-logo {
  max-width: 220px;
  margin: 18px 0;
  filter: drop-shadow(0 0 6px rgba(212,175,55,0.7));
}

/* --- Botón principal --- */
#popup-facebook .popup-btn {
  background: linear-gradient(to bottom, #ffd966, #d4af37);
  color: #1b1b1b !important;
  font-weight: bold;
  padding: 10px 25px;
  border: none;
  border-radius: 6px;
  text-decoration: none !important;
  transition: 0.2s;
  display: inline-block;
  font-size: 17px;
  box-shadow: 0 4px 0 #8b7500;
}

#popup-facebook .popup-btn:hover {
  background: linear-gradient(to bottom, #ffec9b, #e0c46c);
  transform: translateY(-1px);
}

/* --- Botón cerrar --- */
#popup-facebook .popup-close {
  margin-top: 15px;
  background: transparent;
  border: 2px solid #d4af37;
  color: #f1e1a6 !important;
  font-weight: bold;
  padding: 7px 22px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
  font-size: 15px;
}

#popup-facebook .popup-close:hover {
  background: #d4af37;
  color: #1b1b1b !important;
  box-shadow: 0 0 10px rgba(212,175,55,0.7);
}

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