this great cave , from which countless smaller ones opened out on every side , wound far underground and had many passages and wide halls ; but it was lighter and more wholesome than any goblin-dwelling , and neither so deep nor so dangerous .