﻿.error {
  min-height: 80vh;
  display: flex;
  align-items: center;
}
.error .error-content {
  padding: 2rem;
}
.error .error-badge {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-block;
}
.error .error-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--heading-color);
  font-family: var(--heading-font);
  line-height: 1.2;
}
.error .error-text {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  max-width: 500px;
  margin-bottom: 2rem;
}
.error .error-actions .btn {
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.error .error-actions .btn.btn-outline {
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  background: transparent;
}
.error .error-actions .btn.btn-outline:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}
.error .error-actions .btn.btn-solid {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 2px solid var(--accent-color);
}
.error .error-actions .btn.btn-solid:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-2px);
}
.error .error-illustration {
  padding: 2rem;
  position: relative;
}
.error .error-illustration .illustration-container {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.error .error-illustration .planet {
  position: absolute;
  font-size: 8rem;
  color: color-mix(in srgb, var(--accent-color), transparent 15%);
  animation: float 6s infinite ease-in-out;
  z-index: 1;
}
.error .error-illustration .astronaut {
  position: absolute;
  font-size: 4rem;
  color: var(--heading-color);
  animation: float 4s infinite ease-in-out;
  animation-delay: 1s;
  z-index: 2;
  transform: translateX(50px);
}
.error .error-illustration .stars {
  position: absolute;
  width: 100%;
  height: 100%;
}
.error .error-illustration .stars i {
  position: absolute;
  color: color-mix(in srgb, var(--heading-color), transparent 40%);
  animation: twinkle infinite ease-in-out;
}
.error .error-illustration .stars i.star-1 {
  top: 20%;
  left: 20%;
  font-size: 1rem;
  animation-duration: 3s;
}
.error .error-illustration .stars i.star-2 {
  top: 30%;
  right: 25%;
  font-size: 0.8rem;
  animation-duration: 4s;
}
.error .error-illustration .stars i.star-3 {
  bottom: 40%;
  left: 30%;
  font-size: 1.2rem;
  animation-duration: 5s;
}
.error .error-illustration .stars i.star-4 {
  top: 50%;
  right: 40%;
  font-size: 0.9rem;
  animation-duration: 3.5s;
}
.error .error-illustration .stars i.star-5 {
  bottom: 30%;
  right: 30%;
  font-size: 1.1rem;
  animation-duration: 4.5s;
}
.error .support-text p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 0.5rem;
}
.error .support-text .support-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.error .support-text .support-link:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
}
@media (max-width: 991.98px) {
  .error .error-content {
    text-align: center !important;
    padding-bottom: 0;
  }
  .error .error-text {
    margin: 0 auto 2rem;
  }
  .error .error-illustration {
    padding-top: 3rem;
  }
  .error .error-illustration .illustration-container {
    height: 300px;
  }
  .error .error-illustration .planet {
    font-size: 6rem;
  }
  .error .error-illustration .astronaut {
    font-size: 3rem;
  }
}
@media (max-width: 575.98px) {
  .error .error-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .error .error-actions .btn {
    width: 100%;
  }
  .error .error-actions .ms-3 {
    margin-left: 0 !important;
  }
}
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}
@keyframes twinkle {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}
