amp-web-push-widget button.amp-subscribe { display: inline-flex; align-items: center; border-radius: 5px; border: 0; box-sizing: border-box; margin: 0; padding: 10px 15px; cursor: pointer; outline: none; font-size: 15px; font-weight: 500; background: #4A90E2; margin-top: 7px; color: white; box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.5); -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } .amp-logo amp-img{width:190px} .amp-menu input{display:none;}.amp-menu li.menu-item-has-children ul{display:none;}.amp-menu li{position:relative;display:block;}.amp-menu > li a{display:block;} .icon-widgets:before {content: "\e1bd";}.icon-search:before {content: "\e8b6";}.icon-shopping-cart:after {content: "\e8cc";}
Discover your extraterrestrial identity from across the cosmos
function selectSpecies(species) { currentSpecies = species; const options = document.querySelectorAll('.species-option'); options.forEach(opt => { opt.classList.remove('selected'); if (opt.textContent.toLowerCase().includes(species)) { opt.classList.add('selected'); } }); }
function generateAlienName() { const name = document.getElementById('name').value.trim(); const birthDate = document.getElementById('birthDate').value; const personality = document.getElementById('personality').value;
if (!name || !birthDate || !personality) { alert("Please fill in all fields to generate your alien identity."); return; }
// Species data const speciesData = { "reptilian": { "prefixes": ["Zor", "Xar", "Kla", "Vex", "Syth", "Dra", "Rak", "Tyr"], "suffixes": ["th", "ax", "on", "ik", "ar", "us", "ek", "ix"], "homeworlds": ["Draconis Prime", "Zeta Reticuli", "Alpha Serpentis", "Naga 7"], "descriptions": "Scaly, cold-blooded beings with advanced psychic abilities" }, "grey": { "prefixes": ["Nol", "Zin", "Kor", "Ple", "Tal", "Xan", "Vol", "Qua"], "suffixes": ["dex", "lor", "nik", "vee", "to", "phi", "zee", "xar"], "homeworlds": ["Zeta Reticuli", "Orion's Belt", "Sirius B", "Andromeda"], "descriptions": "Small, grey-skinned beings with large black eyes and advanced technology" }, "nordic": { "prefixes": ["Aes", "Van", "Thor", "Odin", "Fre", "Bal", "Heim", "Lok"], "suffixes": ["ir", "a", "or", "dil", "mir", "nir", "dis", "gard"], "homeworlds": ["Pleiades", "Vega", "Arcturus", "Lyra"], "descriptions": "Tall, humanoid beings with blonde hair and blue eyes" }, "insectoid": { "prefixes": ["Kree", "Zor", "Xil", "Nar", "Qwa", "Vex", "Syth", "Mant"], "suffixes": ["tik", "lix", "thor", "nax", "zik", "vix", "klik", "zir"], "homeworlds": ["Alpha Centauri", "Bug World", "Hive Cluster", "Mantis 9"], "descriptions": "Insect-like beings with chitinous exoskeletons and hive minds" }, "energy": { "prefixes": ["Or", "Lum", "Phot", "Rad", "Spec", "Quan", "Cos", "Neb"], "suffixes": ["on", "ax", "ius", "ara", "ix", "os", "eon", "ara"], "homeworlds": ["Quantum Realm", "Neutron Star", "Black Hole", "Plasma Cloud"], "descriptions": "Beings of pure energy with no physical form" }, "hybrid": { "prefixes": ["Xan", "Zyl", "Quor", "Vex", "Syn", "Gen", "Mix", "Blend"], "suffixes": ["th", "ax", "is", "or", "us", "ix", "ar", "on"], "homeworlds": ["Lab 42", "Hybrid Colony", "Gene World", "Experiment X"], "descriptions": "Genetic hybrids combining traits from multiple species" } };
// Personality traits const traitData = { "intelligence": ["Brilliant", "Genius", "Analytical", "Calculating"], "telepathy": ["Mind Reader", "Thought Communicator", "Psi Master", "Telepath"], "strength": ["Mighty", "Powerful", "Strong", "Forceful"], "shapeshifting": ["Morphic", "Changer", "Adaptive", "Fluid"], "technology": ["Technocrat", "Inventor", "Engineer", "Mechanic"], "wisdom": ["Wise", "Ancient", "Sage", "Oracle"], "stealth": ["Shadow", "Ghost", "Unseen", "Hidden"], "leadership": ["Commander", "Leader", "Director", "Overlord"] };
// Generate name const species = speciesData[currentSpecies]; const prefix = species.prefixes[Math.floor(Math.random() * species.prefixes.length)]; const suffix = species.suffixes[Math.floor(Math.random() * species.suffixes.length)]; let alienName = prefix + suffix;
// Add numbers if needed if (Math.random() > 0.5) { alienName += "-" + Math.floor(Math.random() * 999 + 1).toString().padStart(3, '0'); }
// Add title const traits = traitData[personality]; const title = traits[Math.floor(Math.random() * traits.length)];
// Homeworld const homeworld = species.homeworlds[Math.floor(Math.random() * species.homeworlds.length)];
// Generate traits const allTraits = Object.keys(traitData); const shuffledTraits = [...allTraits].sort(() => 0.5 - Math.random()); const selectedTraits = shuffledTraits.slice(0, 3); if (!selectedTraits.includes(personality)) { selectedTraits[0] = personality; }
// Display results document.getElementById('alienName').textContent = `${alienName} the ${title}`; document.getElementById('alienSpecies').textContent = `${currentSpecies.charAt(0).toUpperCase() + currentSpecies.slice(1)} from ${homeworld}`; document.getElementById('alienMeaning').textContent = species.descriptions;
const traitsContainer = document.getElementById('alienTraits'); traitsContainer.innerHTML = ''; selectedTraits.forEach(trait => { const div = document.createElement('div'); div.className = 'trait'; div.textContent = trait; traitsContainer.appendChild(div); });
document.getElementById('alienMessage').textContent = `Earthling known as ${name}, your true identity is ${alienName}, ` + `a ${currentSpecies} being with ${personality.replace('/', '/')} capabilities. ` + `Remember this when the mothership arrives.`;
document.getElementById('result').style.display = 'block'; }