.error-404-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 80px 20px;
  border: 5px solid transparent;
  border-radius: 24px;
  background:
    linear-gradient(#18064d, #18064d) padding-box,
    linear-gradient(
        98.15deg,
        #a8ff00 8.43%,
        #574588 27.56%,
        #574588 77.81%,
        #a8ff00 91.35%
      )
      border-box;
}

.error-404-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 640px;
  gap: 24px;
}

.error-404-code {
  font-family: "Syne", sans-serif;
  font-size: 160px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(98.15deg, #a8ff00 0%, #574588 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -4px;
}

.error-404-title {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.error-404-text {
  font-size: 20px;
  font-weight: 400;
  color: #dbdbdb;
  line-height: 1.6;
  max-width: 520px;
}

.error-404-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: #a8ff00;
  font-size: 24px;
  font-weight: 500;
  line-height: 24px;
  padding: 14px 30px;
  border: 2px solid #a8ff00;
  border-radius: 50px;
  transition: background-color 0.3s, color 0.3s;
  width: fit-content;
}

.btn-secondary:hover {
  background-color: #a8ff00;
  color: #1e1d26;
}

@media (max-width: 1024px) {
  .error-404-section {
    min-height: 50vh;
    padding: 60px 20px;
  }

  .error-404-code {
    font-size: 120px;
  }

  .error-404-title {
    font-size: 36px;
  }

  .error-404-text {
    font-size: 18px;
  }

  .btn-secondary {
    font-size: 18px;
    padding: 12px 26px;
  }
}

@media (max-width: 768px) {
  .error-404-section {
    min-height: 50vh;
    padding: 40px 16px;
  }

  .error-404-code {
    font-size: 88px;
    letter-spacing: -2px;
  }

  .error-404-title {
    font-size: 28px;
  }

  .error-404-text {
    font-size: 16px;
  }

  .error-404-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-secondary {
    font-size: 16px;
    padding: 12px 24px;
    width: 100%;
  }
}
