Download index.html from MarcRyan/mpp: direct link, hf CLI and curl.
- Browser
- Download file 52.5 kB
-
https://huggingface.co/spaces/MarcRyan/mpp/resolve/main/index.html
- Command line
-
hf download hf://spaces/MarcRyan/mpp/index.html
-
curl -L -o index.html https://huggingface.co/spaces/MarcRyan/mpp/resolve/main/index.html
52.5 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;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.card-container {
width: 600px;
height: 1000px; /* 3:5 aspect ratio (600:1000) */
position: relative;
overflow: hidden;
border: 2px solid #0ff;
box-shadow: 0 0 20px #0ff;
}
.crt-effect {
position: absolute;
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 5px #0ff, 0 0 10px #0ff;
}
.panel {
background: linear-gradient(135deg, #111 0%, #222 100%);
border: 1px solid #0ff;
box-shadow: 0 0 10px #0ff, inset 0 0 10px #0ff;
}
.button {
background: linear-gradient(180deg, #333 0%, #111 100%);
border: 1px solid #0ff;
box-shadow: 0 0 5px #0ff;
color: #0ff;
transition: all 0.15s;
font-size: 12px;
padding: 5px 10px;
}
.button:hover {
background: linear-gradient(180deg, #444 0%, #222 100%);
box-shadow: 0 0 10px #0ff;
text-shadow: 0 0 5px #0ff;
}
.button:active {
background: linear-gradient(180deg, #111 0%, #333 100%);
box-shadow: inset 0 0 10px #0ff;
}
.robot-head {
position: relative;
border-radius: 50%;
background: linear-gradient(145deg, #333, #555);
box-shadow: 0 0 20px #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: 40px;
height: 40px;
}
@keyframes float {
0% { transform: translateY(0px) rotateX(0deg) rotateY(0deg); }
50% { transform: translateY(-8px) rotateX(3deg) rotateY(3deg); }
100% { transform: translateY(0px) rotateX(0deg) rotateY(0deg); }
}
@keyframes pulse-glow {
0% { box-shadow: 0 0 10px #0ff; }
50% { box-shadow: 0 0 20px #0ff, 0 0 30px rgba(0, 255, 255, 0.3); }
100% { box-shadow: 0 0 10px #0ff; }
}
.robot-eye {
position: absolute;
border-radius: 50%;
background: #000;
box-shadow: inset 0 0 10px #0ff;
transition: all 0.2s ease;
width: 6px;
height: 6px;
}
.robot-mouth {
position: absolute;
border-radius: 50%;
background: #000;
box-shadow: inset 0 0 5px #f0f;
transition: all 0.2s ease;
width: 12px;
height: 2px;
bottom: 8px;
left: 50%;
transform: translateX(-50%);
}
.mouth-animation {
animation: talk 0.3s infinite alternate, mouth-glow 1.5s infinite alternate;
}
@keyframes talk {
0% { height: 2px; width: 10px; }
100% { height: 4px; width: 14px; }
}
@keyframes mouth-glow {
0% { box-shadow: inset 0 0 5px #f0f; }
100% { box-shadow: inset 0 0 8px #f0f, 0 0 5px rgba(255, 0, 255, 0.3); }
}
.eye-glow {
animation: eye-glow 2s infinite alternate;
}
@keyframes eye-glow {
0% { box-shadow: inset 0 0 5px #0ff; }
100% { box-shadow: inset 0 0 10px #0ff, 0 0 9px rgba(0, 255, 255, 0.5); }
}
.screen {
background: linear-gradient(135deg, #001a1a 0%, #003333 100%);
border: 1px solid #0ff;
box-shadow: inset 0 0 20px #0ff, 0 0 20px #0ff;
}
.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% 10px;
animation: scanline 5s linear infinite;
pointer-events: none;
}
@keyframes scanline {
0% { background-position: 0 0; }
100% { background-position: 0 100%; }
}
.led {
width: 12px;
height: 12px;
border-radius: 50%;
background: #f00;
box-shadow: 0 0 5px #f00;
animation: pulse 1.5s infinite alternate;
}
.led.green {
background: #0f0;
box-shadow: 0 0 5px #0f0;
}
.led.blue {
background: #0ff;
box-shadow: 0 0 5px #0ff;
}
@keyframes pulse {
0% { opacity: 0.5; }
100% { opacity: 1; }
}
.topic-chip {
display: inline-block;
margin: 2px;
padding: 3px 6px;
background: linear-gradient(145deg, #003333, #001a1a);
border: 1px solid #0ff;
border-radius: 30px;
cursor: pointer;
transition: all 0.15s;
font-size: 10px;
}
.topic-chip:hover {
background: linear-gradient(145deg, #004444, #002222);
box-shadow: 0 0 5px #0ff;
}
.topic-chip.active {
background: linear-gradient(145deg, #0ff, #0aa);
color: #000;
font-weight: bold;
box-shadow: 0 0 10px #0ff;
}
.dial {
width: 60px;
height: 60px;
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: 4px;
height: 20px;
background: #0ff;
transform-origin: bottom center;
transform: translate(-50%, -100%) rotate(0deg);
box-shadow: 0 0 5px #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 }
}
.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(5px) rotateX(10deg); }
100% { transform: translateY(0) rotateX(0deg); }
}
.blink {
animation: blink 3s linear infinite;
}
@keyframes blink {
0% { height: 6px; }
2% { height: 2px; }
4% { height: 6px; }
100% { height: 6px; }
}
.luxury-pulse {
animation: luxury-pulse 2s infinite alternate;
}
@keyframes luxury-pulse {
0% { filter: brightness(1); }
100% { filter: brightness(1.2); }
}
.robot-head.small {
width: 12px;
height: 12px;
margin: 0 auto;
}
.robot-head.small .robot-eye {
width: 2px;
height: 2px;
top: 2px;
}
.robot-head.small .robot-eye.left {
left: 2px;
}
.robot-head.small .robot-eye.right {
right: 2px;
}
.robot-head.small .robot-mouth {
width: 4px;
height: 1px;
bottom: 2px;
}
.robot-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
margin-top: 10px;
}
.robot-selector {
cursor: pointer;
text-align: center;
padding: 4px;
border-radius: 4px;
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 5px #0ff;
}
.robot-selector-name {
font-size: 8px;
margin-top: 2px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.custom-dropdown {
position: relative;
margin-bottom: 16px;
}
.custom-dropdown select {
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
width: 100%;
padding: 10px 40px 10px 16px;
background: linear-gradient(145deg, #003333, #001a1a);
border: 1px solid #0ff;
border-radius: 6px;
color: #0ff;
font-family: 'Orbitron', sans-serif;
font-size: 10px;
cursor: pointer;
box-shadow: 0 0 5px #0ff;
}
.custom-dropdown select:focus {
outline: none;
box-shadow: 0 0 10px #0ff;
}
.custom-dropdown::after {
content: "▼";
position: absolute;
top: 50%;
right: 10px;
transform: translateY(-50%);
color: #0ff;
font-size: 8px;
pointer-events: none;
}
.custom-dropdown:hover select {
background: linear-gradient(145deg, #004444, #002222);
}
.conversation-container {
height: calc(100% - 20px);
overflow-y: auto;
padding: 10px;
display: flex;
flex-direction: column;
gap: 6px;
font-size: 12px;
}
.conversation-line {
margin-bottom: 6px;
line-height: 1.3;
word-wrap: break-word;
overflow-wrap: break-word;
}
.speaker {
font-weight: bold;
}
.conversation-panel {
height: 100%;
display: flex;
flex-direction: column;
}
.main-content {
flex: 1;
display: flex;
flex-direction: column;
padding: 10px;
height: 100%;
}
.center-content {
flex: 1;
display: flex;
flex-direction: column;
}
.main-screen-area {
display: flex;
flex-direction: column;
flex: 1;
min-height: 0;
}
.robot-display-area {
flex: 0 0 60px;
min-height: 0;
display: flex;
flex-direction: column;
}
.chat-display-area {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
}
.status-bar {
font-size: 10px;
padding: 4px 10px;
}
.progress-bar {
height: 2px;
}
.slider {
height: 2px;
width: 100%;
}
.slider::-webkit-slider-thumb {
width: 16px;
height: 16px;
-webkit-appearance: none;
appearance: none;
background: #0ff;
cursor: pointer;
border-radius: 50%;
box-shadow: 0 0 5px #0ff;
}
.header-text {
font-size: 14px !important;
}
.title-text {
font-size: 14px !important;
}
.right-panel-text {
font-size: 10px !important;
}
.button-text {
font-size: 10px !important;
}
.label-text {
font-size: 8px !important;
}
</style>
</head>
<body>
<div class="card-container">
<div class="crt-effect"></div>
<div class="main-content">
<!-- Main Header -->
<header class="flex justify-between items-center mb-2">
<div class="flex items-center">
<div class="led mr-2"></div>
<div class="led green mr-2"></div>
<div class="led blue mr-4"></div>
<h1 class="header-text font-bold glow-text">PREPPER PARADISE</h1>
</div>
<div class="header-text glow-text">
<span id="date">Y15</span> |
<span id="time">23:59:59</span>
</div>
</header>
<div class="flex flex-1 gap-2">
<!-- Left Control Panel -->
<div class="w-1/4 flex flex-col gap-2">
<div class="panel p-2 flex-1">
<h2 class="title-text font-bold mb-2 glow-text">BUNKER SYSTEMS</h2>
<div class="grid grid-cols-2 gap-2 mb-2">
<div>
<label class="block mb-0 label-text">POWER</label>
<div class="progress-bar bg-gray-800 mb-0">
<div class="h-full bg-green-500" style="width: 90%"></div>
</div>
</div>
<div>
<label class="block mb-0 label-text">DEFENSES</label>
<div class="progress-bar bg-gray-800 mb-0">
<div class="h-full bg-blue-500" style="width: 75%"></div>
</div>
</div>
<div>
<label class="block mb-0 label-text">AQUAPONICS</label>
<div class="progress-bar bg-gray-800 mb-0">
<div class="h-full bg-yellow-500" style="width: 65%"></div>
</div>
</div>
<div>
<label class="block mb-0 label-text">LUXURY</label>
<div class="progress-bar bg-gray-800 mb-2">
<div class="h-full bg-red-500" style="width: 100%"></div>
</div>
</div>
</div>
<h2 class="title-text font-bold mb-2 glow-text">TOPIC SELECTOR</h2>
<div class="mb-2">
<div class="topic-chip active">Bunker Design</div>
<div class="topic-chip">Gourmet</div>
<div class="topic-chip">Armory</div>
<div class="topic-chip">Fashion</div>
<div class="topic-chip">Defense</div>
<div class="topic-chip">Gardens</div>
<div class="topic-chip">Parties</div>
<div class="topic-chip">Bartering</div>
</div>
<div class="custom-dropdown">
<select id="podcast-topics">
<option value="" selected disabled>PODCAST TOPIC</option>
<option value="True Crime">True Crime</option>
<option value="Conspiracy">Conspiracy</option>
<option value="Celebrity">Celebrity</option>
<option value="Relationships">Relationships</option>
<option value="Ghosts">Ghosts</option>
<option value="Aliens">Aliens</option>
</select>
</div>
<button class="button w-full py-1 mb-2 glow-text button-text" id="new-topic">
RANDOM TOPIC
</button>
<div class="flex justify-center">
<div class="dial"></div>
</div>
</div>
</div>
<!-- Main Screen -->
<div class="flex-1 flex flex-col main-screen-area">
<div class="panel p-2 relative screen robot-display-area">
<div class="scanline"></div>
<div class="flex h-full items-center justify-center gap-4 flex-wrap">
<!-- Robot 1 - The Connoisseur -->
<div class="robot-head luxury-pulse" id="prep1">
<div class="robot-eye eye-glow blink" style="width: 6px; height: 8px; top: 10px; left: 8px;"></div>
<div class="robot-eye eye-glow blink" style="width: 6px; height: 8px; top: 10px; right: 8px;"></div>
<div class="robot-mouth mouth-animation" style="width: 12px; height: 2px; bottom: 8px;"></div>
</div>
<!-- Robot 2 - The Extremist -->
<div class="robot-head luxury-pulse" id="raiderx">
<div class="robot-eye eye-glow" style="width: 8px; height: 6px; top: 12px; left: 6px; border-radius: 4px;"></div>
<div class="robot-eye eye-glow" style="width: 8px; height: 6px; top: 12px; right: 6px; border-radius: 4px;"></div>
<div class="robot-mouth mouth-animation" style="width: 16px; height: 2px; bottom: 6px; border-radius: 0 0 8px 8px;"></div>
</div>
<!-- Robot 3 - The Scientist -->
<div class="robot-head luxury-pulse" id="drdoom">
<div class="robot-eye eye-glow" style="width: 6px; height: 6px; top: 10px; left: 8px; background: #ff0; box-shadow: inset 0 0 2px #ff0;"></div>
<div class="robot-eye eye-glow" style="width: 6px; height: 6px; top: 10px; right: 8px; background: #ff0; box-shadow: inset 0 0 2px #ff0;"></div>
<div class="robot-mouth mouth-animation" style="width: 8px; height: 1px; bottom: 8px; background: #f80; box-shadow: inset 0 0 1px #f80;"></div>
</div>
<!-- Robot 4 - The Scavenger -->
<div class="robot-head luxury-pulse" id="scrapqueen">
<div class="robot-eye eye-glow" style="width: 6px; height: 6px; top: 12px; left: 8px; background: #f0f; box-shadow: inset 0 0 2px #f0f;"></div>
<div class="robot-eye eye-glow" style="width: 6px; height: 6px; top: 12px; right: 8px; background: #f0f; box-shadow: inset 0 0 2px #f0f;"></div>
<div class="robot-mouth mouth-animation" style="width: 12px; height: 2px; bottom: 8px; background: #f0f; box-shadow: inset 0 0 2px #f0f;"></div>
</div>
<!-- Robot 5 - The Diplomat -->
<div class="robot-head luxury-pulse" id="ambassador">
<div class="robot-eye eye-glow" style="width: 4px; height: 8px; top: 10px; left: 8px; border-radius: 2px;"></div>
<div class="robot-eye eye-glow" style="width: 4px; height: 8px; top: 10px; right: 8px; border-radius: 2px;"></div>
<div class="robot-mouth mouth-animation" style="width: 10px; height: 1px; bottom: 8px;"></div>
</div>
<!-- Robot 6 - The Mystic -->
<div class="robot-head luxury-pulse" id="oracle">
<div class="robot-eye eye-glow" style="width: 6px; height: 2px; top: 12px; left: 8px; border-radius: 1px;"></div>
<div class="robot-eye eye-glow" style="width: 6px; height: 2px; top: 12px; right: 8px; border-radius: 1px;"></div>
<div class="robot-mouth mouth-animation" style="width: 12px; height: 1px; bottom: 8px;"></div>
</div>
</div>
</div>
<!-- Conversation panel -->
<div class="panel p-2 mt-2 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-2">
<div class="panel p-2">
<h2 class="title-text font-bold mb-2 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: 4px; height: 1px; 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: 1px; bottom: 2px; background: #f80; box-shadow: inset 0 0 1px #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: 4px; height: 1px; 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: 4px; top: 2px; left: 2px; border-radius: 1px;"></div>
<div class="robot-eye eye-glow" style="width: 1px; height: 4px; top: 2px; right: 2px; border-radius: 1px;"></div>
<div class="robot-mouth mouth-animation" style="width: 2px; height: 1px; 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: 1px;"></div>
<div class="robot-eye eye-glow" style="width: 2px; height: 1px; top: 3px; right: 2px; border-radius: 1px;"></div>
<div class="robot-mouth mouth-animation" style="width: 2px; height: 1px; bottom: 2px;"></div>
</div>
<div class="robot-selector-name">ORACLE</div>
</div>
</div>
<h2 class="title-text font-bold mt-2 mb-2 glow-text">CHAT CONTROLS</h2>
<button class="button w-full py-1 mb-1 glow-text button-text" id="debate-mode">
DEBATE MODE
</button>
<button class="button w-full py-1 mb-1 glow-text button-text" id="interview-mode">
INTERVIEW MODE
</button>
<button class="button w-full py-1 mb-1 glow-text button-text" id="freestyle-mode">
FREESTYLE MODE
</button>
<button class="button w-full py-1 mb-2 glow-text button-text" id="emergency-mode">
RAID ALERT
</button>
<div class="mb-1">
<label class="block mb-0 label-text">BOT HUMOR</label>
<input type="range" min="0" max="100" value="50" class="slider">
</div>
<div class="mb-1">
<label class="block mb-0 label-text">CONTROVERSY</label>
<input type="range" min="0" max="100" value="30" class="slider">
</div>
<div class="mb-1">
<label class="block mb-0 label-text">ENERGY LEVEL</label>
<input type="range" min="0" max="100" value="70" class="slider">
</div>
</div>
</div>
</div>
<!-- Footer -->
<footer class="mt-2 text-center header-text glow-text">
<p>TRANSMISSION SECURE | DEFENSES ARMED</p>
</footer>
</div>
</div>
<script>
// Update clock
function updateClock() {
const now = new Date();
const timeStr = now.toLocaleTimeString('en-US', {hour12: false});
const dateStr = `Y15 D${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 = '2px';
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 4px 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') ? '6px' : '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 2px #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: ${selectedTopic.toUpperCase()}`, 'text-yellow-400');
// 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);
});
}
});
// Conversation system
const conversation = document.getElementById('conversation');
const prep1Lines = [
"My bunker has 27 vintage wines that improve with radiation.",
"A proper panic room doubles as a home theater.",
"I maintain 3 espresso machines from different centuries.",
"Mutant leather makes excellent upholstery.",
"Pre-war luxury brands made radiation-proof fabrics."
];
const raiderXLines = [
"Who cares about wine? I brew moonshine from mutant potatoes!",
"Panic room? I have a missile silo with a go-kart track!",
"Espresso? I drink coffee through a gas mask filter!",
"You upholster with mutant hide? I WEAR the mutants!",
"Radiation-proof? Try power armor with built-in cocktail shakers!"
];
const drDoomLines = [
"Gamma radiation enhances wine bouquet.",
"Quantum shielding protects my bunker and wine.",
"Survival requires physics and proper ventilation.",
"Mutant leather has interesting molecular properties.",
"Radiation-proof fabrics can be engineered."
];
const scrapQueenLines = [
"My armor is made from stop signs and washing machines!",
"Luxury is finding a microwave and turning it into a still!",
"My latest? A chandelier from car parts and drones!",
"One man's trash is another's post-apoc throne!",
"I melted pre-war jewelry for bullet casings!"
];
const ambassadorLines = [
"We can coexist in our fortified compounds.",
"Have we considered mutant leather trade agreements?",
"Perhaps a mutual defense pact with shared resources?",
"I propose a summit on radiation-proof fabric standards.",
"Etiquette matters even in the apocalypse."
];
const oracleLines = [
"The radiation whispers of forgotten vintages...",
"I see... a future with silks that block gamma waves...",
"The mutants dream of better days...",
"The patterns predict good years for bunker decor...",
"Your plasma rifles yearn for walnut stocks..."
];
function startConversation(topic) {
// Clear existing conversation
conversation.innerHTML = '';
// Add topic introduction
addConversationLine('SYSTEM', `TOPIC: ${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);
// 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);
}, index * 12000);
});
}
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);
// 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);
}, (i * 24000) + (index * 4800));
});
}
// 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);
}
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;
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', 'text-red-400');
prep1Lines.push("Your survivalist approach lacks sophistication!");
raiderXLines.push("Silk sheets? I sleep on spent shell casings!");
drDoomLines.push("Silk has 37% better radiation absorption!");
scrapQueenLines.push("I made sheets from old parachutes!");
// 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 MODE ACTIVATED', 'text-blue-400');
prep1Lines.length = 0;
prep1Lines.push(
"RAIDER-X, explain your approach...",
"DR-DOOM, what scientific principles...",
"SCRAP-QUEEN, how do you justify...",
"AMBASSADOR, in your opinion...",
"ORACLE, what do your visions reveal..."
);
// Trigger interview animations
const prep1 = document.querySelector('#prep1');
const otherRobots = document.querySelectorAll('.robot-head:not(#prep1)');
prep1.style.animation = 'float 4s ease-in-out infinite';
otherRobots.forEach(robot => {
robot.style.animation = 'head-nod 0.8s ease-in-out infinite';
});
});
document.getElementById('freestyle-mode').addEventListener('click', () => {
addConversationLine('SYSTEM', 'FREESTYLE MODE ACTIVATED', 'text-pink-400');
raiderXLines.push(
"WOO! Let's get wild!",
"I'm overriding safety protocols!",
"Finally! No more rules!",
"Watch me juggle plasma grenades!"
);
scrapQueenLines.push(
"Let's turn this chat into scrap art!",
"I'm gonna build a robot from this!",
"Who needs rules?",
"Watch me make art from nonsense!"
);
// Trigger freestyle animations
const robots = document.querySelectorAll('.robot-head');
robots.forEach(robot => {
robot.style.animation = 'head-tilt 0.3s ease-in-out infinite, pulse-glow 0.2s ease-in-out infinite';
});
});
document.getElementById('emergency-mode').addEventListener('click', () => {
const emergencies = [
"MUTANT HORDE DETECTED",
"RADIOACTIVE STORM",
"RAIDER ATTACK",
"SUPPLY DROP ALERT",
"BUNKER BREACH"
];
const emergency = emergencies[Math.floor(Math.random() * emergencies.length)];
addConversationLine('SYSTEM', `ALERT: ${emergency}`, 'text-red-400');
prep1Lines.length = 0;
raiderXLines.length = 0;
drDoomLines.length = 0;
scrapQueenLines.length = 0;
ambassadorLines.length = 0;
oracleLines.length = 0;
prep1Lines.push(
"Activate emergency protocols!",
"Secure the wine cellar!",
"To the armored spa bunker!",
"4.2 minutes to preserve the caviar."
);
raiderXLines.push(
"I TOLD you we needed flamethrowers!",
"Finally some action!",
"Turn sprinklers into acid defense!",
"Who needs protocols? I have a minigun!"
);
drDoomLines.push(
"Emergency containment initiated!",
"3.7 minutes to respond effectively.",
"Activating quantum shielding!",
"Excellent test for new defenses."
);
scrapQueenLines.push(
"Break out jury-rigged defenses!",
"I knew saving car engines would help!",
"Grab metal and build barricades!",
"Flamethrower in every room!"
);
ambassadorLines.push(
"Perhaps negotiate with the threat?",
"Form a temporary alliance.",
"This would be time for peace offering.",
"Approach with measured diplomacy."
);
oracleLines.push(
"The omens foretold this...",
"I see fire and chaos...",
"The winds whisper of conflict...",
"The visions say... we should run."
);
// Trigger emergency animations
const robots = document.querySelectorAll('.robot-head');
robots.forEach(robot => {
robot.style.animation = 'head-nod 0.2s ease-in-out infinite, pulse-glow 0.15s ease-in-out infinite';
const eyes = robot.querySelectorAll('.robot-eye');
eyes.forEach(eye => {
eye.style.animation = 'eye-glow 0.3s infinite alternate';
});
const mouth = robot.querySelector('.robot-mouth');
if (mouth) {
mouth.style.animation = 'talk 0.15s infinite alternate, mouth-glow 0.2s infinite alternate';
}
});
});
// Initialize with all agents active and participating
startConversation('Bunker Design');
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=MarcRyan/mpp" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</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;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.card-container {
width: 600px;
height: 1000px; /* 3:5 aspect ratio (600:1000) */
position: relative;
overflow: hidden;
border: 2px solid #0ff;
box-shadow: 0 0 20px #0ff;
}
.crt-effect {
position: absolute;
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 5px #0ff, 0 0 10px #0ff;
}
.panel {
background: linear-gradient(135deg, #111 0%, #222 100%);
border: 1px solid #0ff;
box-shadow: 0 0 10px #0ff, inset 0 0 10px #0ff;
}
.button {
background: linear-gradient(180deg, #333 0%, #111 100%);
border: 1px solid #0ff;
box-shadow: 0 0 5px #0ff;
color: #0ff;
transition: all 0.15s;
font-size: 12px;
padding: 5px 10px;
}
.button:hover {
background: linear-gradient(180deg, #444 0%, #222 100%);
box-shadow: 0 0 10px #0ff;
text-shadow: 0 0 5px #0ff;
}
.button:active {
background: linear-gradient(180deg, #111 0%, #333 100%);
box-shadow: inset 0 0 10px #0ff;
}
.robot-head {
position: relative;
border-radius: 50%;
background: linear-gradient(145deg, #333, #555);
box-shadow: 0 0 20px #0ff;
animation: float 4s ease-in-out infinite, pulse-glow 5s ease-in-out infinite;