.gatekeeper-app {
  isolation: isolate;
  border: 0;
  padding-right: 34%;
  color: #4cff76;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  pointer-events: none;
}

.gatekeeper-app__portrait {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.68;
  filter: blur(0.45px) brightness(0.7) contrast(1.18);
  image-rendering: pixelated;
  object-fit: cover;
  object-position: 58% center;
  pointer-events: none;
}

.gatekeeper-app::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0 2px,
      rgba(0, 0, 0, 0.24) 3px 4px
    ),
    linear-gradient(
      90deg,
      rgba(1, 12, 5, 0.92) 0%,
      rgba(1, 12, 5, 0.76) 42%,
      rgba(1, 10, 4, 0.24) 72%,
      rgba(1, 8, 3, 0.08) 100%
    );
  content: "";
  pointer-events: none;
}

.gatekeeper-app > :not(.gatekeeper-app__portrait) {
  position: relative;
  z-index: 1;
}

.ui-active .gatekeeper-app {
  pointer-events: auto;
}

.gatekeeper-info {
  top: calc(5.55% + clamp(4px, 0.65vw, 10px));
  right: calc(10.85% + clamp(4px, 0.65vw, 10px));
  border-color: rgba(76, 255, 118, 0.72);
  box-shadow:
    2px 2px 0 rgba(3, 2, 4, 0.88),
    inset 0 0 8px rgba(76, 255, 118, 0.18);
  pointer-events: none;
}

.ui-active .gatekeeper-info {
  pointer-events: auto;
}

.gatekeeper-info:hover,
.gatekeeper-info:focus-visible {
  border-color: #ffd447;
  color: #ffd447;
}

.gatekeeper-app::after {
  position: absolute;
  z-index: 2;
  right: 8%;
  bottom: 10%;
  width: clamp(4px, 0.58vw, 9px);
  aspect-ratio: 1;
  background: #79e36a;
  box-shadow:
    0 0 0 2px rgba(3, 8, 5, 0.82),
    0 0 0.65rem #79e36a;
  content: "";
  animation: gatekeeper-app-lamp 2.4s steps(2, end) infinite;
}

.gatekeeper-app:hover,
.gatekeeper-app:focus-visible {
  color: #baffaf;
  outline: 2px solid #79e36a;
  outline-offset: -6px;
  filter: brightness(1.22);
}

.gatekeeper-app:hover::after,
.gatekeeper-app:focus-visible::after {
  background: #ffd447;
  box-shadow:
    0 0 0 2px rgba(3, 8, 5, 0.82),
    0 0 0.85rem #ffd447;
}

@keyframes gatekeeper-app-lamp {
  0%, 68%, 100% { opacity: 0.94; }
  72%, 88% { opacity: 0.32; }
}

@media (prefers-reduced-motion: reduce) {
  .gatekeeper-app::after {
    animation: none;
  }
}
