/* --- 404 ERROR PAGE STYLES --- */
html {
  background-image: url(/images/starryybackg.webp); 
}

h3, p, span {
  color: #fbe9ff;
}

/* The Giant Number */
.error-code {
  font-size: 6rem; /* Huge text */
  color: #7a1cac;
  text-shadow: 4px 4px 0px var(--border); /* Retro shadow */
  font-family: 'Monaspace Krypton', monospace;
  margin: 0;
  letter-spacing: 5px;
  
  /* Optional: Shake Animation */
  animation: glitch-skew 2s infinite linear alternate-reverse;
}

/* The Warp Button */
.back-btn {
  display: inline-block;
  background-color: #7a1cac;
  color: white; /* Force white text */
  padding: 15px 30px;
  border-radius: 30px;
  border: 3px double white;
  font-family: 'Monaspace Xenon', monospace;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 0 15px #7a1cac;
  transition: 0.3s;
}

.back-btn:hover {
  background-color: white;
  color: #7a1cac;
  border-color: #7a1cac;
  box-shadow: 0 0 25px #ff00ff; /* Pink glow */
  transform: scale(1.1);
  cursor: pointer;
}

/* Re-use your existing glitch animation for the text */
@keyframes glitch-skew {
  0% { transform: skew(0deg); }
  20% { transform: skew(-10deg); }
  40% { transform: skew(10deg); }
  60% { transform: skew(-5deg); }
  80% { transform: skew(5deg); }
  100% { transform: skew(0deg); }
}