You need a 100% completion rating on parts A, B and C, on any difficulty. That means replaying the game to open every secret level and clear them all, since 100% is not reachable in a single pass.
Once all three earlier parts read 100%, part D becomes available.