#easterEggOverlay,
#matrixOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  overflow: hidden;
  color: var(--primary-color);
  font-family: var(--terminal-font);
  text-transform: uppercase;
  font-size: 2rem;
}

#easterEggOverlay.deepsea {
  color: #00aaff;
}

#easterEggOverlay.bitcoin {
  color: #f7931a;
}

#easterEggOverlay.matrix {
  color: #39ff14;
}

#matrixOverlay.matrix {
  color: #39ff14;
}

#easterEggOverlay .whale,
#easterEggOverlay .sea-icon {
  position: absolute;
  font-size: 3rem;
  animation: swim 12s linear infinite;
  pointer-events: none;
}

#easterEggOverlay .btc {
  position: absolute;
  font-size: 3rem;
  animation: spin-move 12s linear infinite;
  pointer-events: none;
  color: #f7931a;
}

#easterEggOverlay .matrix-icon {
  position: absolute;
  font-size: 3rem;
  animation: spin-move 12s linear infinite;
  pointer-events: none;
  color: #39ff14;
}

#easterEggOverlay .fact {
  margin-top: 0.5rem;
  font-size: 1rem;
  text-transform: none;
}

@keyframes swim {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(100vw + 200px));
  }
}

@keyframes spin-move {
  from {
    transform: translateX(0) rotate(0deg);
  }
  to {
    transform: translateX(calc(100vw + 200px)) rotate(720deg);
  }
}

@media (max-width: 600px) {
  #easterEggOverlay {
    font-size: 1.2rem;
  }

  #easterEggOverlay .whale,
  #easterEggOverlay .sea-icon {
    font-size: 2rem;
  }

  #easterEggOverlay .btc {
    font-size: 2rem;
  }
}

.cursor-whale {
  position: fixed;
  z-index: 10000;
  pointer-events: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  animation: whaleBurst 0.7s forwards;
}

@keyframes whaleBurst {
  from {
    transform: translate(0, 0);
    opacity: 1;
  }
  to {
    transform: translate(var(--x), var(--y)) scale(0.8);
    opacity: 0;
  }
}
