.error {
  &-container {
    max-width: $container-max-width;
    margin: 0 auto;
    padding: $spacing-xl;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  &-code {
    font-size: 8rem;
    font-weight: 800;
    color: $primary-color;
    margin: 0;
    line-height: 1;
    text-shadow: 0 4px 8px rgba($black, 0.15);

    @media (max-width: $breakpoint-sm) {
      font-size: 6rem;
    }
  }

  &-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: $white;
    margin: $spacing-md 0;

    @media (max-width: $breakpoint-sm) {
      font-size: 1.75rem;
    }
  }

  &-message {
    font-size: 1.25rem;
    color: $light-gray;
    max-width: 600px;
    margin: 0 auto $spacing-xl;
    line-height: 1.6;

    @media (max-width: $breakpoint-sm) {
      font-size: 1rem;
    }
  }

  &-actions {
    display: flex;
    gap: $spacing-md;

    @media (max-width: $breakpoint-sm) {
      flex-direction: column;
    }

    .btn {
      display: inline-block;
      padding: $spacing-md $spacing-lg;
      border-radius: $border-radius-sm;
      font-weight: 500;
      text-decoration: none;
      transition: $transition-base;

      &-primary {
        background-color: $primary-color;
        color: $white;

        &:hover {
          background-color: $primary-dark;
        }
      }

      &-secondary {
        background-color: $dark-gray-lightest;
        color: $white;

        &:hover {
          background-color: $dark-gray;
        }
      }
    }
  }

  &-image {
    margin-bottom: $spacing-xl;
    max-width: 100%;
    height: auto;

    svg {
      width: 280px;
      height: auto;

      @media (max-width: $breakpoint-sm) {
        width: 200px;
      }
    }
  }
}
