/* ================= FIRST VISIT POPUP ================= */

.first-visit-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

/* POPUP CONTAINER */
.first-visit-popup {
  background: linear-gradient(135deg, #444, #2f2f2f);
  color: #fff;
  padding: 36px 34px;
  border-radius: 16px;
  max-width: 420px;
  width: calc(100% - 40px);
  position: relative;
  text-align: center;
  box-shadow: 0 15px 45px rgba(0,0,0,0.45);
  animation: firstVisitPopupFade 0.4s ease;
}

/* CLOSE BUTTON */
.first-visit-popup-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.first-visit-popup-close:hover {
  opacity: 1;
}

/* TEXT */
.first-visit-popup h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 18px;
}

.first-visit-popup-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 26px;
}

.first-visit-popup-note {
  display: block;
  font-size: 13px;
  opacity: 0.8;
  margin-top: 6px;
}

/* BUTTON */
.first-visit-popup-btn {
  padding: 14px 26px;
}

/* ANIMATION */
@keyframes firstVisitPopupFade {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* MOBILE */
@media (max-width: 480px) {
  .first-visit-popup {
    padding: 28px 22px;
  }

  .first-visit-popup h3 {
    font-size: 20px;
  }

  .first-visit-popup-text {
    font-size: 15px;
  }
}
