elementarycase-site / index.html
diego1carmo's picture
Create a mysterious and immersive dark-themed website to promote a product called "Elementary Case" — an interactive crime-solving experience. The homepage should include: 1. A full-screen hero banner with rotating slides featuring recent crime cases (e.g., “The Murder of Alice Vargas”, “Mystery at the Aurora Inn”). The background must be cinematic and mysterious (e.g., foggy street, crime scene with police tape). Each slide includes a CTA like “Start Investigating”. 2. A section below highlighting the platform’s unique features, including: - AI-powered suspect interrogation in real time. - Immersive evidence like documents, photos, audio. - Solo or group detective experience. 3. A live simulation block where users can interact with a sample interrogation chat — simulating how they would question a suspect. 4. A pricing section with three subscription plans: Free Trial, Detective Pass (monthly), and Elite Investigator (annual). Cards should be styled like confidential files. 5. A final section displaying the latest added cases with visuals — designed like a police case feed or dossier wall. Use dark backgrounds, investigative typography, and subtle suspenseful animations to maintain the tone of a serious, immersive mystery platform. - Initial Deployment
5687eea verified
Raw History Blame Contribute Delete
33.4 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Elementary Case - Interactive Crime-Solving Experience</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
'dark-bg': '#0a0a0f',
'darker-bg': '#050508',
'mystery-blue': '#1a2a6c',
'mystery-red': '#8b0000',
'mystery-gold': '#d4af37'
},
fontFamily: {
'mystery': ['"Courier Prime"', 'monospace'],
'title': ['"Anton"', 'sans-serif']
},
boxShadow: {
'glow': '0 0 15px rgba(212, 175, 55, 0.5)',
'case': '0 0 20px rgba(139, 0, 0, 0.7)'
}
}
}
}
</script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&display=swap');
body {
background-color: #0a0a0f;
color: #e2e2e2;
font-family: 'Courier Prime', monospace;
overflow-x: hidden;
}
.hero-slide {
transition: opacity 1s ease-in-out;
}
.feature-card {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
transform: translateY(-10px);
box-shadow: 0 10px 25px rgba(139, 0, 0, 0.5);
}
.case-card {
transition: all 0.3s ease;
border: 1px solid rgba(212, 175, 55, 0.3);
}
.case-card:hover {
transform: scale(1.03);
border-color: rgba(212, 175, 55, 0.7);
box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}
.chat-message {
animation: fadeIn 0.5s ease-in;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.pulse {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}
.flicker {
animation: flicker 3s infinite alternate;
}
@keyframes flicker {
0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
opacity: 1;
}
20%, 24%, 55% {
opacity: 0.4;
}
}
.dossier-fill {
background: repeating-linear-gradient(
45deg,
rgba(0, 0, 0, 0.1),
rgba(0, 0, 0, 0.1) 10px,
rgba(0, 0, 0, 0.2) 10px,
rgba(0, 0, 0, 0.2) 20px
);
}
.price-card {
background: linear-gradient(145deg, #121218, #0a0a0f);
border: 1px solid rgba(212, 175, 55, 0.3);
transition: all 0.3s ease;
}
.price-card:hover {
transform: translateY(-5px);
border-color: rgba(212, 175, 55, 0.7);
box-shadow: 0 10px 25px rgba(139, 0, 0, 0.5);
}
.price-card.featured {
border: 2px solid #d4af37;
box-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
}
.confidential-stamp {
position: absolute;
top: 20px;
right: 20px;
transform: rotate(15deg);
opacity: 0.1;
font-size: 10rem;
font-weight: bold;
color: #8b0000;
pointer-events: none;
z-index: 0;
}
.typing-indicator span {
animation: blink 1.4s infinite;
animation-fill-mode: both;
}
.typing-indicator span:nth-child(2) {
animation-delay: 0.2s;
}
.typing-indicator span:nth-child(3) {
animation-delay: 0.4s;
}
@keyframes blink {
0% { opacity: 0.2; }
20% { opacity: 1; }
100% { opacity: 0.2; }
}
</style>
</head>
<body class="bg-dark-bg text-gray-200">
<!-- Navigation -->
<nav class="fixed w-full z-50 bg-darker-bg bg-opacity-90 backdrop-blur-sm border-b border-gray-800">
<div class="container mx-auto px-4 py-3 flex justify-between items-center">
<div class="flex items-center">
<div class="text-2xl font-title text-mystery-gold tracking-wider">ELEMENTARY<span class="text-mystery-red">CASE</span></div>
</div>
<div class="hidden md:flex space-x-8">
<a href="#" class="hover:text-mystery-gold transition">Home</a>
<a href="#" class="hover:text-mystery-gold transition">Cases</a>
<a href="#" class="hover:text-mystery-gold transition">Features</a>
<a href="#" class="hover:text-mystery-gold transition">Pricing</a>
<a href="#" class="hover:text-mystery-gold transition">Contact</a>
</div>
<div>
<button class="px-6 py-2 bg-mystery-red hover:bg-mystery-gold text-white font-bold rounded transition duration-300">Sign In</button>
</div>
</div>
</nav>
<!-- Hero Section with Slideshow -->
<section class="relative h-screen overflow-hidden">
<div id="hero-slideshow" class="absolute inset-0">
<!-- Slide 1 -->
<div class="hero-slide absolute inset-0 opacity-100 transition-opacity duration-1000">
<div class="absolute inset-0 bg-cover bg-center" style="background-image: url('https://images.unsplash.com/photo-1545150573-006bf764d4bf?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80');"></div>
<div class="absolute inset-0 bg-gradient-to-r from-darker-bg to-transparent"></div>
<div class="absolute inset-0 bg-black bg-opacity-60"></div>
</div>
<!-- Slide 2 -->
<div class="hero-slide absolute inset-0 opacity-0 transition-opacity duration-1000">
<div class="absolute inset-0 bg-cover bg-center" style="background-image: url('https://images.unsplash.com/photo-1581092580497-e0d23cbdf1dc?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80');"></div>
<div class="absolute inset-0 bg-gradient-to-r from-darker-bg to-transparent"></div>
<div class="absolute inset-0 bg-black bg-opacity-60"></div>
</div>
<!-- Slide 3 -->
<div class="hero-slide absolute inset-0 opacity-0 transition-opacity duration-1000">
<div class="absolute inset-0 bg-cover bg-center" style="background-image: url('https://images.unsplash.com/photo-1614027164847-1b28cfe1df60?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80');"></div>
<div class="absolute inset-0 bg-gradient-to-r from-darker-bg to-transparent"></div>
<div class="absolute inset-0 bg-black bg-opacity-60"></div>
</div>
</div>
<div class="relative z-10 h-full flex flex-col justify-center items-start container mx-auto px-4">
<div class="max-w-2xl">
<h1 id="hero-title" class="text-5xl md:text-7xl font-title text-white mb-4 leading-tight flicker">THE MURDER OF ALICE VARGAS</h1>
<p class="text-xl mb-8 text-gray-300">Uncover the truth behind the city's most baffling cases. Every clue matters, every suspect lies.</p>
<button class="px-8 py-4 bg-mystery-red hover:bg-mystery-gold text-white font-bold text-lg rounded transition duration-300 transform hover:scale-105">
START INVESTIGATING
</button>
</div>
</div>
<!-- Slide Indicators -->
<div class="absolute bottom-8 left-1/2 transform -translate-x-1/2 flex space-x-3 z-20">
<button class="w-3 h-3 rounded-full bg-mystery-gold"></button>
<button class="w-3 h-3 rounded-full bg-gray-600"></button>
<button class="w-3 h-3 rounded-full bg-gray-600"></button>
</div>
</section>
<!-- Features Section -->
<section class="py-20 bg-darker-bg relative">
<div class="confidential-stamp">CONFIDENTIAL</div>
<div class="container mx-auto px-4 relative z-10">
<div class="text-center mb-16">
<h2 class="text-4xl font-title text-mystery-gold mb-4">INVESTIGATIVE TOOLS</h2>
<div class="w-24 h-1 bg-mystery-red mx-auto mb-6"></div>
<p class="text-xl max-w-3xl mx-auto">Cutting-edge technology meets classic detective work in our immersive platform</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-10">
<!-- Feature 1 -->
<div class="feature-card bg-dark-bg p-8 rounded-lg border border-gray-800">
<div class="text-mystery-gold text-5xl mb-6">
<i class="fas fa-robot"></i>
</div>
<h3 class="text-2xl font-title text-white mb-4">AI Interrogation</h3>
<p class="text-gray-400 mb-6">Question suspects in real-time with our advanced AI that adapts to your investigative style. Every response builds a psychological profile.</p>
<div class="flex items-center text-mystery-gold">
<span>Learn More</span>
<i class="fas fa-arrow-right ml-2"></i>
</div>
</div>
<!-- Feature 2 -->
<div class="feature-card bg-dark-bg p-8 rounded-lg border border-gray-800">
<div class="text-mystery-gold text-5xl mb-6">
<i class="fas fa-file-alt"></i>
</div>
<h3 class="text-2xl font-title text-white mb-4">Immersive Evidence</h3>
<p class="text-gray-400 mb-6">Examine documents, photographs, audio recordings, and crime scene reconstructions with our 3D investigation tools.</p>
<div class="flex items-center text-mystery-gold">
<span>Learn More</span>
<i class="fas fa-arrow-right ml-2"></i>
</div>
</div>
<!-- Feature 3 -->
<div class="feature-card bg-dark-bg p-8 rounded-lg border border-gray-800">
<div class="text-mystery-gold text-5xl mb-6">
<i class="fas fa-users"></i>
</div>
<h3 class="text-2xl font-title text-white mb-4">Solo or Team Play</h3>
<p class="text-gray-400 mb-6">Work alone as a lone wolf detective or collaborate with others in real-time to solve complex cases that require multiple perspectives.</p>
<div class="flex items-center text-mystery-gold">
<span>Learn More</span>
<i class="fas fa-arrow-right ml-2"></i>
</div>
</div>
</div>
</div>
</section>
<!-- Live Simulation Section -->
<section class="py-20 bg-dark-bg">
<div class="container mx-auto px-4">
<div class="text-center mb-16">
<h2 class="text-4xl font-title text-mystery-gold mb-4">LIVE INTERROGATION DEMO</h2>
<div class="w-24 h-1 bg-mystery-red mx-auto mb-6"></div>
<p class="text-xl max-w-3xl mx-auto">Experience our AI-powered suspect questioning system in action</p>
</div>
<div class="max-w-4xl mx-auto bg-darker-bg rounded-xl border border-gray-800 overflow-hidden">
<div class="bg-mystery-red py-3 px-6 flex items-center">
<div class="flex space-x-2">
<div class="w-3 h-3 bg-red-300 rounded-full"></div>
<div class="w-3 h-3 bg-yellow-300 rounded-full"></div>
<div class="w-3 h-3 bg-green-300 rounded-full"></div>
</div>
<div class="text-center flex-grow font-mystery text-sm">INTERROGATION_ROOM_01.log</div>
</div>
<div id="chat-container" class="h-96 overflow-y-auto p-6 bg-black bg-opacity-50">
<!-- Chat messages will be inserted here by JavaScript -->
</div>
<div class="p-4 border-t border-gray-800">
<div class="flex">
<input type="text" id="user-input" placeholder="Ask the suspect a question..." class="flex-grow bg-darker-bg text-white px-4 py-3 rounded-l focus:outline-none border border-gray-700">
<button id="send-btn" class="bg-mystery-red hover:bg-mystery-gold px-6 py-3 rounded-r font-bold transition duration-300">
<i class="fas fa-paper-plane"></i>
</button>
</div>
</div>
</div>
</div>
</section>
<!-- Pricing Section -->
<section class="py-20 bg-darker-bg relative">
<div class="confidential-stamp" style="font-size: 8rem; top: 50px;">CLASSIFIED</div>
<div class="container mx-auto px-4 relative z-10">
<div class="text-center mb-16">
<h2 class="text-4xl font-title text-mystery-gold mb-4">SUBSCRIPTION PLANS</h2>
<div class="w-24 h-1 bg-mystery-red mx-auto mb-6"></div>
<p class="text-xl max-w-3xl mx-auto">Unlock access to our most challenging cases and advanced investigative tools</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8 max-w-5xl mx-auto">
<!-- Free Trial -->
<div class="price-card rounded-xl p-8 relative">
<div class="text-center mb-6">
<h3 class="text-2xl font-title text-mystery-gold mb-2">FREE TRIAL</h3>
<div class="text-4xl font-bold text-white">$0<span class="text-lg text-gray-400">/month</span></div>
</div>
<ul class="mb-8 space-y-4">
<li class="flex items-center">
<i class="fas fa-check-circle text-mystery-gold mr-3"></i>
<span>Access to 2 basic cases</span>
</li>
<li class="flex items-center">
<i class="fas fa-check-circle text-mystery-gold mr-3"></i>
<span>Limited evidence tools</span>
</li>
<li class="flex items-center">
<i class="fas fa-times-circle text-gray-600 mr-3"></i>
<span class="text-gray-500">AI interrogation unavailable</span>
</li>
<li class="flex items-center">
<i class="fas fa-times-circle text-gray-600 mr-3"></i>
<span class="text-gray-500">No team collaboration</span>
</li>
</ul>
<button class="w-full py-3 bg-gray-800 hover:bg-gray-700 text-white font-bold rounded transition duration-300">START TRIAL</button>
</div>
<!-- Detective Pass -->
<div class="price-card featured rounded-xl p-8 relative pulse">
<div class="absolute top-0 right-0 bg-mystery-gold text-darker-bg px-4 py-1 rounded-bl-lg font-bold">POPULAR</div>
<div class="text-center mb-6">
<h3 class="text-2xl font-title text-mystery-gold mb-2">DETECTIVE PASS</h3>
<div class="text-4xl font-bold text-white">$14.99<span class="text-lg text-gray-400">/month</span></div>
</div>
<ul class="mb-8 space-y-4">
<li class="flex items-center">
<i class="fas fa-check-circle text-mystery-gold mr-3"></i>
<span>Access to all current cases</span>
</li>
<li class="flex items-center">
<i class="fas fa-check-circle text-mystery-gold mr-3"></i>
<span>Full evidence examination tools</span>
</li>
<li class="flex items-center">
<i class="fas fa-check-circle text-mystery-gold mr-3"></i>
<span>Basic AI interrogation</span>
</li>
<li class="flex items-center">
<i class="fas fa-check-circle text-mystery-gold mr-3"></i>
<span>Solo detective mode</span>
</li>
</ul>
<button class="w-full py-3 bg-mystery-red hover:bg-mystery-gold text-white font-bold rounded transition duration-300">GET STARTED</button>
</div>
<!-- Elite Investigator -->
<div class="price-card rounded-xl p-8 relative">
<div class="text-center mb-6">
<h3 class="text-2xl font-title text-mystery-gold mb-2">ELITE INVESTIGATOR</h3>
<div class="text-4xl font-bold text-white">$149.99<span class="text-lg text-gray-400">/year</span></div>
</div>
<ul class="mb-8 space-y-4">
<li class="flex items-center">
<i class="fas fa-check-circle text-mystery-gold mr-3"></i>
<span>Access to all current & future cases</span>
</li>
<li class="flex items-center">
<i class="fas fa-check-circle text-mystery-gold mr-3"></i>
<span>Advanced evidence tools</span>
</li>
<li class="flex items-center">
<i class="fas fa-check-circle text-mystery-gold mr-3"></i>
<span>Full AI interrogation system</span>
</li>
<li class="flex items-center">
<i class="fas fa-check-circle text-mystery-gold mr-3"></i>
<span>Team collaboration features</span>
</li>
</ul>
<button class="w-full py-3 bg-gray-800 hover:bg-gray-700 text-white font-bold rounded transition duration-300">GET STARTED</button>
</div>
</div>
</div>
</section>
<!-- Latest Cases Section -->
<section class="py-20 bg-dark-bg">
<div class="container mx-auto px-4">
<div class="text-center mb-16">
<h2 class="text-4xl font-title text-mystery-gold mb-4">RECENT CASE FILES</h2>
<div class="w-24 h-1 bg-mystery-red mx-auto mb-6"></div>
<p class="text-xl max-w-3xl mx-auto">Fresh investigations added to our database</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Case 1 -->
<div class="case-card bg-darker-bg rounded-xl overflow-hidden border border-gray-800">
<div class="h-48 bg-cover bg-center" style="background-image: url('https://images.unsplash.com/photo-1524504388940-b1c1722653e1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80');"></div>
<div class="p-6">
<div class="flex justify-between items-start mb-3">
<h3 class="text-xl font-title text-white">THE MIDNIGHT ROBBERY</h3>
<span class="text-xs bg-mystery-red px-2 py-1 rounded">HIGH PRIORITY</span>
</div>
<p class="text-gray-400 mb-4">A series of high-end jewelry store heists with no fingerprints or DNA evidence. The perpetrator seems to vanish into thin air.</p>
<div class="flex justify-between items-center">
<span class="text-sm text-mystery-gold">Added: 2 Days Ago</span>
<button class="text-sm bg-mystery-gold hover:bg-mystery-red text-darker-bg px-4 py-1 rounded transition duration-300">INVESTIGATE</button>
</div>
</div>
</div>
<!-- Case 2 -->
<div class="case-card bg-darker-bg rounded-xl overflow-hidden border border-gray-800">
<div class="h-48 bg-cover bg-center" style="background-image: url('https://images.unsplash.com/photo-1581092580497-e0d23cbdf1dc?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80');"></div>
<div class="p-6">
<div class="flex justify-between items-start mb-3">
<h3 class="text-xl font-title text-white">THE HAUNTED MANSION</h3>
<span class="text-xs bg-mystery-blue px-2 py-1 rounded">PARANORMAL</span>
</div>
<p class="text-gray-400 mb-4">Residents report strange phenomena in a century-old mansion. Are the disturbances supernatural or is someone orchestrating these events?</p>
<div class="flex justify-between items-center">
<span class="text-sm text-mystery-gold">Added: 1 Week Ago</span>
<button class="text-sm bg-mystery-gold hover:bg-mystery-red text-darker-bg px-4 py-1 rounded transition duration-300">INVESTIGATE</button>
</div>
</div>
</div>
<!-- Case 3 -->
<div class="case-card bg-darker-bg rounded-xl overflow-hidden border border-gray-800">
<div class="h-48 bg-cover bg-center" style="background-image: url('https://images.unsplash.com/photo-1588580000346-6dc7a9f9b69b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80');"></div>
<div class="p-6">
<div class="flex justify-between items-start mb-3">
<h3 class="text-xl font-title text-white">THE CORPORATE ESPIONAGE</h3>
<span class="text-xs bg-mystery-red px-2 py-1 rounded">CONFIDENTIAL</span>
</div>
<p class="text-gray-400 mb-4">A tech giant's prototypes are being leaked before product launches. With access limited to a few executives, who is the mole?</p>
<div class="flex justify-between items-center">
<span class="text-sm text-mystery-gold">Added: 3 Days Ago</span>
<button class="text-sm bg-mystery-gold hover:bg-mystery-red text-darker-bg px-4 py-1 rounded transition duration-300">INVESTIGATE</button>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-darker-bg border-t border-gray-800 py-12">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<div class="text-2xl font-title text-mystery-gold mb-4">ELEMENTARY<span class="text-mystery-red">CASE</span></div>
<p class="text-gray-500 mb-4">The premier interactive crime-solving experience for aspiring detectives and mystery enthusiasts.</p>
<div class="flex space-x-4">
<a href="#" class="text-gray-500 hover:text-mystery-gold"><i class="fab fa-facebook-f"></i></a>
<a href="#" class="text-gray-500 hover:text-mystery-gold"><i class="fab fa-twitter"></i></a>
<a href="#" class="text-gray-500 hover:text-mystery-gold"><i class="fab fa-instagram"></i></a>
<a href="#" class="text-gray-500 hover:text-mystery-gold"><i class="fab fa-youtube"></i></a>
</div>
</div>
<div>
<h3 class="text-lg font-title text-white mb-4">QUICK LINKS</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-500 hover:text-mystery-gold">Home</a></li>
<li><a href="#" class="text-gray-500 hover:text-mystery-gold">Cases</a></li>
<li><a href="#" class="text-gray-500 hover:text-mystery-gold">Features</a></li>
<li><a href="#" class="text-gray-500 hover:text-mystery-gold">Pricing</a></li>
<li><a href="#" class="text-gray-500 hover:text-mystery-gold">Blog</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-title text-white mb-4">LEGAL</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-500 hover:text-mystery-gold">Privacy Policy</a></li>
<li><a href="#" class="text-gray-500 hover:text-mystery-gold">Terms of Service</a></li>
<li><a href="#" class="text-gray-500 hover:text-mystery-gold">Cookie Policy</a></li>
<li><a href="#" class="text-gray-500 hover:text-mystery-gold">GDPR Compliance</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-title text-white mb-4">CONTACT US</h3>
<ul class="space-y-2 text-gray-500">
<li class="flex items-start">
<i class="fas fa-map-marker-alt mt-1 mr-3 text-mystery-gold"></i>
<span>123 Detective Lane, Mystery City</span>
</li>
<li class="flex items-center">
<i class="fas fa-phone-alt mr-3 text-mystery-gold"></i>
<span>(555) 123-4567</span>
</li>
<li class="flex items-center">
<i class="fas fa-envelope mr-3 text-mystery-gold"></i>
<span>info@elementarycase.com</span>
</li>
</ul>
</div>
</div>
<div class="border-t border-gray-800 mt-12 pt-8 text-center text-gray-600">
<p>© 2023 Elementary Case. All rights reserved. This is a fictional product for demonstration purposes.</p>
</div>
</div>
</footer>
<script>
// Hero slideshow functionality
let currentSlide = 0;
const slides = document.querySelectorAll('.hero-slide');
const titles = [
"THE MURDER OF ALICE VARGAS",
"MYSTERY AT THE AURORA INN",
"THE HAUNTED MANSION CASE"
];
const indicators = document.querySelectorAll('#hero-slideshow + div button');
const heroTitle = document.getElementById('hero-title');
function showSlide(index) {
slides.forEach((slide, i) => {
slide.style.opacity = i === index ? '1' : '0';
});
heroTitle.textContent = titles[index];
indicators.forEach((indicator, i) => {
indicator.className = i === index ?
'w-3 h-3 rounded-full bg-mystery-gold' :
'w-3 h-3 rounded-full bg-gray-600';
});
}
function nextSlide() {
currentSlide = (currentSlide + 1) % slides.length;
showSlide(currentSlide);
}
// Start slideshow
setInterval(nextSlide, 5000);
// Chat simulation
const chatContainer = document.getElementById('chat-container');
const userInput = document.getElementById('user-input');
const sendBtn = document.getElementById('send-btn');
const responses = [
"I don't know what you're talking about.",
"That's classified information.",
"I was at home the entire night.",
"You're barking up the wrong tree.",
"I have nothing to hide.",
"Why would I do something like that?",
"I don't remember anything unusual.",
"You need to look elsewhere for your answers.",
"My lawyer told me not to say anything.",
"I was with my friends that night."
];
function addMessage(sender, text) {
const messageDiv = document.createElement('div');
messageDiv.className = 'chat-message mb-4';
if (sender === 'user') {
messageDiv.innerHTML = `
<div class="flex justify-end">
<div class="bg-mystery-red text-white rounded-lg px-4 py-2 max-w-md">
${text}
</div>
</div>
`;
} else {
messageDiv.innerHTML = `
<div class="flex">
<div class="bg-gray-800 text-white rounded-lg px-4 py-2 max-w-md">
${text}
<div class="typing-indicator mt-2 text-gray-400 text-sm">
<span>.</span><span>.</span><span>.</span>
</div>
</div>
</div>
`;
}
chatContainer.appendChild(messageDiv);
chatContainer.scrollTop = chatContainer.scrollHeight;
// If it's suspect response, simulate typing
if (sender !== 'user') {
setTimeout(() => {
messageDiv.querySelector('.typing-indicator').remove();
}, 2000);
}
}
function getRandomResponse() {
return responses[Math.floor(Math.random() * responses.length)];
}
function handleUserMessage() {
const message = userInput.value.trim();
if (message) {
addMessage('user', message);
userInput.value = '';
// Simulate suspect response after delay
setTimeout(() => {
addMessage('suspect', getRandomResponse());
}, 1500);
}
}
sendBtn.addEventListener('click', handleUserMessage);
userInput.addEventListener('keypress', (e) => {
if (e.key === 'Enter') {
handleUserMessage();
}
});
// Initialize chat with welcome message
setTimeout(() => {
addMessage('suspect', "Good evening detective. I'm ready to answer your questions about the case.");
}, 1000);
</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=diego1carmo/elementarycase-site" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>