/* Soft 18+ notice – overlay only; does not alter page content for crawlers */

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  pointer-events: none;
}

.age-gate[hidden] {
  display: none !important;
}

.age-gate__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.45);
  backdrop-filter: blur(2px);
  pointer-events: auto;
}

.age-gate__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  margin-bottom: 12px;
  padding: 22px 22px 18px;
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(24, 24, 27, 0.18);
  pointer-events: auto;
  animation: age-gate-in 0.28s ease;
}

@keyframes age-gate-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.age-gate__kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b91c1c;
}

.age-gate__title {
  margin: 0 0 8px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: #18181b;
}

.age-gate__text {
  margin: 0 0 18px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #71717a;
}

.age-gate__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.age-gate__btn {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.age-gate__btn--yes {
  background: #16a34a;
  color: #fff;
}

.age-gate__btn--yes:hover {
  background: #15803d;
}

html.age-gate-open,
html.age-gate-open body {
  overflow: hidden;
}

@media (min-width: 640px) {
  .age-gate {
    align-items: center;
  }

  .age-gate__panel {
    margin-bottom: 0;
  }
}
