#loading-overlay {
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.8s;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#animated-text {
  color: #fff;
  font-size: 2rem;
  font-family: 'Consolas', monospace;
  margin-top: 24px;
  letter-spacing: 2px;
  text-align: center;
  min-height: 2.5em;
  overflow: hidden;
  white-space: nowrap;
}

#loading-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

.png-logo {
  width: 180px;
  height: 180px;
  position: relative;
  z-index: 1;
}

.diagonal-wipe {
  position: absolute;
  top: 0; left: 0;
  width: 180px; height: 180px;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(135deg, transparent 49%, #111 51%);
  transform: translateY(100%) translateX(-100%);
  animation: diagonalWipe 0.8s forwards;
  opacity: 0.9;
}

#second-logo {
  position: fixed;
  z-index: 9998;
  inset: 0;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

@keyframes diagonalWipe {
  from {
    transform: translateY(100%) translateX(-100%);
  }
  to {
    transform: translateY(0) translateX(0);
  }
}