/* Age restriction modal for Cis B.V. */

.ulb-age {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.ulb-age__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255, 75, 92, 0.55), transparent 65%),
              radial-gradient(circle at bottom, rgba(18, 199, 255, 0.45), transparent 65%),
              rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(4px);
}

.ulb-age__modal {
  position: relative;
  z-index: 1;
  width: min(480px, 92vw);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.9));
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 480px) {
  .ulb-age__modal {
    padding: var(--space-5) var(--space-4);
    border-radius: var(--radius-lg);
  }
}

.ulb-age__header {
  margin-bottom: var(--space-4);
}

.ulb-age__badge {
  margin-bottom: var(--space-2);
}

.ulb-age__title {
  font-size: var(--font-size-2xl);
}

.ulb-age__body p {
  font-size: var(--font-size-sm);
}

.ulb-age__body p:last-of-type {
  margin-bottom: 0;
}

.ulb-age__actions {
  margin-top: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

@media (max-width: 480px) {
  .ulb-age__actions {
    flex-direction: column;
  }

  .ulb-age__btn {
    width: 100%;
    justify-content: center;
  }
}

/* When modal is dismissed programmatically, helper class can hide it */
.ulb-age--hidden {
  display: none !important;
}
