/* === POPUP GENERAL === */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: none;
  z-index: 9998;
}

.popup-content {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(270deg, rgba(4, 4, 5, 0.1), rgba(191, 193, 197, 0.1) 44.63%, rgba(18, 19, 20, 0.1));
  border-image: linear-gradient(270deg, #050607, #BA9056 50%, #151517);
  border-image-slice: 1;
  border-style: solid;
  border-width: 1px 0;
  padding: 30px;
  max-width: 1570px;
  width: 90%;
  color: #fff;
  text-align: center;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  border-radius: 8px;
  opacity: 0;
  display: none;
}

.popup-content h2 {
  color: #EDB86E;
  margin-bottom: 30px;
  text-align: left;
  font-family: 'LucidaCalligraphy', cursive;
}

.popup-content button,
.popup-content a,
.btn-close {
  background: transparent;
  color: #BA9056;
  border: 1px solid transparent;
  padding: 10px 60px;
  margin-top: 5px;
  cursor: pointer;
  font-weight: bold;
  max-width: 100%;
  transition: background 0.3s ease;
  border-image: linear-gradient(270deg, #151517, #BA9056 50%, #151517);
  border-image-slice: 1;
  background: linear-gradient(181deg, rgba(4, 4, 5, 0.1), rgba(191, 193, 197, 0.1) 44.63%, rgba(18, 19, 20, 0.1));
  border-radius: 6px;
}

.popup-content button:hover,
.popup-content a:hover {
  background: linear-gradient(337deg, rgba(4, 4, 5, 0.1), rgba(191, 193, 197, 0.1), rgba(18, 19, 20, 0.1));
}

/* === BODY LOCKED === */
.no-scroll {
  overflow: hidden;
}
.btn-close {
    margin-top: 15px !important;
}
/* === RESPONSIVE === */
@media screen and (max-width: 768px) {
  .popup-content {
    top: 0 !important;
    width: 95%;
    padding: 15px 10px;
    transform: translateX(-50%) translateY(0);
  }

  .popup-content h2 {
   font-size: 18px;
        text-align: center;
        margin-bottom: 15px;
        margin-top: 3px;
  }

  .popup-content button {
    padding: 7px;
    font-size: 11px;
    color: #BA9056 !important;
  }
  .popup-content button, .popup-content a {
   margin-top: 9px;
  }
  .btn-close{
    width: 150px;
  }
}
