/* Age restriction modal for Mesaynaipes */

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

.age-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
}

.age-modal__content {
  position: relative;
  max-width: 480px;
  width: 100%;
  margin: 0 var(--space-8);
  padding: var(--space-10);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  box-shadow: var(--shadow-crisp);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.age-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.age-modal__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  background-color: #111827;
  color: #f9fafb;
  font-size: var(--font-size-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.age-modal__title {
  margin-bottom: 0;
}

.age-modal__description {
  font-size: var(--font-size-sm);
}

.age-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.age-modal__button {
  flex: 1 1 auto;
  justify-content: center;
}

.age-modal__legal {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

@media (max-width: 480px) {
  .age-modal__content {
    margin: 0 var(--space-6);
    padding: var(--space-8);
  }
}

@media (prefers-reduced-motion: reduce) {
  .age-modal__content {
    scroll-behavior: auto;
  }
}