/* Card */
.error-box {
  max-width: 500px;
  width: 100%;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 2;
  animation: fadeUp 0.6s ease;
}

/* Icon */
.icon-wrap {
  width: 80px;
  height: 80px;
  margin: auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #007bff, #4da3ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 32px;
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
  animation: float 3s ease-in-out infinite;
}

/* Code */
.error-code {
  font-size: 95px;
  font-weight: 800;
  margin: 10px 0;
  color: #2d3436;
  letter-spacing: 3px;
}

/* Title */
.error-title {
  font-weight: 600;
  color: #343a40;
  margin-bottom: 10px;
}

/* Text */
.error-text {
  font-size: 14.5px;
  color: #6c757d;
  line-height: 1.6;
}

/* Buttons */
.btn-pill {
  border-radius: 50px;
  padding: 10px 22px;
  font-size: 14px;
}

/* Glow Background */
.bg-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 123, 255, 0.15), transparent 70%);
  top: -150px;
  right: -150px;
  animation: moveGlow 8s linear infinite alternate;
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes moveGlow {
  from {
    transform: translate(0, 0);
  }

  to {
    transform: translate(-40px, 40px);
  }
}
