.age-gate-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 36px);
  z-index: 100000;
  background: rgba(7, 12, 19, 0.48);
  backdrop-filter: blur(9px) saturate(120%);
  -webkit-backdrop-filter: blur(9px) saturate(120%);
}

.age-gate-overlay.is-visible {
  display: flex;
}

.age-gate-panel {
  width: min(560px, 100%);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(
    145deg,
    rgba(15, 27, 41, 0.94),
    rgba(9, 18, 30, 0.92)
  );
  color: #f7fbff;
  box-shadow: 0 22px 54px rgba(2, 6, 12, 0.56);
  padding: clamp(20px, 3vw, 30px);
}

.age-gate-logo-wrap {
  display: flex;
  justify-content: center;
  margin: 0 0 0.75rem;
}

.age-gate-logo {
  width: clamp(74px, 16vw, 112px);
  height: auto;
  display: block;
}

.age-gate-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.36rem 0.7rem;
  margin-bottom: 0.88rem;
}

.age-gate-panel h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  color: #ffffff;
}

.age-gate-title-line {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.age-gate-title-icon {
  color: #ffd27d;
  font-size: 1.05em;
}

.age-gate-panel p {
  margin: 0.78rem 0 0;
  color: rgba(232, 240, 248, 0.92);
  font-size: 0.95rem;
  line-height: 1.55;
}

.age-gate-note {
  margin-top: 0.5rem;
  color: rgba(219, 233, 245, 0.82);
  font-size: 0.88rem;
}

.age-gate-dob-wrap {
  margin-top: 0.95rem;
}

.age-gate-dob-label {
  margin: 0 0 0.45rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(229, 240, 250, 0.94);
}

.age-gate-dob-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.age-gate-dob-field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.age-gate-dob-field-label {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(209, 224, 238, 0.9);
}

.age-gate-dob-select {
  min-height: 38px;
  border: 1px solid rgba(160, 188, 214, 0.55);
  background: rgba(255, 255, 255, 0.08);
  color: #f6fbff;
  font-size: 0.9rem;
}

.age-gate-dob-select:focus {
  border-color: rgba(155, 210, 255, 0.95);
  box-shadow: 0 0 0 0.16rem rgba(155, 210, 255, 0.25);
}

.age-gate-error {
  margin-top: 0.55rem;
  margin-bottom: 0;
  color: #ff4d4f;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(255, 77, 79, 0.14);
  border: 1px solid rgba(255, 77, 79, 0.4);
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
}

.age-gate-policy {
  margin-top: 0.6rem;
  color: rgba(226, 236, 247, 0.9);
  font-size: 0.9rem;
}

.age-gate-policy a {
  color: #9bd2ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.age-gate-policy a:hover,
.age-gate-policy a:focus {
  color: #b7e1ff;
}

.age-gate-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-top: 1.3rem;
  width: 100%;
}

.age-gate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 42px;
}

.age-gate-btn i {
  line-height: 1;
}

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

body.age-gate-open header,
body.age-gate-open main,
body.age-gate-open footer,
body.age-gate-open .cookiealert.show {
  filter: blur(4px);
  pointer-events: none;
  user-select: none;
}

@media (max-width: 767px) {
  .age-gate-panel {
    border-radius: 14px;
    padding: 1.1rem;
    width: 100%;
    max-width: 100%;
  }

  .age-gate-dob-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .age-gate-dob-select {
    min-height: 44px;
    font-size: 1rem;
    padding: 0.5rem 0.7rem;
  }

  .age-gate-dob-field-label {
    font-size: 0.8rem;
  }

  .age-gate-actions {
    gap: 0.75rem;
  }

  .age-gate-btn {
    min-height: 46px;
    font-size: 1rem;
  }

  .age-gate-error {
    font-size: 0.9rem;
  }
}

