.age-gate-pending {
  overflow: hidden;
}

.age-gate-pending body {
  min-height: 100vh;
  overflow: hidden !important;
}

.age-gate-pending body > :not(.age-gate) {
  visibility: hidden !important;
}

.age-gate {
  position: fixed;
  z-index: 2147483600;
  inset: 0;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: 24px;
  overflow: auto;
  color: #f9f5f8;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.age-gate__backdrop {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(201, 81, 125, .2), transparent 34%),
    radial-gradient(circle at 84% 88%, rgba(214, 168, 92, .14), transparent 35%),
    rgba(12, 10, 16, .96);
  backdrop-filter: blur(12px);
}

.age-gate__card {
  position: relative;
  width: min(100%, 540px);
  padding: clamp(26px, 5vw, 44px);
  border: 1px solid rgba(201, 81, 125, .5);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(35, 29, 40, .98), rgba(21, 18, 26, .99));
  box-shadow: 0 32px 100px rgba(0, 0, 0, .55), 0 0 38px rgba(201, 81, 125, .12);
}

.age-gate__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.age-gate__brand > span:last-child {
  display: grid;
  gap: 2px;
}

.age-gate__brand strong {
  font-size: .98rem;
}

.age-gate__brand small {
  color: #b8adb9;
  font-size: .56rem;
  font-weight: 750;
  letter-spacing: .08em;
}

.age-gate__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(145deg, #c9517d, #a9325e);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 25px rgba(201, 81, 125, .24);
}

.age-gate__eyebrow {
  margin: 0 0 8px;
  color: #e6b55f;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.age-gate h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.75rem, 5vw, 2.55rem);
  line-height: 1.06;
  letter-spacing: -.035em;
}

#age-gate-copy {
  margin: 16px 0 26px;
  color: #d3c9d4;
  font-size: .98rem;
  line-height: 1.65;
}

.age-gate__actions {
  display: grid;
  gap: 11px;
}

.age-gate__confirm,
.age-gate__underage {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 12px;
  font: inherit;
  font-size: .88rem;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.age-gate__confirm {
  margin-top: 5px;
  border: 1px solid #cf4e7c;
  background: linear-gradient(135deg, #cf4e7c, #b63867);
  color: #fff;
  box-shadow: 0 12px 30px rgba(201, 81, 125, .2);
}

.age-gate__confirm:hover,
.age-gate__confirm:focus-visible {
  filter: brightness(1.08);
}

.age-gate__underage {
  border: 1px solid rgba(255, 255, 255, .13);
  background: transparent;
  color: #d7ced8;
}

.age-gate__underage:hover,
.age-gate__underage:focus-visible {
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
}

.age-gate__privacy {
  margin: 18px 0 0;
  color: #a99eaa;
  font-size: .72rem;
  line-height: 1.55;
}

[data-theme="light"] .age-gate__card {
  border-color: rgba(168, 46, 93, .35);
  background: linear-gradient(145deg, #fff, #f8f1f5);
  color: #211820;
}

[data-theme="light"] .age-gate h1 {
  color: #211820;
}

[data-theme="light"] #age-gate-copy,
[data-theme="light"] .age-gate__underage {
  color: #5c5059;
}

[data-theme="light"] .age-gate__underage {
  border-color: rgba(55, 35, 50, .18);
}

@media (max-width: 560px) {
  .age-gate {
    align-items: end;
    padding: 12px;
  }

  .age-gate__card {
    padding: 25px 21px 22px;
    border-radius: 21px;
  }

  .age-gate__brand {
    margin-bottom: 23px;
  }

  .age-gate h1 {
    font-size: 1.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .age-gate *,
  .age-gate *::before,
  .age-gate *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
