/* Imagen advertencia luego de aceptar age-gate (3s) */

.age-warning-image{
  position: fixed;
  inset: 0;
  z-index: 5200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;

  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(14px);
}

.age-warning-image img{
  display: block;
  width: 100%;
  height: auto;
  max-width: 980px;
  max-height: 70vh;

  /* Que no se vea pequeña: prioriza tamaño real del contenedor */
  object-fit: contain;
  object-position: center;

  border-radius: 18px;
  border: 1px solid rgba(251,191,36,0.25);
  box-shadow: 0 40px 120px rgba(0,0,0,0.65), 0 0 0 6px rgba(251,191,36,0.05);

  animation: ageWarningPop 240ms ease-out;
}

@keyframes ageWarningPop{
  from{ transform: scale(0.985); opacity: 0; }
  to{ transform: scale(1); opacity: 1; }
}

@media (max-width: 768px){
  .age-warning-image{ padding: 0.9rem; }
  .age-warning-image img{
    max-width: 560px;
    max-height: 66vh;
    border-radius: 14px;
  }
}

