#age-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none !important;
  pointer-events: none;
}

#age-modal.age-modal--visible {
  display: flex !important;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.age-modal__backdrop {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255, 51, 102, 0.4), transparent 60%), rgba(0, 0, 0, 0.88);
  z-index: -1;
}

.age-modal__content {
  position: relative;
  max-width: 480px;
  width: 90%;
  padding: var(--space-6);
  background: radial-gradient(circle at top, rgba(255, 51, 102, 0.35), transparent 70%), linear-gradient(145deg, #111729, #050914);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 60px rgba(255, 51, 102, 0.3), 0 0 60px rgba(0, 212, 255, 0.1);
  z-index: 10000;
}

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

.age-modal__title {
  margin-bottom: 0;
  font-size: var(--text-2xl);
  font-weight: 700;
}

.age-modal__description {
  margin-bottom: var(--space-5);
  font-size: var(--text-base);
  line-height: 1.6;
}

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

.age-modal__btn {
  flex: 1 1 45%;
  justify-content: center;
  min-width: 120px;
}

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

@media (max-width: 600px) {
  .age-modal__content {
    width: 95%;
    padding: var(--space-5);
  }

  .age-modal__actions {
    flex-direction: column;
  }

  .age-modal__btn {
    flex: 1 1 100%;
  }

  .age-modal__title {
    font-size: var(--text-xl);
  }
}

/* When age modal is visible, body scroll should be locked */
.age-lock-scroll {
  overflow: hidden !important;
  height: 100vh;
  position: relative;
}