/* Age-confirmation modal. Renders client-side over the page so crawlers
   still see HTML behind it. Tokens duplicated from assets/src/tokens.jsx —
   the JSX uses inline styles at runtime, no shared CSS variables file exists. */

.age-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5, 4, 10, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 200ms ease;
}

.age-gate-overlay.is-open {
  opacity: 1;
}

.age-gate-card {
  background: #1a1615;
  border: 1px solid #E8C66B;
  border-radius: 4px;
  padding: 48px 40px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 0 0 0 8px #1a1615;
  transform: translateY(12px) scale(0.97);
  opacity: 0;
  transition: opacity 240ms ease, transform 240ms ease;
}

.age-gate-overlay.is-open .age-gate-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.age-gate-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  color: #F6ECD4;
  margin: 0 0 20px;
  line-height: 1;
}

.age-gate-body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  color: #b8b1a3;
  margin: 0 0 32px;
  text-wrap: pretty;
}

.age-gate-body em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  color: #F6ECD4;
}

.age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.age-gate-btn {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.5px;
  padding: 14px 26px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, color 120ms ease, border-color 120ms ease;
}

.age-gate-btn:focus-visible {
  outline: 2px solid #FCEDB5;
  outline-offset: 2px;
}

.age-gate-btn-primary {
  background: linear-gradient(180deg, #E8C66B, #C79A3D);
  color: #05040A;
  border: none;
  box-shadow: 0 4px 12px rgba(165, 116, 32, 0.27), inset 0 1px 0 rgba(252, 237, 181, 0.33);
}

.age-gate-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(165, 116, 32, 0.4), inset 0 1px 0 rgba(252, 237, 181, 0.4);
}

.age-gate-btn-secondary {
  background: transparent;
  color: #F6ECD4;
  border: 1px solid #A57420;
}

.age-gate-btn-secondary:hover {
  border-color: #C79A3D;
  color: #FCEDB5;
}

@media (max-width: 520px) {
  .age-gate-card { padding: 32px 24px 28px; }
  .age-gate-heading { font-size: 2rem; }
}
