@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');


.error404-wrap {
  font-family: 'Poppins', sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  height: 60dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* Grid background */
.error404-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(99, 102, 241, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

/* Container */
.error404-wrap .e404-container {
  text-align: center;
  z-index: 10;
  padding: 20px;
}

/* 404 */
.error404-wrap .e404-code {
  font-size: 12rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, #138dae, #48c0ec, #b7d69b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: e404-float 3s ease-in-out infinite;
  margin-bottom: -20px;
}

/* Text */
.error404-wrap .e404-text {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #374151;
}

.error404-wrap .e404-msg {
  font-size: 1.5rem;
  color: #6b7280;
  max-width: 430px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Button */
.error404-wrap .e404-btn {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, #066b86, #89af67);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(72, 192, 236, 0.3);
}

.error404-wrap .e404-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 40px rgba(72, 192, 236, 0.35);
}


/* Animations */
@keyframes e404-float {

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

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

/* @keyframes e404-blobMove {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(40px, -60px) scale(1.15);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
} */

/* Responsive */
@media (max-width: 768px) {
  .error404-wrap .e404-code {
    font-size: 8rem;
  }

  .error404-wrap .e404-text {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .error404-wrap .e404-code {
    font-size: 6rem;
  }

  .error404-wrap .e404-text {
    font-size: 1.5rem;
  }
}