Is secular music a sin?
The Bible does not create a modern category called “secular music” and then ban it. People usually reason from content, influence, conscience and what a song is doing in their life.
“a time to weep, and a time to laugh; a time to mourn, and a time to dance”
Art is not automatically holy or unholy because of the label.
Some music can be cruel, degrading or unhealthy for you. Some music can be beautiful, funny, sad, political, romantic or simply fun. The category alone does not answer the moral question.
Ask what the music is shaping in you. Ask whether your guilt came from the text or from a rule somebody handed you. That is more useful than being frightened by anything outside a church label.
Human life has texture.
Ecclesiastes has room for mourning and dancing, labor and pleasure, grief and laughter. Faith does not become deeper by flattening all of that into a list of forbidden things.