.glz-age-gate {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.glz-age-gate.is-active {
  display: flex;
}

.glz-age-gate__backdrop {
  position: absolute;
  inset: 0;
  background: var(--glz-age-bg);
}

.glz-age-gate__panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0;
  background: var(--glz-age-panel);
  color: var(--glz-age-text);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  text-align: center;
}

.glz-age-gate__logo {
  display: block;
  max-width: var(--glz-age-logo-max, 220px);
  height: auto;
  margin: 0 auto 14px;
}

.glz-age-gate__title {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

.glz-age-gate__question {
  font-weight: 700;
}

.glz-age-gate__desc p {
  margin: 0 0 1em;
}

.glz-age-gate__actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.glz-age-gate__btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 600;
  width: 100%;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
}

.glz-age-gate__btn:active {
  transform: scale(0.99);
}

.glz-age-gate__btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* YES */
.glz-age-gate__btn--yes {
  background: var(--glz-age-yes-bg);
  color: var(--glz-age-yes-text);
  box-shadow: var(--glz-age-yes-shadow);
}

.glz-age-gate__btn--yes:hover,
.glz-age-gate__btn--yes:focus-visible {
  background: var(--glz-age-yes-hover-bg);
  color: var(--glz-age-yes-hover-text);
  box-shadow: var(--glz-age-yes-hover-shadow);
}

/* NO */
.glz-age-gate__btn--no {
  background: var(--glz-age-no-bg);
  color: var(--glz-age-no-text);
  box-shadow: var(--glz-age-no-shadow);
}

.glz-age-gate__btn--no:hover,
.glz-age-gate__btn--no:focus-visible {
  background: var(--glz-age-no-hover-bg);
  color: var(--glz-age-no-hover-text);
  box-shadow: var(--glz-age-no-hover-shadow);
}

@media (max-width: 520px) {
  .glz-age-gate {
    padding: 14px;
  }

  .glz-age-gate__actions {
    flex-direction: column;
  }
}
