/* Age restriction modal styles */

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

.age-modal--hidden {
  display: none !important;
}

.age-modal__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(32, 22, 12, 0.8), rgba(10, 6, 3, 0.96));
}

.age-modal__content {
  position: relative;
  max-width: 480px;
  width: 100%;
  margin-inline: var(--container-padding-x);
  z-index: 1;
}

.age-modal__inner {
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #fffaf1, #f1e0c9);
  border: 1px solid rgba(191, 168, 135, 0.9);
  box-shadow: var(--shadow-medium);
  padding: var(--space-8);
  text-align: left;
}

.age-modal__title {
  font-family: var(--font-family-serif);
  font-size: 1.4rem;
  margin-bottom: var(--space-4);
}

.age-modal__description {
  font-size: 0.96rem;
  margin-bottom: var(--space-6);
}

.age-modal__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

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

.age-modal__btn--yes {
  background: linear-gradient(135deg, #c9a24e 0%, #a27932 50%, #8b6123 100%);
}

.age-modal__note {
  font-size: 0.78rem;
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted);
}

@media (min-width: 560px) {
  .age-modal__actions {
    flex-direction: row;
  }

  .age-modal__btn {
    width: auto;
    flex: 1;
  }
}

/* Prevent background scroll when modal is active */

body.age-gate-active {
  overflow: hidden;
}
