any more: (determiner/quantifier) indicates an indefinite amount
Used in questions asking about quantity. Used in negative statements to indicate there is no more of something.
Do you have any more cake? I don’t have any more cake.
anymore: (adverb) any longer
You have had enough, so don’t ask me for cake anymore.