/* Nnexyra Age Restriction Modal */

.nx-age {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nx-age__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0, rgba(127, 92, 255, 0.55), transparent 60%),
    radial-gradient(circle at 80% 100%, rgba(50, 215, 161, 0.45), transparent 60%),
    rgba(2, 4, 12, 0.94);
}

.nx-age__dialog {
  position: relative;
  max-width: 480px;
  width: 100%;
  margin-inline: var(--space-4);
  padding: var(--space-5) var(--space-5) var(--space-4);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 0 0, rgba(127, 92, 255, 0.25), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(50, 215, 161, 0.2), transparent 60%),
    linear-gradient(145deg, rgba(10, 13, 28, 0.98), rgba(7, 9, 18, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-soft);
}

.nx-age__title {
  font-size: 1.4rem;
  margin-bottom: var(--space-3);
}

.nx-age__text {
  font-size: 0.95rem;
  margin-bottom: var(--space-4);
}

.nx-age__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: flex-end;
}

.nx-age__button {
  flex: 1 1 auto;
  min-width: 10rem;
}

@media (max-width: 480px) {
  .nx-age__dialog {
    margin-inline: var(--space-3);
    padding-inline: var(--space-4);
  }

  .nx-age__actions {
    flex-direction: column;
    align-items: stretch;
  }
}
