/* Age restriction (18+) modal */

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

.age-gate-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0, 0, 0, 0.92) 0, rgba(0, 0, 0, 0.98) 55%);
}

.age-gate-panel {
  position: relative;
  max-width: 500px;
  width: 100%;
  margin-inline: var(--space-8);
  padding: var(--space-16);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-strong);
  background: radial-gradient(circle at top left, rgba(200, 138, 43, 0.28) 0, transparent 55%),
    radial-gradient(circle at bottom right, rgba(31, 91, 60, 0.5) 0, transparent 60%),
    linear-gradient(145deg, rgba(0, 0, 0, 0.98), rgba(10, 11, 12, 0.98));
  box-shadow: var(--shadow-ambient);
}

.age-gate-header {
  margin-bottom: var(--space-8);
}

.age-gate-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(200, 138, 43, 0.7);
  background-color: rgba(200, 138, 43, 0.26);
  font-size: var(--font-size-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-50);
  margin-bottom: var(--space-4);
}

.age-gate-title {
  font-size: var(--font-size-3xl);
  margin-bottom: 0;
}

.age-gate-body p {
  font-size: var(--font-size-sm);
}

.age-gate-note {
  margin-top: var(--space-4);
  color: var(--color-text-muted);
}

.age-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-10);
}

.age-gate-btn {
  flex: 1 1 auto;
  justify-content: center;
}

.age-gate-btn--no {
  border-color: var(--color-border-strong);
}

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

  .age-gate-title {
    font-size: var(--font-size-2xl);
  }
}

/* When hidden via JS, allow entire gate to be removed if class is added */

.age-gate.is-hidden {
  display: none;
}
