/* ===============================
   GOOGLE FONTS IMPORT
=============================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Playfair+Display:wght@600&display=swap');

/* ===============================
   VARIABLES
=============================== */
:root {
  --gold-yellow: #efa500;
  --bright-yellow: #f5c800;
  --blue-dark: #02253D;
}

/* ===============================
   RESET
=============================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===============================
   OVERLAY (FIXED)
=============================== */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(1, 10, 20, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 999;

  /* Hidden by default */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ===============================
   POPUP BOX
=============================== */
.popup {
  background: var(--blue-dark);
  border-radius: 20px;
  padding: 44px 38px 36px;
  max-width: 410px;
  width: 100%;
  position: relative;
  font-family: 'Poppins', sans-serif;
  text-align: center;

  /* Animation */
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  transition: all 0.3s ease;
}

.overlay.active .popup {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* ===============================
   BORDER GRADIENT
=============================== */
.popup::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1.5px;
  background: linear-gradient(89deg, #efa500 0%, #000000 50%, #efa500 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ===============================
   CLOSE BUTTON
=============================== */
.close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: #ffffff;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.close-btn:hover {
  color: var(--gold-yellow);
}

/* ===============================
   HEADING
=============================== */
.popup-heading {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 14px;
}

.word-get,
.word-access {
  background: linear-gradient(to bottom, var(--gold-yellow) 0%, var(--bright-yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.word-early {
  font-style: italic;
  color: #ffffff;
}

/* ===============================
   BODY TEXT
=============================== */
.popup-body {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
  margin-bottom: 30px;
}

/* ===============================
   BUTTON
=============================== */
.join-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(to top, var(--gold-yellow) 0%, var(--bright-yellow) 100%);
  border: none;
  border-radius: 999px;
  padding: 5px 5px 5px 26px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.09em;
  color: var(--blue-dark);
  text-decoration: none;
  text-transform: uppercase;
  margin-bottom: 28px;
  transition: opacity 0.2s, transform 0.15s;
}

.join-btn:hover {
  background: linear-gradient(to bottom, var(--gold-yellow) 0%, var(--bright-yellow) 100%);
  /*opacity: 0.9;*/
  /*transform: scale(1.02);*/
}

/* ICON */
.btn-icon {
  width: 38px;
  height: 38px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-icon svg {
  width: 16px !important;
  height: 16px !important;
  fill: #02253d;
}

/* ===============================
   NOTE SECTION
=============================== */
.popup-note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  text-align: left;
}

.lock-icon {
  flex-shrink: 0;
  margin-top: 2px;
}