#lubaak-games-splash {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, #1a1816 0%, #12100e 45%, #0e0c0b 100%);
  transition: opacity 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

#lubaak-games-splash::before {
  content: '';
  position: absolute;
  inset: 12% 8%;
  border: 1px solid rgba(224, 154, 26, 0.22);
  pointer-events: none;
}

#lubaak-games-splash::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 11px,
    rgba(242, 237, 230, 0.03) 11px,
    rgba(242, 237, 230, 0.03) 12px
  );
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  pointer-events: none;
  opacity: 0.7;
}

#lubaak-games-splash.hide {
  opacity: 0;
  pointer-events: none;
}

#lubaak-games-splash img {
  position: relative;
  z-index: 1;
  width: min(88vw, 400px);
  height: auto;
  animation: lubaak-splash-in 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes lubaak-splash-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  #lubaak-games-splash img {
    animation: none;
  }
}
