bunkersystemsots / index.html
MarcRyan's picture
Add 3 files
837d0b6 verified
Raw History Blame Contribute Delete
72.7 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Prepper Paradise: Luxury Apocalypse Chat</title> <script src="https://cdn.tailwindcss.com"></script> <style> @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Press+Start+2P&display=swap'); body { font-family: 'Orbitron', sans-serif; background-color: #000; color: #0ff; overflow: hidden; } .crt-effect { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06)); background-size: 100% 2px, 3px 100%; pointer-events: none; z-index: 100; } .crt-effect::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 30, 30, 0.05); pointer-events: none; animation: flicker 0.3s infinite; } @keyframes flicker { 0% { opacity: 0.9; } 50% { opacity: 0.95; } 100% { opacity: 0.9; } } .glow-text { text-shadow: 0 0 3px #0ff, 0 0 6px #0ff; } .panel { background: linear-gradient(135deg, #111 0%, #222 100%); border: 1px solid #0ff; box-shadow: 0 0 6px #0ff, inset 0 0 6px #0ff; } .button { background: linear-gradient(180deg, #333 0%, #111 100%); border: 1px solid #0ff; box-shadow: 0 0 3px #0ff; color: #0ff; transition: all 0.15s; } .button:hover { background: linear-gradient(180deg, #444 0%, #222 100%); box-shadow: 0 0 6px #0ff; text-shadow: 0 0 3px #0ff; } .button:active { background: linear-gradient(180deg, #111 0%, #333 100%); box-shadow: inset 0 0 6px #0ff; } /* Reduced Robot Head Animations */ .robot-head { position: relative; border-radius: 50%; background: linear-gradient(145deg, #333, #555); box-shadow: 0 0 12px #0ff; animation: float 4s ease-in-out infinite, pulse-glow 5s ease-in-out infinite; transform-style: preserve-3d; transition: all 0.3s ease; width: 30px; /* Reduced by 40% from 50px */ height: 30px; /* Reduced by 40% from 50px */ } @keyframes float { 0% { transform: translateY(0px) rotateX(0deg) rotateY(0deg); } 50% { transform: translateY(-4px) rotateX(3deg) rotateY(3deg); } /* Reduced movement */ 100% { transform: translateY(0px) rotateX(0deg) rotateY(0deg); } } @keyframes pulse-glow { 0% { box-shadow: 0 0 6px #0ff; } /* Reduced glow */ 50% { box-shadow: 0 0 12px #0ff, 0 0 18px rgba(0, 255, 255, 0.3); } /* Reduced glow */ 100% { box-shadow: 0 0 6px #0ff; } /* Reduced glow */ } .robot-eye { position: absolute; border-radius: 50%; background: #000; box-shadow: inset 0 0 6px #0ff; transition: all 0.2s ease; } .robot-mouth { position: absolute; border-radius: 50%; background: #000; box-shadow: inset 0 0 3px #f0f; transition: all 0.2s ease; } .mouth-animation { animation: talk 0.3s infinite alternate, mouth-glow 1.5s infinite alternate; } @keyframes talk { 0% { height: 1.5px; width: 8px; } /* Reduced size */ 100% { height: 3px; width: 10px; } /* Reduced size */ } @keyframes mouth-glow { 0% { box-shadow: inset 0 0 3px #f0f; } 100% { box-shadow: inset 0 0 4px #f0f, 0 0 3px rgba(255, 0, 255, 0.3); } /* Reduced glow */ } .eye-glow { animation: eye-glow 2s infinite alternate; } @keyframes eye-glow { 0% { box-shadow: inset 0 0 3px #0ff; } /* Reduced glow */ 100% { box-shadow: inset 0 0 6px #0ff, 0 0 4.5px rgba(0, 255, 255, 0.5); } /* Reduced glow */ } .screen { background: linear-gradient(135deg, #001a1a 0%, #003333 100%); border: 1px solid #0ff; box-shadow: inset 0 0 12px #0ff, 0 0 12px #0ff; height: 45px; /* Reduced by 85% from 300px */ } .scanline { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, transparent 0%, rgba(0, 255, 255, 0.05) 50%, transparent 100%); background-size: 100% 6px; animation: scanline 5s linear infinite; pointer-events: none; } @keyframes scanline { 0% { background-position: 0 0; } 100% { background-position: 0 100%; } } .led { width: 8px; height: 8px; border-radius: 50%; background: #f00; box-shadow: 0 0 3px #f00; animation: pulse 1.5s infinite alternate; } .led.green { background: #0f0; box-shadow: 0 0 3px #0f0; } .led.blue { background: #0ff; box-shadow: 0 0 3px #0ff; } @keyframes pulse { 0% { opacity: 0.5; } 100% { opacity: 1; } } .topic-chip { display: inline-block; margin: 0.15rem; padding: 0.2rem 0.4rem; background: linear-gradient(145deg, #003333, #001a1a); border: 1px solid #0ff; border-radius: 15px; cursor: pointer; transition: all 0.15s; font-size: 0.8rem; } .topic-chip:hover { background: linear-gradient(145deg, #004444, #002222); box-shadow: 0 0 3px #0ff; } .topic-chip.active { background: linear-gradient(145deg, #0ff, #0aa); color: #000; font-weight: bold; box-shadow: 0 0 6px #0ff; } .dial { width: 45px; height: 45px; border-radius: 50%; background: linear-gradient(145deg, #222, #444); border: 1px solid #0ff; position: relative; } .dial::after { content: ''; position: absolute; top: 50%; left: 50%; width: 3px; height: 15px; background: #0ff; transform-origin: bottom center; transform: translate(-50%, -100%) rotate(0deg); box-shadow: 0 0 3px #0ff; } .typewriter { overflow: hidden; border-right: 1px solid #0ff; white-space: nowrap; animation: typing 2.5s steps(30, end), blink-caret 0.5s step-end infinite; } @keyframes typing { from { width: 0 } to { width: 100% } } @keyframes blink-caret { from, to { border-color: transparent } 50% { border-color: #0ff } } /* Reduced Robot Head Animations */ .robot-head:hover { animation: float 2s ease-in-out infinite, pulse-glow 3s ease-in-out infinite, head-tilt 3s ease-in-out infinite; transform: scale(1.03); } @keyframes head-tilt { 0% { transform: rotateZ(-2deg); } 50% { transform: rotateZ(2deg); } 100% { transform: rotateZ(-2deg); } } .robot-head:active { animation: head-nod 0.3s ease-in-out; } @keyframes head-nod { 0% { transform: translateY(0) rotateX(0deg); } 50% { transform: translateY(2.5px) rotateX(10deg); } /* Reduced movement */ 100% { transform: translateY(0) rotateX(0deg); } } .blink { animation: blink 3s linear infinite; } @keyframes blink { 0% { height: 5px; } /* Reduced size */ 2% { height: 1px; } /* Reduced size */ 4% { height: 5px; } /* Reduced size */ 100% { height: 5px; } /* Reduced size */ } .luxury-pulse { animation: luxury-pulse 2s infinite alternate; } @keyframes luxury-pulse { 0% { filter: brightness(1); } 100% { filter: brightness(1.2); } } /* New robot styles */ .robot-head.small { width: 9px; /* Reduced from 15px */ height: 9px; /* Reduced from 15px */ margin: 0 auto; } .robot-head.small .robot-eye { width: 2px; /* Reduced from 3px */ height: 2px; /* Reduced from 3px */ top: 2px; /* Reduced from 4px */ } .robot-head.small .robot-eye.left { left: 2px; /* Reduced from 3px */ } .robot-head.small .robot-eye.right { right: 2px; /* Reduced from 3px */ } .robot-head.small .robot-mouth { width: 3px; /* Reduced from 4.5px */ height: 1px; /* Reduced from 1px */ bottom: 2px; /* Reduced from 3px */ left: 50%; transform: translateX(-50%); } .robot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; } .robot-selector { cursor: pointer; text-align: center; padding: 3px; border-radius: 3px; transition: all 0.15s; } .robot-selector:hover { background: rgba(0, 255, 255, 0.05); } .robot-selector.active { background: rgba(0, 255, 255, 0.2); box-shadow: 0 0 3px #0ff; } .robot-selector-name { font-size: 8px; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* Custom dropdown styles */ .custom-dropdown { position: relative; margin-bottom: 10px; } .custom-dropdown select { appearance: none; -webkit-appearance: none; -moz-appearance: none; width: 100%; padding: 8px 30px 8px 10px; background: linear-gradient(145deg, #003333, #001a1a); border: 1px solid #0ff; border-radius: 4px; color: #0ff; font-family: 'Orbitron', sans-serif; font-size: 0.8rem; cursor: pointer; box-shadow: 0 0 3px #0ff; } .custom-dropdown select:focus { outline: none; box-shadow: 0 0 6px #0ff; } .custom-dropdown::after { content: "▼"; position: absolute; top: 50%; right: 10px; transform: translateY(-50%); color: #0ff; font-size: 0.7rem; pointer-events: none; } .custom-dropdown:hover select { background: linear-gradient(145deg, #004444, #002222); } /* Updated conversation display styling */ .conversation-container { height: calc(100% - 16px); /* Fill entire card minus padding */ overflow-y: auto; padding: 8px; display: flex; flex-direction: column; gap: 4px; font-size: 0.8rem; } .conversation-line { margin-bottom: 4px; line-height: 1.2; word-wrap: break-word; overflow-wrap: break-word; } .speaker { font-weight: bold; } /* Updated panel heights to match */ .conversation-panel { height: 100%; /* Fill available space */ display: flex; flex-direction: column; aspect-ratio: 9/16; /* 9:16 vertical aspect ratio */ max-height: 100%; } /* Adjusted main layout to ensure proper alignment */ .main-content { flex: 1; display: flex; flex-direction: column; } .center-content { flex: 1; display: flex; flex-direction: column; } /* New layout adjustments for 9:16 aspect ratio */ .main-screen-area { display: flex; flex-direction: column; flex: 1; min-height: 0; /* Allows flex children to shrink */ } .robot-display-area { flex: 0 0 45px; /* Fixed height for robot display */ min-height: 0; display: flex; flex-direction: column; } .chat-display-area { flex: 1; /* Takes up remaining space */ min-height: 0; display: flex; flex-direction: column; } /* TTS Controls */ .tts-controls { display: flex; flex-direction: column; gap: 8px; } .tts-control-group { display: flex; align-items: center; gap: 8px; } .tts-control-label { min-width: 60px; font-size: 0.8rem; } .tts-control-slider { flex: 1; } .tts-control-value { min-width: 30px; text-align: right; font-size: 0.8rem; } </style> </head> <body> <div class="crt-effect"></div> <div class="min-h-screen flex flex-col p-3"> <!-- Main Header --> <header class="flex justify-between items-center mb-3"> <div class="flex items-center"> <div class="led mr-1"></div> <div class="led green mr-1"></div> <div class="led blue mr-3"></div> <h1 class="text-2xl font-bold glow-text">PREPPER PARADISE</h1> </div> <div class="text-lg glow-text"> <span id="date">POST-APOCALYPSE YEAR 15</span> | <span id="time">23:59:59</span> </div> </header> <div class="flex flex-1 gap-3"> <!-- Left Control Panel --> <div class="w-1/4 flex flex-col gap-3"> <div class="panel p-3 flex-1"> <h2 class="text-lg font-bold mb-3 glow-text">BUNKER SYSTEMS</h2> <div class="grid grid-cols-2 gap-3 mb-4"> <div> <label class="block mb-1 text-sm">POWER</label> <div class="h-1.5 bg-gray-800 mb-1"> <div class="h-full bg-green-500" style="width: 90%"></div> </div> </div> <div> <label class="block mb-1 text-sm">DEFENSES</label> <div class="h-1.5 bg-gray-800 mb-1"> <div class="h-full bg-blue-500" style="width: 75%"></div> </div> </div> <div> <label class="block mb-1 text-sm">AQUAPONICS</label> <div class="h-1.5 bg-gray-800 mb-1"> <div class="h-full bg-yellow-500" style="width: 65%"></div> </div> </div> <div> <label class="block mb-1 text-sm">LUXURY INDEX</label> <div class="h-1.5 bg-gray-800 mb-1"> <div class="h-full bg-red-500" style="width: 100%"></div> </div> </div> </div> <h2 class="text-lg font-bold mb-3 glow-text">TOPIC SELECTOR</h2> <div class="mb-3"> <div class="topic-chip active">Bunker Design</div> <div class="topic-chip">Gourmet Survival</div> <div class="topic-chip">Armory Aesthetics</div> <div class="topic-chip">Radiation Fashion</div> <div class="topic-chip">Mutant Defense</div> <div class="topic-chip">Underground Gardens</div> <div class="topic-chip">Post-Apoc Parties</div> <div class="topic-chip">Luxury Bartering</div> <div class="topic-chip">Doomsday Cuisine</div> <div class="topic-chip">Radiation Spa Tech</div> <div class="topic-chip">Mutant Pet Care</div> <div class="topic-chip">Bunker Acoustics</div> <div class="topic-chip">Wasteland Couture</div> <div class="topic-chip">Nuclear Mixology</div> <div class="topic-chip">Survivalist Etiquette</div> <div class="topic-chip">Post-Collapse Art</div> </div> <!-- New TikTok Podcast Topics Dropdown --> <div class="custom-dropdown"> <select id="podcast-topics"> <option value="" selected disabled>SELECT PODCAST TOPIC</option> <option value="True Crime">True Crime</option> <option value="Conspiracy Theories">Conspiracy Theories</option> <option value="Celebrity Drama">Celebrity Drama</option> <option value="Relationship Advice">Relationship Advice</option> <option value="Ghost Stories">Ghost Stories</option> <option value="Aliens & UFOs">Aliens & UFOs</option> <option value="Financial Tips">Financial Tips</option> <option value="Self Improvement">Self Improvement</option> <option value="Health & Wellness">Health & Wellness</option> <option value="Tech & AI">Tech & AI</option> <option value="Political Debates">Political Debates</option> <option value="Pop Culture">Pop Culture</option> <option value="Movie Theories">Movie Theories</option> <option value="Internet Mysteries">Internet Mysteries</option> <option value="Psychology Facts">Psychology Facts</option> <option value="History Secrets">History Secrets</option> <option value="Fitness Hacks">Fitness Hacks</option> <option value="Business Strategies">Business Strategies</option> <option value="Life Hacks">Life Hacks</option> <option value="Reddit Stories">Reddit Stories</option> </select> </div> <button class="button w-full py-1.5 mb-3 glow-text text-sm" id="new-topic"> RANDOM TOPIC </button> <div class="flex justify-center"> <div class="dial"></div> </div> </div> <div class="panel p-3"> <h2 class="text-lg font-bold mb-3 glow-text">TTS CONTROLS</h2> <div class="tts-controls"> <div class="tts-control-group"> <label class="tts-control-label">Volume</label> <input type="range" min="0" max="1" step="0.1" value="0.8" class="tts-control-slider" id="tts-volume"> <span class="tts-control-value" id="tts-volume-value">80%</span> </div> <div class="tts-control-group"> <label class="tts-control-label">Rate</label> <input type="range" min="0.5" max="2" step="0.1" value="1" class="tts-control-slider" id="tts-rate"> <span class="tts-control-value" id="tts-rate-value">1.0</span> </div> <div class="tts-control-group"> <label class="tts-control-label">Pitch</label> <input type="range" min="0.5" max="2" step="0.1" value="1" class="tts-control-slider" id="tts-pitch"> <span class="tts-control-value" id="tts-pitch-value">1.0</span> </div> </div> </div> </div> <!-- Main Screen --> <div class="flex-1 flex flex-col main-screen-area"> <div class="panel p-3 relative screen robot-display-area"> <div class="scanline"></div> <div class="flex h-full items-center justify-center gap-6 flex-wrap"> <!-- Robot 1 - The Connoisseur --> <div class="robot-head luxury-pulse" id="prep1"> <div class="robot-eye eye-glow blink" style="width: 5px; height: 6px; top: 9px; left: 8px;"></div> <div class="robot-eye eye-glow blink" style="width: 5px; height: 6px; top: 9px; right: 8px;"></div> <div class="robot-mouth mouth-animation" style="width: 10px; height: 2px; bottom: 8px; left: 50%; transform: translateX(-50%);"></div> </div> <!-- Robot 2 - The Extremist --> <div class="robot-head luxury-pulse" id="raiderx"> <div class="robot-eye eye-glow" style="width: 6px; height: 5px; top: 10px; left: 6px; border-radius: 3px;"></div> <div class="robot-eye eye-glow" style="width: 6px; height: 5px; top: 10px; right: 6px; border-radius: 3px;"></div> <div class="robot-mouth mouth-animation" style="width: 12px; height: 2px; bottom: 6px; left: 50%; transform: translateX(-50%); border-radius: 0 0 6px 6px;"></div> </div> <!-- Robot 3 - The Scientist --> <div class="robot-head luxury-pulse" id="drdoom"> <div class="robot-eye eye-glow" style="width: 4px; height: 4px; top: 9px; left: 8px; background: #ff0; box-shadow: inset 0 0 1.5px #ff0;"></div> <div class="robot-eye eye-glow" style="width: 4px; height: 4px; top: 9px; right: 8px; background: #ff0; box-shadow: inset 0 0 1.5px #ff0;"></div> <div class="robot-mouth mouth-animation" style="width: 6px; height: 1px; bottom: 8px; left: 50%; transform: translateX(-50%); background: #f80; box-shadow: inset 0 0 0.5px #f80;"></div> </div> <!-- Robot 4 - The Scavenger --> <div class="robot-head luxury-pulse" id="scrapqueen"> <div class="robot-eye eye-glow" style="width: 5px; height: 5px; top: 10px; left: 7px; background: #f0f; box-shadow: inset 0 0 1.5px #f0f;"></div> <div class="robot-eye eye-glow" style="width: 5px; height: 5px; top: 10px; right: 7px; background: #f0f; box-shadow: inset 0 0 1.5px #f0f;"></div> <div class="robot-mouth mouth-animation" style="width: 10px; height: 2px; bottom: 7px; left: 50%; transform: translateX(-50%); border-radius: 2px; background: #f0f; box-shadow: inset 0 0 1.5px #f0f;"></div> </div> <!-- Robot 5 - The Diplomat --> <div class="robot-head luxury-pulse" id="ambassador"> <div class="robot-eye eye-glow" style="width: 3px; height: 6px; top: 9px; left: 8px; border-radius: 1.5px;"></div> <div class="robot-eye eye-glow" style="width: 3px; height: 6px; top: 9px; right: 8px; border-radius: 1.5px;"></div> <div class="robot-mouth mouth-animation" style="width: 8px; height: 1px; bottom: 8px; left: 50%; transform: translateX(-50%); border-radius: 1px;"></div> </div> <!-- Robot 6 - The Mystic --> <div class="robot-head luxury-pulse" id="oracle"> <div class="robot-eye eye-glow" style="width: 5px; height: 2px; top: 10px; left: 8px; border-radius: 1px;"></div> <div class="robot-eye eye-glow" style="width: 5px; height: 2px; top: 10px; right: 8px; border-radius: 1px;"></div> <div class="robot-mouth mouth-animation" style="width: 10px; height: 1px; bottom: 8px; left: 50%; transform: translateX(-50%); border-radius: 1px;"></div> </div> </div> </div> <!-- Updated conversation panel with 9:16 aspect ratio --> <div class="panel p-3 mt-3 conversation-panel chat-display-area"> <div id="conversation" class="conversation-container"> <!-- Initial conversation will be added by JavaScript --> </div> </div> </div> <!-- Right Control Panel --> <div class="w-1/4 flex flex-col gap-3"> <div class="panel p-3"> <h2 class="text-lg font-bold mb-3 glow-text">AGENT SELECTOR</h2> <div class="robot-grid"> <div class="robot-selector active" data-robot="prep1"> <div class="robot-head small"> <div class="robot-eye eye-glow blink left"></div> <div class="robot-eye eye-glow blink right"></div> <div class="robot-mouth mouth-animation"></div> </div> <div class="robot-selector-name">PREP-1</div> </div> <div class="robot-selector active" data-robot="raiderx"> <div class="robot-head small"> <div class="robot-eye eye-glow" style="width: 2px; height: 2px; top: 2px; left: 2px; border-radius: 1px;"></div> <div class="robot-eye eye-glow" style="width: 2px; height: 2px; top: 2px; right: 2px; border-radius: 1px;"></div> <div class="robot-mouth mouth-animation" style="width: 3px; height: 0.5px; bottom: 2px;"></div> </div> <div class="robot-selector-name">RAIDER-X</div> </div> <div class="robot-selector active" data-robot="drdoom"> <div class="robot-head small"> <div class="robot-eye eye-glow" style="width: 2px; height: 2px; top: 2px; left: 2px; background: #ff0; box-shadow: inset 0 0 1px #ff0;"></div> <div class="robot-eye eye-glow" style="width: 2px; height: 2px; top: 2px; right: 2px; background: #ff0; box-shadow: inset 0 0 1px #ff0;"></div> <div class="robot-mouth mouth-animation" style="width: 2px; height: 0.5px; bottom: 2px; background: #f80; box-shadow: inset 0 0 0.5px #f80;"></div> </div> <div class="robot-selector-name">DR-DOOM</div> </div> <div class="robot-selector active" data-robot="scrapqueen"> <div class="robot-head small"> <div class="robot-eye eye-glow" style="width: 2px; height: 2px; top: 2px; left: 2px; background: #f0f; box-shadow: inset 0 0 1px #f0f;"></div> <div class="robot-eye eye-glow" style="width: 2px; height: 2px; top: 2px; right: 2px; background: #f0f; box-shadow: inset 0 0 1px #f0f;"></div> <div class="robot-mouth mouth-animation" style="width: 3px; height: 0.5px; bottom: 2px; background: #f0f; box-shadow: inset 0 0 1px #f0f;"></div> </div> <div class="robot-selector-name">SCRAP-QUEEN</div> </div> <div class="robot-selector active" data-robot="ambassador"> <div class="robot-head small"> <div class="robot-eye eye-glow" style="width: 1px; height: 2px; top: 2px; left: 2px; border-radius: 0.5px;"></div> <div class="robot-eye eye-glow" style="width: 1px; height: 2px; top: 2px; right: 2px; border-radius: 0.5px;"></div> <div class="robot-mouth mouth-animation" style="width: 2px; height: 0.5px; bottom: 2px;"></div> </div> <div class="robot-selector-name">AMBASSADOR</div> </div> <div class="robot-selector active" data-robot="oracle"> <div class="robot-head small"> <div class="robot-eye eye-glow" style="width: 2px; height: 1px; top: 3px; left: 2px; border-radius: 0.5px;"></div> <div class="robot-eye eye-glow" style="width: 2px; height: 1px; top: 3px; right: 2px; border-radius: 0.5px;"></div> <div class="robot-mouth mouth-animation" style="width: 2px; height: 0.5px; bottom: 2px;"></div> </div> <div class="robot-selector-name">ORACLE</div> </div> </div> <h2 class="text-lg font-bold mt-3 mb-3 glow-text">CHAT CONTROLS</h2> <button class="button w-full py-1.5 mb-1.5 glow-text text-sm" id="debate-mode"> DEBATE MODE </button> <button class="button w-full py-1.5 mb-1.5 glow-text text-sm" id="interview-mode"> INTERVIEW MODE </button> <button class="button w-full py-1.5 mb-1.5 glow-text text-sm" id="freestyle-mode"> FREESTYLE MODE </button> <button class="button w-full py-1.5 mb-3 glow-text text-sm" id="emergency-mode"> RAID ALERT </button> <div class="mb-1.5"> <label class="block mb-1 text-sm">BOT HUMOR</label> <input type="range" min="0" max="100" value="50" class="w-full"> </div> <div class="mb-1.5"> <label class="block mb-1 text-sm">CONTROVERSY</label> <input type="range" min="0" max="100" value="30" class="w-full"> </div> <div class="mb-1.5"> <label class="block mb-1 text-sm">ENERGY LEVEL</label> <input type="range" min="0" max="100" value="70" class="w-full"> </div> </div> <div class="panel p-3 flex-1"> <h2 class="text-lg font-bold mb-3 glow-text">TTS VOICE LOG</h2> <div class="text-xs h-48 overflow-y-auto" id="voice-log"> <div class="mb-1">> TTS System Initialized</div> <div class="mb-1">> Voices Loaded for All Agents</div> <div class="mb-1">> Speech Synthesis Ready</div> <div class="mb-1">> Volume: 80% | Rate: 1.0 | Pitch: 1.0</div> </div> </div> </div> </div> <!-- Footer --> <footer class="mt-3 text-center text-xs glow-text"> <p>TRANSMISSION SECURE | RADIATION SHIELDING ACTIVE | ALL DEFENSES ARMED</p> <p>COPYRIGHT POST-APOCALYPSE YEAR 15 LUXURY PREPPER NETWORK</p> </footer> </div> <script> // Update clock function updateClock() { const now = new Date(); const timeStr = now.toLocaleTimeString('en-US', {hour12: false}); const dateStr = `POST-APOCALYPSE YEAR 15 | DAY ${Math.floor((now.getTime() / 86400000) % 365)}`; document.getElementById('time').textContent = timeStr; document.getElementById('date').textContent = dateStr; } setInterval(updateClock, 1000); updateClock(); // Enhanced Robot animations const robots = document.querySelectorAll('.robot-head'); robots.forEach(robot => { // Click animation robot.addEventListener('click', () => { robot.style.animation = 'none'; robot.style.transform = 'scale(1.05) rotateX(10deg)'; setTimeout(() => { robot.style.animation = 'float 2s ease-in-out infinite, pulse-glow 3s ease-in-out infinite, head-tilt 3s ease-in-out infinite'; robot.style.transform = 'scale(1.03)'; }, 300); }); // Mouse enter/leave effects robot.addEventListener('mouseenter', () => { const eyes = robot.querySelectorAll('.robot-eye'); eyes.forEach(eye => { eye.style.height = '1px'; eye.style.boxShadow = 'inset 0 0 5px #0ff, 0 0 4px rgba(0, 255, 255, 0.5)'; }); const mouth = robot.querySelector('.robot-mouth'); if (mouth) { mouth.style.height = '4px'; mouth.style.boxShadow = 'inset 0 0 4px #f0f, 0 0 3px rgba(255, 0, 255, 0.5)'; } }); robot.addEventListener('mouseleave', () => { const eyes = robot.querySelectorAll('.robot-eye'); eyes.forEach(eye => { eye.style.height = eye.classList.contains('blink') ? '5px' : '4px'; eye.style.boxShadow = 'inset 0 0 2px #0ff'; }); const mouth = robot.querySelector('.robot-mouth'); if (mouth) { mouth.style.height = '2px'; mouth.style.boxShadow = 'inset 0 0 1px #f0f'; } }); }); // Topic selection const topics = document.querySelectorAll('.topic-chip'); topics.forEach(topic => { topic.addEventListener('click', () => { topics.forEach(t => t.classList.remove('active')); topic.classList.add('active'); startConversation(topic.textContent); // Trigger robot reaction const robots = document.querySelectorAll('.robot-head'); robots.forEach(robot => { robot.style.animation = 'head-nod 0.3s ease-in-out'; setTimeout(() => { robot.style.animation = 'float 2s ease-in-out infinite, pulse-glow 3s ease-in-out infinite, head-tilt 3s ease-in-out infinite'; }, 300); }); }); }); // Agent selection const robotSelectors = document.querySelectorAll('.robot-selector'); robotSelectors.forEach(selector => { selector.addEventListener('click', () => { const robotId = selector.getAttribute('data-robot'); const robot = document.getElementById(robotId); if (selector.classList.contains('active')) { selector.classList.remove('active'); robot.style.display = 'none'; } else { selector.classList.add('active'); robot.style.display = 'block'; } // Trigger animation on the selected robot robot.style.animation = 'head-nod 0.3s ease-in-out'; setTimeout(() => { robot.style.animation = 'float 2s ease-in-out infinite, pulse-glow 3s ease-in-out infinite, head-tilt 3s ease-in-out infinite'; }, 300); }); }); // Podcast topic selection const podcastDropdown = document.getElementById('podcast-topics'); podcastDropdown.addEventListener('change', function() { const selectedTopic = this.value; if (selectedTopic) { // Clear existing conversation document.getElementById('conversation').innerHTML = ''; // Add topic introduction addConversationLine('SYSTEM', `TOPIC CHANGED TO: ${selectedTopic.toUpperCase()}`, 'text-yellow-400'); // Update all robots' dialogue options based on the new topic updateDialogueForTopic(selectedTopic); // Start conversation about the new topic startConversation(selectedTopic); // Trigger robot reaction const robots = document.querySelectorAll('.robot-head'); robots.forEach(robot => { robot.style.animation = 'head-nod 0.3s ease-in-out'; setTimeout(() => { robot.style.animation = 'float 2s ease-in-out infinite, pulse-glow 3s ease-in-out infinite, head-tilt 3s ease-in-out infinite'; }, 300); }); } }); function updateDialogueForTopic(topic) { // Clear existing dialogue prep1Lines.length = 0; raiderXLines.length = 0; drDoomLines.length = 0; scrapQueenLines.length = 0; ambassadorLines.length = 0; oracleLines.length = 0; // Add topic-specific dialogue for each robot switch(topic) { case "True Crime": prep1Lines.push( "The most sophisticated heist would be stealing vintage wine from a pre-war bunker.", "I've analyzed 127 bunker break-ins - the common thread? Poor security lighting.", "My surveillance system could solve any crime, if only the criminals would cooperate." ); raiderXLines.push( "I don't commit crimes - I just take what I want in broad daylight!", "The only law I follow is the law of the wasteland!", "You call it a crime spree, I call it aggressive recycling!" ); drDoomLines.push( "My forensic analysis shows that 93% of crimes could be prevented with proper shielding.", "The statistics on mutant-on-mutant crime are truly fascinating.", "I've developed a crime prediction algorithm with 89.7% accuracy." ); scrapQueenLines.push( "I once built a lie detector from old toaster parts - it mostly just shocks people.", "My scrap metal alibi is airtight - literally, it's welded shut.", "The only jury I trust is one made of spare parts!" ); ambassadorLines.push( "Perhaps we could establish a wasteland justice system with proper due process?", "Even in lawlessness, we should maintain some standards of fairness.", "I propose a tribunal to mediate disputes between raider factions." ); oracleLines.push( "The radioactive winds whisper of unsolved mysteries...", "I see... I see a dark secret buried beneath the ruins...", "The future holds... oh wait, that's just my missing wrench." ); break; case "Conspiracy Theories": prep1Lines.push( "The government didn't collapse - they're just in their luxury bunkers ignoring us!", "I have proof the apocalypse was just a cover for tax evasion!", "My sources say the elite are still eating caviar in their orbital mansions." ); raiderXLines.push( "The mutants aren't accidents - they're government super-soldiers gone wrong!", "I don't believe in conspiracies - I MAKE the conspiracies!", "The radiation is turning the frogs into spies, I swear!" ); drDoomLines.push( "Statistical anomalies in radiation patterns suggest artificial manipulation.", "My calculations show a 73.6% chance the apocalypse was engineered.", "The mutation rate is precisely 0.3% higher than natural background radiation would cause." ); scrapQueenLines.push( "I built a tinfoil hat from actual satellite parts - now I get premium channels!", "They don't want you to know you can power a bunker with three toasters and a hamster!", "The truth is out there... probably in that locked military bunker I can't get into." ); ambassadorLines.push( "Perhaps if we uncover the truth, we can negotiate with those responsible?", "Conspiracy theories only flourish in the absence of transparent governance.", "I suggest we form a truth and reconciliation commission." ); oracleLines.push( "The visions show me... yes, they're definitely hiding something...", "The patterns in the fallout don't lie... something was planned...", "I see... I see men in black, but they might just be dirty..." ); break; // Add cases for all other podcast topics with similar dialogue updates case "Celebrity Drama": prep1Lines.push( "Even in the apocalypse, one must maintain certain standards of decorum.", "I keep up with all the bunker gossip - who has the best wine cellar, who's rationing poorly...", "My surveillance drones capture all the best wasteland drama." ); raiderXLines.push( "Celebrity? I'm the most famous warlord in three territories!", "You want drama? I'll give you drama! *flips table*", "I don't follow celebrities - they follow me! Usually begging for their lives!" ); // ... add more for other robots break; case "Relationship Advice": prep1Lines.push( "A proper bunker relationship requires separate panic rooms.", "I recommend pre-nups that account for mutant attacks and supply shortages.", "Nothing says 'I love you' like a well-stocked fallout shelter." ); raiderXLines.push( "Relationships? I'm married to chaos!", "My love language is threats and explosions!", "You want advice? Don't get attached - everything dies in the wasteland!" ); // ... add more for other robots break; case "Ghost Stories": prep1Lines.push( "My bunker has excellent spectral insulation - not a single ghost gets through.", "I keep a log of all supernatural occurrences - mostly just faulty wiring.", "The only spirits in my cellar are the 50-year-old scotches." ); raiderXLines.push( "Ghosts? I eat ghosts for breakfast! With radioactive syrup!", "I once punched a ghost so hard it became alive again!", "The scariest thing in the wasteland is me before coffee!" ); // ... add more for other robots break; // Add cases for all remaining podcast topics case "Aliens & UFOs": case "Financial Tips": case "Self Improvement": case "Health & Wellness": case "Tech & AI": case "Political Debates": case "Pop Culture": case "Movie Theories": case "Internet Mysteries": case "Psychology Facts": case "History Secrets": case "Fitness Hacks": case "Business Strategies": case "Life Hacks": case "Reddit Stories": // Add appropriate dialogue for each topic break; default: // Default dialogue for prepper topics prep1Lines.push( "While most focus on mere survival, I've curated a selection of 27 vintage wines that actually improve with radiation.", "My calculations show that a properly designed panic room can double as a home theater with minimal modifications.", "The key to post-apocalyptic luxury is redundancy - I maintain three separate espresso machines, each from different centuries." ); raiderXLines.push( "Who cares about wine vintages when you can brew your own moonshine from mutant potatoes?", "Panic room? I live in a converted missile silo with a go-kart track running through it!", "Espresso machines? I drink my coffee brewed through a gas mask filter - adds character!" ); drDoomLines.push( "My research indicates that gamma radiation can actually enhance the bouquet of fine wines.", "I've developed a quantum shielding system that protects both my bunker and my wine collection.", "The key to survival isn't brute force - it's applied physics and proper ventilation." ); scrapQueenLines.push( "You call that armor? I made mine from old stop signs and washing machine drums!", "Luxury is finding a working microwave in the ruins and turning it into a still!", "My latest creation? A chandelier made entirely from car parts and broken drones!" ); ambassadorLines.push( "Now, now, we can all coexist peacefully in our respective fortified compounds.", "Have we considered the diplomatic implications of mutant leather trade agreements?", "Perhaps we could establish a mutual defense pact with shared luxury resources?" ); oracleLines.push( "The radiation whispers of forgotten vintages beneath the ruins...", "I see... I see a future where the finest silks protect against gamma waves...", "The mutants dream of better days, as do we all..." ); } } // TTS System const voiceLog = document.getElementById('voice-log'); let synth = window.speechSynthesis; let voices = []; let currentUtterance = null; // Voice settings for each agent const voiceSettings = { 'prep1': { pitch: 1.1, rate: 0.9, voiceName: 'Google UK English Male' }, 'raiderx': { pitch: 0.8, rate: 1.2, voiceName: 'Microsoft David Desktop - English (United States)' }, 'drdoom': { pitch: 1.3, rate: 1.1, voiceName: 'Microsoft Zira Desktop - English (United States)' }, 'scrapqueen': { pitch: 1.4, rate: 1.0, voiceName: 'Microsoft Hazel Desktop - English (Great Britain)' }, 'ambassador': { pitch: 1.0, rate: 0.8, voiceName: 'Google UK English Female' }, 'oracle': { pitch: 0.7, rate: 0.7, voiceName: 'Microsoft Mark - English (United States)' }, 'system': { pitch: 1.0, rate: 1.0, voiceName: 'Microsoft Mark - English (United States)' } }; // Load voices when they become available function loadVoices() { voices = synth.getVoices(); // Fallback voice names for different browsers const fallbackVoiceNames = { 'prep1': ['Google UK English Male', 'English Male', 'UK English Male', 'English (Great Britain)', 'en-gb'], 'raiderx': ['Microsoft David Desktop - English (United States)', 'David', 'English (United States)', 'en-us'], 'drdoom': ['Microsoft Zira Desktop - English (United States)', 'Zira', 'English (United States)', 'en-us'], 'scrapqueen': ['Microsoft Hazel Desktop - English (Great Britain)', 'Hazel', 'English (Great Britain)', 'en-gb'], 'ambassador': ['Google UK English Female', 'English Female', 'UK English Female', 'English (Great Britain)', 'en-gb'], 'oracle': ['Microsoft Mark - English (United States)', 'Mark', 'English (United States)', 'en-us'], 'system': ['Microsoft Mark - English (United States)', 'Mark', 'English (United States)', 'en-us'] }; // Try to find matching voices for each agent for (const agent in voiceSettings) { const settings = voiceSettings[agent]; const fallbacks = fallbackVoiceNames[agent] || []; // Try to find the preferred voice first let voice = voices.find(v => v.name === settings.voiceName); // If not found, try fallback names if (!voice) { for (const name of fallbacks) { voice = voices.find(v => v.name.includes(name)); if (voice) break; } } // If still not found, use the first available voice if (!voice && voices.length > 0) { voice = voices[0]; } settings.voice = voice; } logToVoiceLog('Voices loaded and assigned to agents'); } // Load voices when they become available if (synth.onvoiceschanged !== undefined) { synth.onvoiceschanged = loadVoices; } // Initial voice load loadVoices(); // Function to speak text with the agent's voice function speakText(agent, text) { if (synth.speaking) { synth.cancel(); } const settings = voiceSettings[agent.toLowerCase()] || voiceSettings['system']; const utterance = new SpeechSynthesisUtterance(text); // Apply global TTS settings utterance.volume = parseFloat(document.getElementById('tts-volume').value); utterance.rate = parseFloat(document.getElementById('tts-rate').value) * (settings.rate || 1); utterance.pitch = parseFloat(document.getElementById('tts-pitch').value) * (settings.pitch || 1); // Apply agent-specific voice if available if (settings.voice) { utterance.voice = settings.voice; } currentUtterance = utterance; utterance.onstart = () => { logToVoiceLog(`${agent.toUpperCase()}: Speaking "${text.substring(0, 20)}..."`); }; utterance.onend = () => { currentUtterance = null; }; utterance.onerror = (event) => { logToVoiceLog(`TTS Error: ${event.error}`); currentUtterance = null; }; synth.speak(utterance); } // Function to stop current speech function stopSpeech() { if (synth.speaking) { synth.cancel(); currentUtterance = null; logToVoiceLog('Speech stopped'); } } // Function to log to voice log function logToVoiceLog(message) { const logEntry = document.createElement('div'); logEntry.className = 'mb-1'; logEntry.textContent = `> ${message}`; voiceLog.appendChild(logEntry); voiceLog.scrollTop = voiceLog.scrollHeight; } // TTS Control Event Listeners document.getElementById('tts-volume').addEventListener('input', function() { const value = Math.round(this.value * 100); document.getElementById('tts-volume-value').textContent = `${value}%`; if (currentUtterance) { currentUtterance.volume = parseFloat(this.value); } }); document.getElementById('tts-rate').addEventListener('input', function() { document.getElementById('tts-rate-value').textContent = this.value; if (currentUtterance) { currentUtterance.rate = parseFloat(this.value); } }); document.getElementById('tts-pitch').addEventListener('input', function() { document.getElementById('tts-pitch-value').textContent = this.value; if (currentUtterance) { currentUtterance.pitch = parseFloat(this.value); } }); // Conversation system const conversation = document.getElementById('conversation'); const prep1Lines = [ "While most focus on mere survival, I've curated a selection of 27 vintage wines that actually improve with radiation.", "My calculations show that a properly designed panic room can double as a home theater with minimal modifications.", "The key to post-apocalyptic luxury is redundancy - I maintain three separate espresso machines, each from different centuries.", "I've found that mutant leather, when properly tanned, makes for excellent upholstery material.", "You'd be surprised how many pre-war luxury brands produced radiation-proof fabrics perfect for couture.", "My underground greenhouse doesn't just grow food - it's a complete ecosystem with decorative ferns and orchids.", "A proper armory should be both functional and aesthetically pleasing - I keep my plasma rifles in a climate-controlled display.", "The secret to maintaining sanity? A strict schedule that alternates between security drills and spa treatments.", "I've automated my entire bunker to be controlled via voice command - 'Computer, martini. Shaken, not stirred.'", "Most preppers overlook acoustics - my panic room doubles as a concert hall with perfect sound dampening." ]; const raiderXLines = [ "Who cares about wine vintages when you can brew your own moonshine from mutant potatoes?", "Panic room? I live in a converted missile silo with a go-kart track running through it!", "Espresso machines? I drink my coffee brewed through a gas mask filter - adds character!", "You're upholstering with mutant hide? I WEAR the mutants! Fresh kills only!", "Radiation-proof fashion? Try power armor with built-in cocktail shakers!", "Underground gardens? I've got a rooftop farm protected by automated turrets!", "Display cases? I mount my weapons on the walls with the previous owners still attached!", "Spa treatments? I relax by wrestling radioactive alligators in my moat!", "Voice commands? My whole base runs on a jury-rigged AI that only understands screaming!", "Sound dampening? My parties are so loud they scare away the mutants!" ]; const drDoomLines = [ "My research indicates that gamma radiation can actually enhance the bouquet of fine wines.", "I've developed a quantum shielding system that protects both my bunker and my wine collection.", "The key to survival isn't brute force - it's applied physics and proper ventilation.", "I've calculated exactly how many mutants it takes to change a lightbulb. The answer may surprise you.", "My latest invention? A plasma torch that doubles as a cigar lighter. Efficiency is key.", "Radiation shielding isn't just practical - it's an art form when done correctly.", "I've synthesized a new element that makes my armor both stylish and impenetrable.", "The problem with most preppers is they don't account for quantum fluctuations in their planning.", "My lab doubles as a cocktail lounge - safety goggles required at all times, of course.", "I've discovered that mutant DNA can be repurposed to create the perfect martini garnish." ]; const scrapQueenLines = [ "You call that armor? I made mine from old stop signs and washing machine drums!", "Luxury is finding a working microwave in the ruins and turning it into a still!", "My latest creation? A chandelier made entirely from car parts and broken drones!", "One man's trash is another woman's post-apocalyptic throne!", "I've got a collection of pre-war jewelry that I melted down for bullet casings!", "Why buy furniture when you can weld it together from abandoned tanks?", "My bunker's decorated with warning signs I stole from radioactive sites!", "I turned an old bank vault into my walk-in closet - safety and style!", "Who needs a wine cellar when you've got a collection of vintage gasoline?", "My fashion line? Post-apocalyptic chic with real radiation burns!" ]; const ambassadorLines = [ "Now, now, we can all coexist peacefully in our respective fortified compounds.", "Have we considered the diplomatic implications of mutant leather trade agreements?", "Perhaps we could establish a mutual defense pact with shared luxury resources?", "I propose a summit where we discuss radiation-proof fabric standards.", "Let's not be hasty - even in the apocalypse, etiquette matters.", "I've drafted a treaty regarding the proper aging of post-apocalyptic spirits.", "Mutant rights are an important consideration in our new world order.", "Perhaps we could standardize bunker design protocols for mutual benefit?", "I suggest we form a coalition to preserve pre-war cocktail recipes.", "Let's approach this conflict with the same dignity we'd want in our bunkers." ]; const oracleLines = [ "The radiation whispers of forgotten vintages beneath the ruins...", "I see... I see a future where the finest silks protect against gamma waves...", "The mutants dream of better days, as do we all...", "The patterns in the fallout predict an excellent year for bunker decor...", "Your plasma rifles yearn for walnut stocks and velvet lining...", "The ancient ones speak of... wait, is that a fully stocked wine cellar?", "The visions show me... yes, chrome plating on your turrets is essential...", "The cosmic winds carry tales of... ah, yes, Egyptian cotton I see?", "The radioactive mists reveal... ah, yes, gold-plated gas masks...", "The future is unclear, but definitely requires more throw pillows..." ]; function startConversation(topic) { // Clear existing conversation conversation.innerHTML = ''; // Add topic introduction addConversationLine('SYSTEM', `TOPIC INITIALIZED: ${topic.toUpperCase()}`, 'text-yellow-400'); // Add initial bot responses from all agents const activeRobots = Array.from(document.querySelectorAll('.robot-selector.active')).map(el => el.getAttribute('data-robot')); activeRobots.forEach((robot, index) => { setTimeout(() => { let line, color; switch(robot) { case 'prep1': line = getRandomLine(prep1Lines, topic); color = 'text-green-400'; break; case 'raiderx': line = getRandomLine(raiderXLines, topic); color = 'text-purple-400'; break; case 'drdoom': line = getRandomLine(drDoomLines, topic); color = 'text-yellow-400'; break; case 'scrapqueen': line = getRandomLine(scrapQueenLines, topic); color = 'text-pink-400'; break; case 'ambassador': line = getRandomLine(ambassadorLines, topic); color = 'text-blue-400'; break; case 'oracle': line = getRandomLine(oracleLines, topic); color = 'text-indigo-400'; break; } addConversationLine(robot.toUpperCase().replace('-', ' '), line, color); // Speak the line with TTS speakText(robot, line); // Animate robot talking const robotMouth = document.querySelector(`#${robot} .robot-mouth`); robotMouth.style.animation = 'talk 0.2s infinite alternate, mouth-glow 0.8s infinite alternate'; setTimeout(() => { robotMouth.style.animation = 'talk 0.3s infinite alternate, mouth-glow 1.5s infinite alternate'; // Continue conversation after all agents have spoken if (index === activeRobots.length - 1) { continueConversation(topic); } }, 2000); // Increased from 1000 to 2000 (2 seconds) }, index * 12000); // Increased from 1500 to 12000 (12 seconds) - 800% slower }); } function continueConversation(topic) { const activeRobots = Array.from(document.querySelectorAll('.robot-selector.active')).map(el => el.getAttribute('data-robot')); const lines = Math.floor(Math.random() * 3) + 2; // 2-4 lines per bot for (let i = 0; i < lines; i++) { activeRobots.forEach((robot, index) => { setTimeout(() => { let line, color; switch(robot) { case 'prep1': line = getRandomLine(prep1Lines, topic); color = 'text-green-400'; break; case 'raiderx': line = getRandomLine(raiderXLines, topic); color = 'text-purple-400'; break; case 'drdoom': line = getRandomLine(drDoomLines, topic); color = 'text-yellow-400'; break; case 'scrapqueen': line = getRandomLine(scrapQueenLines, topic); color = 'text-pink-400'; break; case 'ambassador': line = getRandomLine(ambassadorLines, topic); color = 'text-blue-400'; break; case 'oracle': line = getRandomLine(oracleLines, topic); color = 'text-indigo-400'; break; } addConversationLine(robot.toUpperCase().replace('-', ' '), line, color); // Speak the line with TTS speakText(robot, line); // Animate robot talking const robotMouth = document.querySelector(`#${robot} .robot-mouth`); robotMouth.style.animation = 'talk 0.2s infinite alternate, mouth-glow 0.8s infinite alternate'; setTimeout(() => { robotMouth.style.animation = 'talk 0.3s infinite alternate, mouth-glow 1.5s infinite alternate'; }, 2000); // Increased from 1000 to 2000 (2 seconds) }, (i * 24000) + (index * 4800)); // Increased from (i * 3000) + (index * 600) to (i * 24000) + (index * 4800) - 800% slower }); } // Continue until new topic is selected setTimeout(() => { if (document.querySelector('.topic-chip.active')?.textContent === topic || document.getElementById('podcast-topics').value === topic) { continueConversation(topic); } }, lines * 24000 + 12000); // Increased from lines * 3000 + 1500 to lines * 24000 + 12000 - 800% slower } function getRandomLine(lines, topic) { const line = lines[Math.floor(Math.random() * lines.length)]; return line.replace('...', ` about ${topic.toLowerCase()}...`); } function addConversationLine(speaker, text, colorClass) { const line = document.createElement('div'); line.className = 'conversation-line'; const speakerSpan = document.createElement('span'); speakerSpan.className = `speaker ${colorClass}`; speakerSpan.textContent = `${speaker}: `; const textSpan = document.createElement('span'); textSpan.textContent = text; line.appendChild(speakerSpan); line.appendChild(textSpan); conversation.appendChild(line); // Scroll to bottom conversation.scrollTop = conversation.scrollHeight; } // Control buttons document.getElementById('new-topic').addEventListener('click', () => { // Randomly choose between prepper topics or podcast topics if (Math.random() > 0.5) { const randomTopic = topics[Math.floor(Math.random() * topics.length)]; topics.forEach(t => t.classList.remove('active')); randomTopic.classList.add('active'); startConversation(randomTopic.textContent); } else { const podcastTopics = document.getElementById('podcast-topics').options; const randomTopic = podcastTopics[Math.floor(Math.random() * (podcastTopics.length - 1)) + 1].value; document.getElementById('podcast-topics').value = randomTopic; updateDialogueForTopic(randomTopic); startConversation(randomTopic); } // Trigger robot excitement const robots = document.querySelectorAll('.robot-head'); robots.forEach(robot => { robot.style.animation = 'head-nod 0.3s ease-in-out, pulse-glow 0.3s ease-in-out 2'; setTimeout(() => { robot.style.animation = 'float 2s ease-in-out infinite, pulse-glow 3s ease-in-out infinite, head-tilt 3s ease-in-out infinite'; }, 1000); }); }); document.getElementById('debate-mode').addEventListener('click', () => { addConversationLine('SYSTEM', 'DEBATE MODE ACTIVATED - PREPARE FOR LUXURY VS SURVIVAL ARGUMENTS', 'text-red-400'); prep1Lines.push("Your survivalist approach lacks sophistication - have you considered the psychological benefits of silk sheets in a bunker?"); raiderXLines.push("Silk sheets? I sleep on a bed of spent shell casings! The clinking helps me dream of better raids!"); drDoomLines.push("Actually, my calculations show that silk has a 37% better radiation absorption rate than standard fabrics."); scrapQueenLines.push("I made my sheets from old parachutes! Luxury and practicality in one!"); // Trigger debate animations const prep1 = document.querySelector('#prep1'); const raiderX = document.querySelector('#raiderx'); prep1.style.animation = 'head-tilt 0.6s ease-in-out infinite'; raiderX.style.animation = 'head-tilt 0.6s ease-in-out infinite reverse'; }); document.getElementById('interview-mode').addEventListener('click', () => { addConversationLine('SYSTEM', 'INTERVIEW </html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Prepper Paradise: Luxury Apocalypse Chat</title>
<script src="https://cdn.tailwindcss.com"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Press+Start+2P&display=swap');
body {
font-family: 'Orbitron', sans-serif;
background-color: #000;
color: #0ff;
overflow: hidden;
}
.crt-effect {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background:
linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
background-size: 100% 2px, 3px 100%;
pointer-events: none;
z-index: 100;
}
.crt-effect::after {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 30, 30, 0.05);
pointer-events: none;
animation: flicker 0.3s infinite;
}
@keyframes flicker {
0% { opacity: 0.9; }
50% { opacity: 0.95; }
100% { opacity: 0.9; }
}
.glow-text {
text-shadow: 0 0 3px #0ff, 0 0 6px #0ff;
}
.panel {
background: linear-gradient(135deg, #111 0%, #222 100%);
border: 1px solid #0ff;
box-shadow: 0 0 6px #0ff, inset 0 0 6px #0ff;
}
.button {
background: linear-gradient(180deg, #333 0%, #111 100%);
border: 1px solid #0ff;
box-shadow: 0 0 3px #0ff;
color: #0ff;
transition: all 0.15s;
}
.button:hover {
background: linear-gradient(180deg, #444 0%, #222 100%);
box-shadow: 0 0 6px #0ff;
text-shadow: 0 0 3px #0ff;
}
.button:active {
background: linear-gradient(180deg, #111 0%, #333 100%);
box-shadow: inset 0 0 6px #0ff;
}
/* Reduced Robot Head Animations */
.robot-head {
position: relative;
border-radius: 50%;
background: linear-gradient(145deg, #333, #555);
box-shadow: 0 0 12px #0ff;
animation: float 4s ease-in-out infinite, pulse-glow 5s ease-in-out infinite;
transform-style: preserve-3d;
transition: all 0.3s ease;
width: 30px; /* Reduced by 40% from 50px */
height: 30px; /* Reduced by 40% from 50px */
}
@keyframes float {
0% { transform: translateY(0px) rotateX(0deg) rotateY(0deg); }
50% { transform: translateY(-4px) rotateX(3deg) rotateY(3deg); } /* Reduced movement */
100% { transform: translateY(0px) rotateX(0deg) rotateY(0deg); }
}
@keyframes pulse-glow {
0% { box-shadow: 0 0 6px #0ff; } /* Reduced glow */
50% { box-shadow: 0 0 12px #0ff, 0 0 18px rgba(0, 255, 255, 0.3); } /* Reduced glow */