/* ── FX-Wave Geo Popup ────────────────────────────────────────────────────── */

#fxwave-geo-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;

  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#fxwave-geo-popup.fxwave-popup-visible {
  opacity: 1;
  pointer-events: all;
}

/* ── Card ── */
.fxwave-popup-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  padding: 2.5rem 2rem 2rem;
  border-radius: 16px;

  background: linear-gradient(145deg, #0f1923 0%, #0a1118 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 1px rgba(0, 195, 137, 0.15),
    0 32px 80px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(0, 195, 137, 0.05);

  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#fxwave-geo-popup.fxwave-popup-visible .fxwave-popup-card {
  transform: translateY(0) scale(1);
}

/* ── Close button ── */
.fxwave-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.fxwave-popup-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ── Icon ── */
.fxwave-popup-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 195, 137, 0.1);
  border: 1px solid rgba(0, 195, 137, 0.2);
  color: #00c389;
}

/* ── Title ── */
.fxwave-popup-title {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* ── Body text ── */
.fxwave-popup-text {
  margin: 0 0 1.75rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
}

.fxwave-popup-text strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

/* ── CTA Button ── */
.fxwave-popup-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #000 !important;

  background: linear-gradient(135deg, #00c389 0%, #00a372 100%);
  box-shadow: 0 4px 24px rgba(0, 195, 137, 0.35);

  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.fxwave-popup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 195, 137, 0.5);
  filter: brightness(1.05);
  color: #000 !important;
  text-decoration: none;
}

.fxwave-popup-btn:active {
  transform: translateY(0);
}

/* ── Sub text ── */
.fxwave-popup-sub {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ── Mobile ── */
@media (max-width: 480px) {
  .fxwave-popup-card {
    padding: 2rem 1.25rem 1.5rem;
  }

  .fxwave-popup-title {
    font-size: 1.25rem;
  }
}
