You can remember the meaning of 完蛋 with this easy mnemonic:
You are done for! You completely (完) broke that carton of eggs (蛋)!
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.