Search for new high-mass phenomena in the dilepton final state using 36 fb−1 of proton-proton collision data at \( \sqrt{s}=13 \) TeV with the ATLAS detector