I’d recommend going for something like a Ryzen 7 5800X and an RTX 3060 TI, that should be fairly balanced. That’s not the very latest gen, but good luck finding that at reasonable prices. From personal experience a better CPU has actually given me more performance as not everything’s GPU accelerated. So perhaps see if you can upgrade that within your budget. Don’t hesitate to check the 2nd hand market. I also don’t recommend you go for an AMD card yet, because while AV1 encoding is improving, it’s not the standard quite yet.
Go for 32GB of RAM at 3200MHz or higher.
Motherboard – maybe some B550 model.
Don’t save on storage. Get a good ssd for your projects and assets, and maybe a hard drive for archival purposes. Fills up faster than you think.
To find the most “optimal” setup that’s also compatible I always use pcpartpicker and I suggest you do the same, might even find a build that someone else has already made with similar components and copy that. Just don’t skimp out on RAM & storage, that’s very important for video editing.