:root {
  --pu-green-fallback: #00643f;
  --pu-gold: #a39161;
  --pu-white: #ffffff;
  --pu-font: "brandon-grotesque", sans-serif;
}

body:has(#pu-age-gate) {
  overflow: hidden;
}

.pu-age-gate {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 100dvh;
  padding: clamp(28px, 5vw, 76px) clamp(28px, 7vw, 120px);
  isolation: isolate;
  font-family: var(--pu-font);
}

.pu-age-gate__background,
.pu-age-gate__overlay {
  position: absolute;
  inset: 0;
}

.pu-age-gate__background {
  z-index: -3;
  background: #26160f center / cover no-repeat;
  transform: scale(1.035);
  filter: blur(8px);
}

.pu-age-gate__overlay {
  z-index: -2;
  background: rgba(5, 11, 8, .08);
}

.pu-age-gate__panel {
  box-sizing: border-box;
  width: clamp(330px, 24vw, 420px);
  min-height: min(82dvh, 790px);
  padding: clamp(34px, 4vh, 54px) clamp(34px, 3vw, 48px) 30px;
  background-color: var(--pu-green-fallback);
  background-image: var(--pu-panel-background, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--pu-white);
  text-align: center;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .18);
}

.pu-age-gate__logo {
  display: block;
  width: min(190px, 76%);
  height: auto;
  margin: 0 auto clamp(28px, 3.5vh, 40px);
}

.pu-age-gate__logo-placeholder {
  margin-bottom: 34px;
  color: var(--pu-white);
  font-weight: 700;
  letter-spacing: .08em;
}

.pu-age-gate__intro {
  max-width: 290px;
  margin: 0 auto clamp(28px, 3.2vh, 38px);
  color: var(--pu-white);
  font-family: var(--pu-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.pu-age-gate__country {
  margin-bottom: 28px;
  color: var(--pu-gold);
  font-family: var(--pu-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.pu-age-gate__country span {
  margin-left: 7px;
  font-size: 9px;
}

.pu-age-gate__fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.pu-age-gate__month,
.pu-age-gate__year {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.pu-age-gate__month {
  margin-bottom: 10px;
}

.pu-age-digit {
  box-sizing: border-box;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1.5px solid var(--pu-gold);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--pu-white);
  font-family: var(--pu-font);
  font-size: 22px;
  font-weight: 400;
  line-height: 52px;
  text-align: center;
  appearance: none;
  box-shadow: none;
}

.pu-age-digit::placeholder {
  color: var(--pu-gold);
  opacity: .82;
}

.pu-age-digit:focus {
  border-color: var(--pu-white);
}

.pu-age-gate__message {
  min-height: 36px;
  margin: 10px auto 6px;
  max-width: 290px;
  color: var(--pu-white);
  font-family: var(--pu-font);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
}

.pu-age-gate__message.is-error {
  color: var(--pu-white);
}

.pu-age-gate__submit {
  display: block;
  width: min(180px, 74%);
  min-height: 50px;
  margin: 0 auto 20px;
  padding: 0 18px;
  border: 0;
  border-radius: 0;
  background: var(--pu-gold);
  color: var(--pu-white);
  font-family: var(--pu-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .015em;
  cursor: pointer;
}

.pu-age-gate__submit:hover,
.pu-age-gate__submit:focus-visible {
  filter: brightness(1.06);
}

.pu-age-gate__submit[disabled] {
  opacity: .65;
  cursor: wait;
}

.pu-age-gate__remember {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(34px, 4vh, 46px);
  color: var(--pu-white);
  font-family: var(--pu-font);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
}

.pu-age-gate__remember input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.pu-age-gate__checkbox {
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 1.5px solid var(--pu-gold);
}

.pu-age-gate__remember input:checked + .pu-age-gate__checkbox::after {
  content: "✓";
  color: var(--pu-gold);
  font-size: 14px;
  line-height: 1;
}

.pu-age-gate__legal {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(16px, 1.8vw, 26px);
}

.pu-age-gate__legal a {
  color: var(--pu-white);
  font-family: var(--pu-font);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.pu-age-gate.is-leaving {
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

@media (max-width: 767px) {
  .pu-age-gate {
    display: block;
    padding: 0;
    background-color: var(--pu-green-fallback);
  }

  .pu-age-gate__background,
  .pu-age-gate__overlay {
    display: none;
  }

  .pu-age-gate__panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100vw;
    min-height: 100dvh;
    padding: max(30px, env(safe-area-inset-top)) 28px max(24px, env(safe-area-inset-bottom));
    overflow-y: auto;
    box-shadow: none;
    background-position: center;
  }

  .pu-age-gate__logo {
    width: min(190px, 64vw);
    margin-bottom: 30px;
  }

  .pu-age-gate__intro {
    max-width: 310px;
    margin-bottom: 34px;
    font-size: 15px;
  }

  .pu-age-gate__country {
    margin-bottom: 28px;
  }

  .pu-age-digit {
    width: 49px;
    height: 49px;
    line-height: 49px;
  }

  .pu-age-gate__submit {
    width: min(180px, 62vw);
  }

  .pu-age-gate__remember {
    margin-bottom: 40px;
  }

  .pu-age-gate__legal {
    gap: 20px;
  }

  .pu-age-gate__legal a {
    font-size: 11.5px;
  }
}

@media (max-height: 740px) and (min-width: 768px) {
  .pu-age-gate {
    align-items: flex-start;
    overflow-y: auto;
  }

  .pu-age-gate__panel {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pu-age-gate.is-leaving {
    transition: none;
  }
}
