body {
  margin: 0;
  padding: 0;
  background: black;
  color: white;
  font-family: monospace;
  text-align: center;
  overflow-x: hidden;
}

#bg {
  position: fixed;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,255,159,0.08), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,0,51,0.08), transparent 40%);
  z-index: -1;

  animation: drift 12s ease-in-out infinite alternate;
}

@keyframes drift {

  from {
    transform: scale(1) translateY(0px);
  }

  to {
    transform: scale(1.08) translateY(-10px);
  }

}

#gate {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  border: 1px solid #00FF9F;

  padding: 18px 30px;

  color: #00FF9F;

  cursor: pointer;

  user-select: none;

  -webkit-user-select: none;

  -webkit-tap-highlight-color: transparent;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

#gate:hover {

  transform: translate(-50%, -50%) scale(1.03);

  box-shadow: 0 0 15px rgba(0,255,159,0.3);
}

#gate:active {
  background: #00FF9F;
  color: black;
}

#hint {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.5;
}

.hidden {
  display: none;
}

.logo {
  position: fixed;
  top: 15px;
  left: 15px;
}

.track {
  margin-top: 40vh;
}

.nav-links {

  margin-top: 30px;

  display: flex;

  flex-direction: column;

  gap: 18px;
}

.nav-links a {

  color: #00FF9F;

  text-decoration: none;

  font-size: 20px;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.nav-links a:hover {

  transform: scale(1.03);

  box-shadow: 0 0 15px rgba(0,255,159,0.3);
}

.page {

  padding-top: 120px;
}

.page a {

  color: #00FF9F;

  text-decoration: none;
}

.fade-in {

  animation: fadeIn 1.4s ease;
}

@keyframes fadeIn {

  from {

    opacity: 0;

    transform: translateY(8px);
  }

  to {

    opacity: 1;

    transform: translateY(0px);
  }
}

.flicker {

  animation: flicker 3s infinite;
}

@keyframes flicker {

  0% { opacity: 1; }

  2% { opacity: 0.4; }

  4% { opacity: 1; }

  50% { opacity: 1; }

  52% { opacity: 0.7; }

  54% { opacity: 1; }

  100% { opacity: 1; }
}

#whisper {

  opacity: 0.4;

  margin-top: 40px;
}

form {

  margin-top: 40px;
}

input {

  width: 80%;

  max-width: 300px;

  padding: 12px;

  background: black;

  color: white;

  border: 1px solid #00FF9F;
}

button {

  margin-top: 10px;

  padding: 12px 20px;

  background: black;

  border: 1px solid #00FF9F;

  color: #00FF9F;
}

/* CINEMATIC NAV DELAY */

.delayed-links {

  opacity: 0;

  animation:
    delayedReveal 2.5s ease forwards;

  animation-delay: 1.4s;
}

@keyframes delayedReveal {

  from {

    opacity: 0;

    transform: translateY(10px);
  }

  to {

    opacity: 1;

    transform: translateY(0px);
  }
}

/* BETTER CENTERING */

.track {

  margin-top: 34vh;

  font-size: 22px;

  letter-spacing: 3px;
}

/* LOGO PRESENCE */

.logo {

  position: fixed;

  top: 18px;

  left: 20px;

  font-size: 34px;

  letter-spacing: 2px;
}

/* NAV ENERGY */

.nav-links a {

  font-size: 24px;

  letter-spacing: 2px;
}

/* PAGE ATMOSPHERE */

body::after {

  content: '';

  position: fixed;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,0.02),
      rgba(255,255,255,0.02) 1px,
      transparent 1px,
      transparent 3px
    );

  pointer-events: none;

  opacity: 0.18;
}