@import url('https://fonts.googleapis.com/css2?family=Stack+Sans+Notch:wght@200..700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  background: #000;
  font-family: "Stack Sans Notch", sans-serif;
  color: white;
  overflow: hidden;
}

/* CANVAS */
canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
}

/* CONTENT */
.content {
  position: relative;
  z-index: 5;
  height: 100vh;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.error_code {
  font-size: clamp(6rem, 22vw, 18rem);
  font-weight: 700;
  margin: 0;
  color: #ffffffcc;
}

.title {
  font-size: clamp(1.5rem, 5vw, 3rem);
  font-weight: 700;
  margin: 10px 0;
}

.subtitle {
  font-size: clamp(1rem, 3.5vw, 1.4rem);
  opacity: 0.85;
  max-width: 600px;
  margin-bottom: 30px;
}

.btn-back {
  border: 1px solid white;
  padding: 12px 22px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  border-radius: 6px;
  box-shadow: 4px 4px 0 rgba(255,255,255,0.4);
  transition: all 0.2s ease;
}

.btn-back:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.1);
}
.btn-back:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

.btn-back:active {
  transform: translate(0, 0);
  box-shadow: 4px 4px 0 rgba(255,255,255,0.4);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: prefer-reduced) {
  .btn-back {
    transition: none;
  }
  canvas {
    animation: none;
  }
}