/* Popup de verificación de edad (age-gate.php). Colores/tipografía vienen como
   CSS custom properties inline (--ag-*), editables desde wp-admin → Age Gate. */

.neko-age-gate {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-family: var(--ag-font, 'Montserrat', sans-serif);
}
.neko-age-gate[hidden] {
  display: none;
}

.neko-age-gate__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 16, .55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.neko-age-gate__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: var(--ag-bg, #fff);
  border-radius: 24px;
  padding: 40px 36px;
  text-align: center;
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .55);
  animation: neko-ag-in .3s cubic-bezier(.2, .8, .2, 1);
}
@keyframes neko-ag-in {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.neko-age-gate__logo {
  max-width: 220px;
  max-height: 80px;
  width: auto;
  height: auto;
  margin: 0 auto 20px;
  display: block;
}

.neko-age-gate__title {
  font-size: 26px;
  font-weight: 800;
  color: var(--ag-title, #ff5100);
  margin: 0 0 14px;
  letter-spacing: -.01em;
}

.neko-age-gate__text {
  font-size: 15px;
  font-weight: 600;
  color: var(--ag-text, #16161d);
  margin: 0 0 18px;
  line-height: 1.5;
}

.neko-age-gate__question-text {
  font-size: 14px;
  color: var(--ag-text, #16161d);
  opacity: .75;
  margin: 0 0 18px;
}

.neko-age-gate__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
}

.neko-age-gate__btn {
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  padding: 11px 30px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: filter .2s, transform .2s;
}
.neko-age-gate__btn:hover {
  filter: brightness(.94);
  transform: translateY(-1px);
}
.neko-age-gate__btn--no {
  background: var(--ag-no-bg, #e5e7eb);
  color: var(--ag-no-text, #16161d);
}
.neko-age-gate__btn--yes {
  background: var(--ag-yes-bg, #ff5100);
  color: var(--ag-yes-text, #fff);
}

.neko-age-gate__remember {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ag-text, #16161d);
  opacity: .8;
  cursor: pointer;
  user-select: none;
}
.neko-age-gate__remember input {
  accent-color: var(--ag-yes-bg, #ff5100);
  width: 15px;
  height: 15px;
}

.neko-age-gate__blocked .neko-age-gate__text {
  margin-bottom: 0;
}

@media (max-width: 520px) {
  .neko-age-gate__card {
    padding: 32px 24px;
    border-radius: 18px;
  }
  .neko-age-gate__title {
    font-size: 22px;
  }
  .neko-age-gate__actions {
    flex-direction: column;
  }
  .neko-age-gate__btn {
    width: 100%;
  }
}
