function loadMore(){
if(!currentCat){
alert('Clica numa categoria primeiro!');
return;
}
const gal = document.getElementById('gallery');
const start = loaded;
const queries = {
"Terror": ["dark horror forest", "haunted house night", "creepy dark woods"],
"Fantasia Sombria": ["dark fantasy castle", "gothic fantasy landscape"],
"Anime Dark": ["dark anime illustration", "anime dark aesthetic"],
"Cavaleiro": ["medieval knight armor", "dark knight fantasy"],
"Samurai": ["samurai warrior", "japanese samurai armor"],
"Dragões": ["fantasy dragon", "dragon fantasy art"],
"Vampiros": ["gothic vampire castle", "dark gothic mansion"],
"Lobisomem": ["wolf in dark forest", "werewolf fantasy art"],
"Cyberpunk": ["cyberpunk city night", "neon futuristic city"],
"Medieval": ["medieval castle", "medieval village"],
"Viking": ["viking warrior", "viking ship"],
"Apocalipse": ["abandoned city ruins", "post apocalyptic landscape"],
"Demônios": ["dark demon fantasy art", "dark fantasy creature"],
"Anjos Caídos": ["dark angel wings", "fallen angel fantasy art"],
"Guerreiro": ["fantasy warrior armor", "warrior in battlefield"],
"Assassino": ["ninja silhouette", "stealth warrior"],
"Lobos": ["wolf portrait", "wolf in forest"],
"Caveiras": ["skull dark art", "gothic skull"],
"Castelos": ["gothic castle fog", "dark castle night"],
"Mafia": ["dark luxury car night", "noir city street"],
"Ninja": ["ninja silhouette night", "japanese ninja"],
"Berserk": ["dark medieval warrior", "dark fantasy armor"],
"Solo Leveling": ["dark fantasy shadow warrior", "fantasy dungeon"],
"Jujutsu": ["dark supernatural anime aesthetic", "anime supernatural battle"],
"Demon Slayer": ["japanese sword warrior", "anime sword aesthetic"]
};
const terms = queries[currentCat] || ["dark fantasy landscape"];
for(let i = start; i < start + 12; i++){
const term = terms[i % terms.length];
const seed = encodeURIComponent(currentCat + "-" + i);
// Serviço de imagens aleatórias para demonstração.
// Não garante que cada foto corresponda exatamente à categoria.
const img = "https://picsum.photos/seed/" + seed + "/500/800";
const div = document.createElement('div');
div.className = 'photo';
div.innerHTML = `