/* Age Restriction Overlay */
.age-restriction-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(30, 55, 153, 0.95);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 1;
  transition: opacity var(--transition-base);
}

.age-restriction-overlay[hidden] {
  display: none;
}

.age-restriction-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* Modal */
.age-restriction-modal {
  background-color: var(--color-bg);
  border-radius: var(--radius-xl);
  max-width: 500px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  transform: scale(1);
  transition: transform var(--transition-base);
}

.age-restriction-overlay.is-hidden .age-restriction-modal {
  transform: scale(0.95);
}

.age-restriction-content {
  padding: var(--space-8);
  text-align: center;
}

.age-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--text-2xl);
  color: var(--color-text);
  margin-bottom: var(--space-4);
  line-height: var(--leading-tight);
}

.age-description {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
  line-height: var(--leading-relaxed);
}

.age-actions {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

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

/* Prevent body scroll when modal is open */
body.age-restriction-active {
  overflow: hidden;
}

/* Focus styles */
.age-restriction-overlay button:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .age-restriction-content {
    padding: var(--space-6);
  }
  
  .age-title {
    font-size: var(--text-xl);
  }
  
  .age-actions {
    flex-direction: column;
  }
  
  .age-actions .btn {
    width: 100%;
  }
}