“The School for Good and Evil”
At first, Having the opposite attitude with your best friend, but you both had a benevolent heart at the end. Two misfits and best friends, share the unlikeliest of bonds. Sophie that dreams big for a dreary life to a princess, Agatha with a grim aesthetic and offbeat, having your identification for being a legacy witch in your whole family is not judging the inner person’s attitude.
However, having a blood red moon for Good and Evil, where everything begins. Both with an opposite but deserving place to be. Your outer personality is good but your inner is evil, you are not a deserving person to be in a good place.
For the ambiguous ending, Every close friend that can destroy herself and your friendship just to threaten the world entirely. But in the end, you need to trust each other and be grateful so goodness defeats badness.