/* =========================
   GLOBAL RESET
========================= */
body {
  margin: 0;
  font-family: 'Satoshi', system-ui, -apple-system, sans-serif;
}

/* =========================
   OVERLAY (GLASS BACKDROP)
========================= */
.overlay {
  position: fixed;
  inset: 0;

  background: rgba(9, 36, 75, 0.55);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);

  display: none;
  align-items: center;
  justify-content: center;

  z-index: 9999;
}

/* =========================
   POPUP CONTAINER (GLASS CARD)
========================= */
.popup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;

  width: 100%;
  max-width: 280px;

  padding: 26px 22px;
  text-align: center;

  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);

  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.32);

  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);

  animation: pop 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* =========================
   POP ANIMATION
========================= */
@keyframes pop {
  from {
    transform: scale(0.94) translateY(12px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

/* =========================
   LOTTIE / ICON HOLDER
========================= */
.popup-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 4px 12px rgba(0, 0, 0, 0.18);
}

/* =========================
   HEADLINE
========================= */
.popup h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;

  color: #ffffff;
}

/* =========================
   SUBTEXT
========================= */
.popup p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;

  color: rgba(255, 255, 255, 0.8);
}

/* =========================
   BUTTON CONTAINER
========================= */
#answerButtonContainer {
  display: flex;
  gap: 12px;
  width: 100%;
}

/* =========================
   BUTTON BASE
========================= */
.popup button {
  flex: 1;
  height: 48px;

  border-radius: 14px;
  border: none;

  cursor: pointer;
  user-select: none;

  font-family: 'Satoshi', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  transition:
    background 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;

  -webkit-tap-highlight-color: transparent;
}

.popup button:active {
  transform: scale(0.96);
}

/* =========================
   SECONDARY (APK)
========================= */
.popup button.yes {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;

  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.popup button.yes:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* =========================
   PRIMARY (FAST)
========================= */
.popup button.no {
  background: linear-gradient(
    180deg,
    #2b91ff,
    #007bff
  );

  color: #ffffff;

  box-shadow:
    0 8px 18px rgba(0, 123, 255, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.popup button.no:hover {
  box-shadow:
    0 10px 24px rgba(0, 123, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

/* =========================
   ICONS INSIDE BUTTON
========================= */
#download_prompt_icons {
  width: 18px;
  height: 18px;
  opacity: 0.95;
}
