Update .gitignore to exclude platform and .idea directories