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

html.primh-age-gate-verified .primh-age-gate {
  display: none !important;
}

.primh-age-gate {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #181a20;
  color: #f4f0e6;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 140ms ease;
}

.primh-age-gate.is-visible {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

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

.primh-age-gate__card {
  width: min(100%, 440px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.primh-age-gate__logo {
  width: min(100%, 140px);
  height: auto;
}

.primh-age-gate__title {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.primh-age-gate__actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  width: auto;
}

.primh-age-gate__button {
  min-width: 110px;
  padding: 16px 20px;
  border: 0;
  border-radius: 8px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  color: #181a20;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.primh-age-gate__button:hover,
.primh-age-gate__button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  filter: brightness(1.02);
}

.primh-age-gate__button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.primh-age-gate__button--enter {
  background: #f9d548;
  min-width: 156px;
}

.primh-age-gate__button--exit {
  background: #b38f01;
}

@media (max-width: 480px) {
  .primh-age-gate {
    padding: 20px;
  }

  .primh-age-gate__card {
    gap: 20px;
  }

  .primh-age-gate__actions {
    width: 100%;
  }

  .primh-age-gate__button {
    flex: 1 1 0;
    min-width: 0;
  }
}
