/* Age restriction modal styles */

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

.age-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.76);
  backdrop-filter: blur(10px);
}

.age-modal__content {
  position: relative;
  max-width: 480px;
  width: 100%;
  margin: 0 var(--space-16);
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-32) var(--space-24) var(--space-24);
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.age-modal__title {
  font-size: 1.4rem;
  margin: 0 0 var(--space-12) 0;
}

.age-modal__text {
  margin: 0;
}

.age-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
  justify-content: flex-end;
}

.age-modal__btn {
  flex: 1 1 120px;
}

@media (min-width: 480px) {
  .age-modal__content {
    padding: var(--space-32);
  }

  .age-modal__btn {
    flex: 0 0 auto;
  }
}

/* When age gate is active, body will have this class to prevent interaction */
body.age-gate-active {
  overflow: hidden;
}

body.age-gate-active *:not(.age-modal):not(.age-modal *) {
  pointer-events: none !important;
}
