body {
  margin: 0;
  background-color: black;
  font-family: "Courier New", monospace;
  text-align: center;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 2px solid rgb(0, 255, 0);
  box-shadow: 0 0 10px rgb(0, 255, 0), 0 0 20px rgb(0, 255, 0);
  pointer-events: none;
  z-index: 20;
  animation: borderIn 1s ease forwards;
}

.bg-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 200vh;
  white-space: pre;
  color: rgb(0, 255, 0);
  pointer-events: none;
  z-index: 1;
}

.far {
  opacity: 0.05;
  font-size: 54px;
  line-height: 1;
}

.near {
  opacity: 0.12;
  font-size: 62px;
  line-height: 1;
}

.close {
  opacity: 0.2;
  font-size: 70px;
  line-height: 1;
}

.container {
  position: relative;
  z-index: 10;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 60px;
  color: rgb(0, 255, 0);
  text-shadow: 0 0 5px rgb(0, 255, 0), 0 0 10px rgb(0, 255, 0), 0 0 20px rgb(0, 255, 0);
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 {
  font-size: 60px;
  margin-bottom: 40px;
}

h3 {
  font-size: 28px;
  margin-bottom: 40px;
}

p {
  font-size: 22px;
  line-height: 2.2;
  margin-bottom: 30px;
}

h1, h3, p {
  opacity: 0;
  filter: blur(10px);
  letter-spacing: 6px;
  transform: scale(1.05);
  animation: pixelReveal 1.6s forwards;
}

h1 { animation-delay: 0s; }
h3 { animation-delay: 0.5s; }
p { animation-delay: 1s; }

.menu {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  opacity: 1;
  transition: 0.6s ease;
}

.hidden {
  opacity: 0;
  pointer-events: none;
}

.nav-btn {
  background: transparent;
  border: 2px solid rgb(0, 255, 0);
  color: rgb(0, 255, 0);
  width: 260px;
  height: 55px;
  font-family: "Courier New", monospace;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-shadow: 0 0 5px rgb(0, 255, 0);
  box-shadow: 0 0 10px rgb(0, 255, 0);
  transition: 0.2s ease;
  animation: floaty 3s ease-in-out infinite;
  position: relative;
}

.nav-btn:hover {
  background: rgb(0, 255, 0);
  color: black;
  box-shadow: 0 0 25px rgb(0, 255, 0);
  transform: scale(1.05);
}

.nav-btn::before,
.nav-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: 0.2s ease;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.nav-btn::before {
  left: -20px;
  border-right: 10px solid rgb(0, 255, 0);
}

.nav-btn::after {
  right: -20px;
  border-left: 10px solid rgb(0, 255, 0);
}

.nav-btn:hover::before,
.nav-btn:hover::after {
  opacity: 1;
}

.unlock {
  margin-top: 30px;
}

.fade-out {
  opacity: 0;
  transform: scale(0.9);
  transition: 0.6s ease;
}

@keyframes pixelReveal {
  0% {
    opacity: 0;
    filter: blur(10px);
    letter-spacing: 10px;
    transform: scale(1.05);
  }
  50% {
    opacity: 1;
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    filter: blur(0px);
    letter-spacing: 0px;
    transform: scale(1);
  }
}

@keyframes borderIn {
  0% {
    opacity: 0;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes floaty {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0px); }
}