#preloader {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease;
}


.logo {
  width: 65vmin;
  height: 65vmin;
  max-width: 360px;
  max-height: 360px;
  min-width: 160px;
  min-height: 160px;

  border-radius: 50%;
  object-fit: cover;

  filter: drop-shadow(0 0 30px #00ff9c);
  transition: transform 1s ease, width 1s ease, height 1s ease;
}


.logo.to-header {
  transform: translate(-45vw, -45vh) scale(0.25);
  opacity: 0;
}

.loader-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}


.loading-text {
  margin-top: 20px;
  letter-spacing: 4px;
  font-size: 14px;
  color: #00ff9c;
  font-family: monospace;
  width: 100%;
  text-align: center;

  opacity: 1;
  transition: opacity 0.6s ease;
  animation: blink 1.2s infinite;
}

.loading-text.hide {
  opacity: 0;
}


@keyframes blink {
  50% { opacity: 0.4; }
}

@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-1px, 1px); }
  40% { transform: translate(1px, -1px); }
  60% { transform: translate(-1px, 0); }
  80% { transform: translate(1px, 1px); }
}


#site-header {
  position: relative;
  z-index: 10;

  height: 70px;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

#preloader {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 99999;
  transition: opacity 0.8s ease;
}

#preloader.hidden {
  display: none;
}

