/* NRTR full-screen app download gate */
.nrtr-app-gate {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.nrtr-app-gate.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nrtr-app-gate__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 35%, rgba(173, 216, 230, 0.16), transparent 62%),
    radial-gradient(ellipse 50% 40% at 80% 90%, rgba(94, 234, 212, 0.1), transparent 55%),
    rgba(8, 10, 12, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nrtr-app-gate__panel {
  position: relative;
  z-index: 1;
  width: min(40rem, 100%);
  max-height: min(92vh, 54rem);
  overflow: auto;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: 28px;
  border: 1px solid rgba(173, 216, 230, 0.22);
  background:
    linear-gradient(165deg, rgba(173, 216, 230, 0.08), transparent 42%),
    linear-gradient(180deg, #14191f 0%, #0c0f12 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 28px 80px rgba(0, 0, 0, 0.55);
  color: #e8f0f5;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  transform: translateY(18px) scale(0.96);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.nrtr-app-gate.is-open .nrtr-app-gate__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.nrtr-app-gate__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid rgba(232, 240, 245, 0.18);
  background: rgba(12, 15, 18, 0.7);
  color: #e8f0f5;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nrtr-app-gate__close:hover,
.nrtr-app-gate__close:focus-visible {
  border-color: rgba(173, 216, 230, 0.55);
  background: rgba(173, 216, 230, 0.1);
  outline: none;
  transform: scale(1.04);
}

.nrtr-app-gate__eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #add8e6;
}

.nrtr-app-gate__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 5vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
  color: #add8e6;
}

.nrtr-app-gate__title span {
  color: #add8e6;
}

.nrtr-app-gate__lede {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.55;
  color: rgba(232, 240, 245, 0.65);
}

.nrtr-app-gate__stores {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0 0 1.25rem;
}

.nrtr-app-gate__store {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.05rem 1.15rem;
  border-radius: 18px;
  border: 1px solid rgba(173, 216, 230, 0.28);
  background: rgba(173, 216, 230, 0.06);
  color: #e8f0f5;
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.nrtr-app-gate__store:hover,
.nrtr-app-gate__store:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(173, 216, 230, 0.65);
  background: rgba(173, 216, 230, 0.12);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  outline: none;
}

.nrtr-app-gate__store--ios {
  border-color: rgba(125, 211, 252, 0.35);
}

.nrtr-app-gate__store--android {
  border-color: rgba(94, 234, 212, 0.35);
}

.nrtr-app-gate__store-ico {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: #add8e6;
}

.nrtr-app-gate__store-ico svg {
  width: 1.65rem;
  height: 1.65rem;
  display: block;
}

.nrtr-app-gate__store strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nrtr-app-gate__store small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: rgba(232, 240, 245, 0.55);
}

.nrtr-app-gate__web {
  margin-top: 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #add8e6;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.nrtr-app-gate__web:hover {
  border-bottom-color: currentColor;
}

body.nrtr-app-gate-open {
  overflow: hidden !important;
}

@media screen and (max-width: 639px) {
  .nrtr-app-gate__stores {
    grid-template-columns: 1fr;
  }

  .nrtr-app-gate__panel {
    border-radius: 22px;
    padding: 1.5rem 1.25rem 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nrtr-app-gate,
  .nrtr-app-gate__panel,
  .nrtr-app-gate__store {
    transition: none;
  }

  .nrtr-app-gate__panel {
    transform: none;
  }
}
