/* Locks background scroll while modal is open */
.age-gate--locked {
  overflow: hidden;
}

#ageGate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

#ageGate .age-gate__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
}

#ageGate .age-gate__modal {
  position: relative;
  background: #fff;
  width: min(420px, 90vw);
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

#ageGate h2 {
  margin: 0 0 16px;
  font-size: 20px;
}

#ageGate .age-gate__buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

#ageGate .age-gate__btn {
  padding: 10px 18px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
}

#ageGate .age-gate__btn--yes {
  background: #111;
  color: #fff;
}

#ageGate .age-gate__btn--no {
  background: #e9e9e9;
}