body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #1f2937, #111827);
  color: #ffffff;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.error-container {
  text-align: center;
  padding: 2em;
}

.error-content h1 {
  font-size: 20rem;
  font-weight: 900;
  color: #ff4d4f;
  text-shadow: 2px 2px 0 #000, 4px 4px 0 rgba(0, 0, 0, 0.2);
  animation: popIn 0.6s ease-out;
}

.error-content .mensaje {
  font-size: 5.5rem;
  margin-bottom: 1em;
}

.error-content .detalle {
  font-size: 3.4rem;
  color: #d1d5db;
  margin-bottom: 2em;
}

.boton-volver {
  display: inline-block;
  padding: 2em 3em;
  background: none;
  border: 2px solid #ffffff;
  color: #ffffff;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 0.8em;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.error-content a{
    font-size: 1.3rem;
}

.boton-volver:hover {
  background-color: #ffffff;
  color: #1f2937;
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

/* Animación inicial */
@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Responsive */
@media screen and (max-width: 600px) {
  .error-content h1 {
    font-size: 6rem;
  }

  .error-content .mensaje {
    font-size: 2rem;
  }

  .error-content .detalle {
    font-size: 1.2rem;
  }
}
