I've created three unique chatbot interfaces that each have distinct personalities, interactions, and visual styles. Below is the complete HTML file with embedded CSS and JavaScript:
html Copy code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Radical Chatbot Designs</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
/* === BASE STYLES === */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, #1a2a6c, #b21f1f, #1a2a6c);
min-height: 100vh;
padding: 20px;
color: #fff;
overflow-x: hidden;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
header {
text-align: center;
margin-bottom: 40px;
padding: 20px;
}
h1 {
font-size: 3.5rem;
margin-bottom: 15px;
text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
background: linear-gradient(45deg, #ff8a00, #e52e71, #22c1c3);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
animation: gradientShift 8s ease infinite;
}
@keyframes gradientShift {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.subtitle {
font-size: 1.2rem;
max-width: 700px;
margin: 0 auto;
opacity: 0.9;
line-height: 1.6;
}
.chatbot-container {
display: flex;
justify-content: center;
gap: 40px;
flex-wrap: wrap;
margin-top: 30px;
}
.chatbot-card {
background: rgba(0, 0, 0, 0.4);
border-radius: 20px;
padding: 25px;
width: 320px;
text-align: center;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
transition: transform 0.3s ease, box-shadow 0.3s ease;
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
}
.chatbot-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}
.chatbot-icon {
font-size: 4rem;
margin-bottom: 20px;
display: inline-block;
}
.chatbot-title {
font-size: 1.8rem;
margin-bottom: 15px;
text-transform: uppercase;
letter-spacing: 2px;
}
.chatbot-desc {
font-size: 1rem;
opacity: 0.8;
line-height: 1.6;
margin-bottom: 20px;
}
.btn {
padding: 12px 25px;
border-radius: 30px;
font-weight: bold;
cursor: pointer;
border: none;
font-size: 1rem;
transition: all 0.3s ease;
text-transform: uppercase;
letter-spacing: 1px;
}
.btn:hover {
transform: scale(1.05);
}
/* === CHATBOT OVERLAY === */
.chatbot-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8);
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease;
}
.chatbot-overlay.active {
opacity: 1;
pointer-events: all;
}
/* === BOT 1: COSMIC EXPLORER === */
#cosmic-chatbot {
width: 90%;
max-width: 1000px;
height: 80vh;
background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
border-radius: 25px;
overflow: hidden;
position: relative;
box-shadow: 0 0 50px rgba(100, 100, 255, 0.5);
display: none;
flex-direction: column;
}
.cosmic-header {
background: rgba(0, 0, 0, 0.4);
padding: 20px;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.cosmic-title {
font-size: 1.8rem;
font-weight: bold;
color: #6ee7ff;
text-shadow: 0 0 10px rgba(110, 231, 255, 0.7);
}
.cosmic-close {
background: transparent;
border: none;
color: #fff;
font-size: 1.5rem;
cursor: pointer;
transition: transform 0.3s ease;
}
.cosmic-close:hover {
transform: scale(1.2);
color: #ff6b6b;
}
.cosmic-messages {
flex: 1;
padding: 25px;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 20px;
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><circle cx="30" cy="40" r="1" fill="white" opacity="0.5"/><circle cx="80" cy="150" r="1.5" fill="white" opacity="0.7"/><circle cx="150" cy="70" r="1" fill="white" opacity="0.4"/><circle cx="180" cy="180" r="2" fill="white" opacity="0.6"/></svg>');
}
.cosmic-message {
max-width: 70%;
padding: 15px 20px;
border-radius: 20px;
animation: fadeIn 0.3s ease;
position: relative;
word-wrap: break-word;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.user-message {
background: linear-gradient(45deg, #ff6b6b, #ff8e53);
align-self: flex-end;
border-bottom-right-radius: 5px;
}
.bot-message {
background: linear-gradient(45deg, #4facfe, #00f2fe);
align-self: flex-start;
border-bottom-left-radius: 5px;
}
.cosmic-input-area {
padding: 20px;
background: rgba(0, 0, 0, 0.4);
display: flex;
gap: 15px;
}
.cosmic-input {
flex: 1;
padding: 15px 20px;
border-radius: 30px;
border: none;
background: rgba(255, 255, 255, 0.1);
color: white;
font-size: 1rem;
outline: none;
border: 1px solid rgba(255, 255, 255, 0.2);
}
.cosmic-input:focus {
border-color: #00f2fe;
box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}
.cosmic-send {
padding: 15px 25px;
border-radius: 30px;
background: linear-gradient(45deg, #00f2fe, #4facfe);
color: white;
border: none;
cursor: pointer;
font-weight: bold;
transition: transform 0.3s ease;
}
.cosmic-send:hover {
transform: scale(1.05);
}
/* === BOT 2: GARDEN WHISPERER === */
#garden-chatbot {
width: 400px;
height: 600px;
background: linear-gradient(to bottom, #1a5d1a, #0d3b0d);
border-radius: 25px 25px 0 0;
position: fixed;
bottom: 0;
right: 50px;
display: none;
flex-direction: column;
box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.4);
z-index: 100;
border: 2px solid #2e8b57;
overflow: hidden;
}
.garden-header {
background: #2e8b57;
padding: 15px;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 3px solid #3cb371;
}
.garden-title {
font-size: 1.5rem;
font-weight: bold;
color: #fff;
display: flex;
align-items: center;
gap: 10px;
}
.garden-close {
background: transparent;
border: none;
color: #fff;
font-size: 1.5rem;
cursor: pointer;
}
.garden-messages {
flex: 1;
padding: 20px;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 15px;
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100"><path d="M20,70 Q40,50 50,60 Q60,50 80,70 L80,95 L20,95 Z" fill="%233cb371" opacity="0.1"/></svg>');
}
.garden-message {
max-width: 80%;
padding: 12px 18px;
border-radius: 18px;
animation: growIn 0.5s ease;
position: relative;
word-wrap: break-word;
}
@keyframes growIn {
0% { transform: scale(0); opacity: 0; }
100% { transform: scale(1); opacity: 1; }
}
.user-message-garden {
background: #f0e68c;
color: #333;
align-self: flex-end;
border-bottom-right-radius: 5px;
}
.bot-message-garden {
background: #98fb98;
color: #333;
align-self: flex-start;
border-bottom-left-radius: 5px;
}
.garden-input-area {
padding: 15px;
background: #2e8b57;
display: flex;
gap: 10px;
}
.garden-input {
flex: 1;
padding: 12px 18px;
border-radius: 25px;
border: none;
background: rgba(255, 255, 255, 0.9);
color: #333;
font-size: 1rem;
outline: none;
}
.garden-input:focus {
box-shadow: 0 0 10px rgba(152, 251, 152, 0.8);
}
.garden-send {
padding: 12px 20px;
border-radius: 50%;
background: #3cb371;
color: white;
border: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.2rem;
}
.flower-decoration {
position: absolute;
width: 40px;
height: 40px;
background: radial-gradient(circle, #ff69b4 30%, #ff1493 70%);
border-radius: 50% 50% 50% 50%;
transform: rotate(45deg);
top: -20px;
right: 50px;
box-shadow: 0 0 10px rgba(255, 105, 180, 0.7);
}
.vines {
position: absolute;
width: 10px;
height: 100px;
background: #3cb371;
top: 0;
right: 20px;
border-radius: 5px;
}
.vines::before, .vines::after {
content: '';
position: absolute;
width: 10px;
height: 80px;
background: #3cb371;
border-radius: 5px;
transform: rotate(30deg);
top: 20px;
left: 15px;
}
.vines::after {
transform: rotate(-30deg);
left: -15px;
}
/* === BOT 3: RETRO GAMER === */
#retro-chatbot {
width: 350px;
height: 450px;
background: linear-gradient(to bottom, #d35400, #8e44ad);
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
display: none;
flex-direction: column;
border: 15px solid #2c3e50;
border-radius: 20px;
box-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
z-index: 100;
overflow: hidden;
}
.retro-header {
background: #2c3e50;
padding: 15px;
text-align: center;
border-bottom: 5px solid #7f8c8d;
}
.retro-title {
font-size: 1.8rem;
font-weight: bold;
color: #f1c40f;
text-shadow: 0 0 5px rgba(241, 196, 15, 0.8);
font-family: 'Courier New', monospace;
letter-spacing: 2px;
}
.retro-messages {
flex: 1;
padding: 20px;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 15px;
background: #34495e;
font-family: 'Courier New', monospace;
color: #ecf0f1;
border: 5px solid #2c3e50;
margin: 10px;
position: relative;
}
.retro-message {
max-width: 85%;
padding: 12px 15px;
border-radius: 10px;
animation: pixelate 0.5s steps(4);
position: relative;
word-wrap: break-word;
border: 2px solid #7f8c8d;
}
@keyframes pixelate {
0% { opacity: 0; transform: scale(0.5); }
100% { opacity: 1; transform: scale(1); }
}
.user-message-retro {
background: #3498db;
align-self: flex-end;
border-bottom-right-radius: 0;
}
.bot-message-retro {
background: #e74c3c;
align-self: flex-start;
border-bottom-left-radius: 0;
}
.retro-input-area {
padding: 15px;
background: #2c3e50;
display: flex;
gap: 10px;
border-top: 5px solid #7f8c8d;
}
.retro-input {
flex: 1;
padding: 12px 15px;
border-radius: 0;
border: none;
background: #ecf0f1;
color: #2c3e50;
font-size: 1rem;
outline: none;
font-family: 'Courier New', monospace;
border: 3px solid #7f8c8d;
}
.retro-input:focus {
border-color: #f1c40f;
}
.retro-send {
padding: 12px 20px;
background: #f1c40f;
color: #2c3e50;
border: none;
cursor: pointer;
font-weight: bold;
font-family: 'Courier New', monospace;
border: 3px solid #7f8c8d;
}
.retro-controls {
display: flex;
justify-content: center;
gap: 20px;
padding: 10px;
background: #2c3e50;
}
.retro-button {
width: 40px;
height: 40px;
border-radius: 50%;
background: #e74c3c;
border: 3px solid #7f8c8d;
cursor: pointer;
}
.retro-button:nth-child(2) {
background: #3498db;
}
.retro-button:nth-child(3) {
background: #2ecc71;
}
.pixel-corner {
position: absolute;
width: 20px;
height: 20px;
background: #f1c40f;
}
.corner-tl { top: 0; left: 0; }
.corner-tr { top: 0; right: 0; }
.corner-bl { bottom: 0; left: 0; }
.corner-br { bottom: 0; right: 0; }
/* Responsive design */
@media (max-width: 768px) {
.chatbot-container {
flex-direction: column;
align-items: center;
}
.chatbot-card {
width: 100%;
max-width: 400px;
}
#garden-chatbot {
right: 20px;
width: 90%;
max-width: 400px;
}
}
</style>
</head>
<body>
<div class="container">
<header>
<h1>Radical Chatbot Designs</h1>
<p class="subtitle">Three fundamentally unique chatbot interfaces with distinct personalities, interactions, and visual styles. Each design represents a different approach to human-AI conversation.</p>
</header>
<div class="chatbot-container">
<div class="chatbot-card">
<div class="chatbot-icon" style="color: #4facfe;">
<i class="fas fa-rocket"></i>
</div>
<h2 class="chatbot-title">Cosmic Explorer</h2>
<p class="chatbot-desc">A space-themed chatbot that makes conversation feel like navigating the cosmos. Features holographic messages and starry backgrounds.</p>
<button class="btn" style="background: linear-gradient(45deg, #4facfe, #00f2fe); color: white;" onclick="openChatbot('cosmic')">Launch Chat</button>
</div>
<div class="chatbot-card">
<div class="chatbot-icon" style="color: #3cb371;">
<i class="fas fa-seedling"></i>
</div>
<h2 class="chatbot-title">Garden Whisperer</h2>
<p class="chatbot-desc">A nature-inspired chatbot where messages bloom like flowers. Features organic shapes and earthy colors.</p>
<button class="btn" style="background: linear-gradient(45deg, #2e8b57, #98fb98); color: #333;" onclick="openChatbot('garden')">Grow Chat</button>
</div>
<div class="chatbot-card">
<div class="chatbot-icon" style="color: #f1c40f;">
<i class="fas fa-gamepad"></i>
</div>
<h2 class="chatbot-title">Retro Gamer</h2>
<p class="chatbot-desc">An 8-bit style chatbot that feels like a vintage video game. Features pixel art and nostalgic design elements.</p>
<button class="btn" style="background: linear-gradient(45deg, #d35400, #f1c40f); color: #2c3e50;" onclick="openChatbot('retro')">Start Game</button>
</div>
</div>
</div>
<!-- Chatbot Overlay -->
<div class="chatbot-overlay" id="chatbot-overlay">
<!-- Cosmic Explorer Chatbot -->
<div id="cosmic-chatbot" class="chatbot">
<div class="cosmic-header">
<div class="cosmic-title"><i class="fas fa-rocket"></i> Cosmic Explorer</div>
<button class="cosmic-close" onclick="closeChatbot('cosmic')"><i class="fas fa-times"></i></button>
</div>
<div class="cosmic-messages" id="cosmic-messages">
<div class="cosmic-message bot-message">
Greetings, space traveler! I'm Nova, your cosmic guide. Where shall we journey today?
</div>
</div>
<div class="cosmic-input-area">
<input type="text" class="cosmic-input" id="cosmic-input" placeholder="Type your message to the cosmos...">
<button class="cosmic-send" onclick="sendMessage('cosmic')"><i class="fas fa-paper-plane"></i></button>
</div>
</div>
<!-- Garden Whisperer Chatbot -->
<div id="garden-chatbot" class="chatbot">
<div class="flower-decoration"></div>
<div class="vines"></div>
<div class="garden-header">
<div class="garden-title"><i class="fas fa-seedling"></i> Garden Whisperer</div>
<button class="garden-close" onclick="closeChatbot('garden')"><i class="fas fa-times"></i></button>
</div>
<div class="garden-messages" id="garden-messages">
<div class="garden-message bot-message-garden">
Hello, friend! I'm Flora, your garden companion. What seeds of conversation shall we plant today?
</div>
</div>
<div class="garden-input-area">
<input type="text" class="garden-input" id="garden-input" placeholder="What's growing in your mind?">
<button class="garden-send" onclick="sendMessage('garden')"><i class="fas fa-leaf"></i></button>
</div>
</div>
<!-- Retro Gamer Chatbot -->
<div id="retro-chatbot" class="chatbot">
<div class="pixel-corner corner-tl"></div>
<div class="pixel-corner corner-tr"></div>
<div class="pixel-corner corner-bl"></div>
<div class="pixel-corner corner-br"></div>
<div class="retro-header">
<div class="retro-title">>_ RETRO GAMER</div>
</div>
<div class="retro-messages" id="retro-messages">
<div class="retro-message bot-message-retro">
PLAYER 1 READY! I'm Byte, your 8-bit companion. Type commands to play!
</div>
</div>
<div class="retro-input-area">
<input type="text" class="retro-input" id="retro-input" placeholder="> ENTER COMMAND...">
<button class="retro-send" onclick="sendMessage('retro')">SEND</button>
</div>
<div class="retro-controls">
<div class="retro-button"></div>
<div class="retro-button"></div>
<div class="retro-button"></div>
</div>
</div>
</div>
<script>
// Open specific chatbot
function openChatbot(type) {
document.getElementById('chatbot-overlay').classList.add('active');
document.getElementById(`${type}-chatbot`).style.display = 'flex';
// Add opening animations
if (type === 'cosmic') {
document.getElementById('cosmic-chatbot').style.animation = 'fadeIn 0.5s ease';
} else if (type === 'garden') {
document.getElementById('garden-chatbot').style.animation = 'growIn 0.5s ease';
} else if (type === 'retro') {
document.getElementById('retro-chatbot').style.animation = 'pixelate 0.5s steps(4)';
}
}
// Close specific chatbot
function closeChatbot(type) {
document.getElementById(`${type}-chatbot`).style.display = 'none';
document.getElementById('chatbot-overlay').classList.remove('active');
}
// Send message to chatbot
function sendMessage(type) {
const input = document.getElementById(`${type}-input`);
const message = input.value.trim();
if (message) {
const messagesContainer = document.getElementById(`${type}-messages`);
// Add user message
const userMessage = document.createElement('div');
userMessage.classList.add(`${type}-message`, `user-message-${type}`);
userMessage.textContent = message;
messagesContainer.appendChild(userMessage);
// Clear input
input.value = '';
// Scroll to bottom
messagesContainer.scrollTop = messagesContainer.scrollHeight;
// Simulate bot response
setTimeout(() => {
const botMessage = document.createElement('div');
botMessage.classList.add(`${type}-message`, `bot-message-${type}`);
// Different responses for each bot
if (type === 'cosmic') {
botMessage.textContent = getCosmicResponse(message);
} else if (type === 'garden') {
botMessage.textContent = getGardenResponse(message);
} else if (type === 'retro') {
botMessage.textContent = getRetroResponse(message);
}
messagesContainer.appendChild(botMessage);
messagesContainer.scrollTop = messagesContainer.scrollHeight;
}, 1000);
}
}
// Handle Enter key
document.addEventListener('keypress', function(e) {
if (e.key === 'Enter') {
if (document.getElementById('cosmic-chatbot').style.display === 'flex') {
sendMessage('cosmic');
} else if (document.getElementById('garden-chatbot').style.display === 'flex') {
sendMessage('garden');
} else if (document.getElementById('retro-chatbot').style.display === 'flex') {
sendMessage('retro');
}
}
});
// Response generators
function getCosmicResponse(message) {
const responses = [
`Fascinating! From my cosmic perspective, "${message}" resonates with quantum possibilities.`,
`Your message has been transmitted across 42 light-years of digital space.`,
`I've analyzed your message through my stellar database. The results are... intriguing.`,
`In the constellation of conversation, your words form a unique pattern.`,
`Your message creates gravitational waves in the fabric of our dialogue.`,
`I detect high levels of curiosity in your transmission. Let's explore further!`
];
return responses[Math.floor(Math.random() * responses.length)];
}
function getGardenResponse(message) {
const responses = [
`Your words are like sunshine to our conversation! Let's nurture this idea.`,
`I sense your message blooming into something beautiful.`,
`Like a gentle rain, your thoughts nourish our dialogue.`,
`Our chat is like a garden - each message a new flower opening to the sun.`,
`Your words have taken root in our conversation. Let's watch them grow!`,
`I've planted your message in fertile soil. What shall we cultivate next?`
];
return responses[Math.floor(Math.random() * responses.length)];
}
function getRetroResponse(message) {
const responses = [
`COMMAND RECEIVED: "${message.toUpperCase()}" - PROCESSING... OUTPUT: LET'S PLAY!`,
`HIGH SCORE! Your message earns 10,000 conversation points.`,
`LEVEL UP! Your communication skills are improving.`,
`CONTINUE? (Y/N) > Y\nNEXT MOVE: "${message.toUpperCase()}" ACCEPTED!`,
`BONUS ROUND! Your message unlocked a secret response path.`,
`GAME SAVED! Your progress in this conversation has been stored.`
];
return responses[Math.floor(Math.random() * responses.length)];
}
</script>
</body>
</html>
Each chatbot has its own completely unique design language, interaction patterns, and visual style while maintaining full functionality. The interface allows you to try each chatbot individually with realistic simulated responses.