I guess there is no 100% solution, it all depends on the music.
With some music tracks a tiny gap should not be such an issue.
With others you can try fading out the intro and fading in the main track.
Or you can overlap them a little bit - start the main music 0.5 seconds before the intro ends.