/* 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__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.96));
}

.age-modal__content {
  position: relative;
  max-width: 480px;
  width: 100%;
  margin: var(--space-4);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ffffff, #f4f5fb);
  box-shadow: var(--shadow-lg);
}

.age-modal__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.age-modal__badge {
  font-size: var(--text-xs);
}

.age-modal__title {
  margin: 0;
}

.age-modal__body p {
  font-size: var(--text-sm);
}

.age-modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.age-modal__button {
  min-width: 0;
  white-space: nowrap;
}

.age-modal__button--no {
  order: 1;
}

.age-modal__button--yes {
  order: 2;
}

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

  .age-modal__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .age-modal__button {
    width: 100%;
    justify-content: center;
  }
}

/* When hidden via JS, this class can be added if needed */
.age-modal--hidden {
  display: none !important;
}
