Unlocking the Secrets of Value-Maximizing Sweepstakes Design