/* 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[hidden] {
  display: none;
}

.age-modal-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(14, 165, 233, 0.45), transparent 55%),
              rgba(15, 23, 42, 0.92);
}

.age-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  margin: 0 var(--space-4);
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.18), transparent 55%),
              #020617;
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-strong);
  color: #e5e7eb;
}

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

.age-modal-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: radial-gradient(circle at 20% 0%, #f97316, #facc15);
  color: #111827;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.age-modal-title {
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: #f9fafb;
}

.age-modal-body p {
  font-size: 0.95rem;
  color: #e5e7eb;
}

.age-modal-actions {
  margin-top: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.age-modal-button {
  flex: 1 1 9rem;
}

.age-modal-button-secondary {
  background-color: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.7);
}

@media (max-width: 480px) {
  .age-modal-panel {
    padding: var(--space-5);
  }
}

@media (prefers-reduced-motion: reduce) {
  .age-modal-panel {
    scroll-behavior: auto !important;
  }
}
