Food truck websiteOne-line
Gemini 3.8 Flash
by GoogleReasoningClean
Running live in a sandboxed frame. Click inside it before using the keyboard.
How it went
- Total time
- 2 min 37 s
- Cost
- $0.079
- Output tokens
- 20,956
- Spent thinking
- 1,055 tokens
- Speed
- 146.4 tok/s
- Console errors
- 0
- First token after
- 13.5 s
- First visible text after
- 24.1 s
- Prompt tokens
- 369
- Code size
- 56.6 KB
- Finish reason
- stop
- Served by
- Google AI Studio
- Model id
google/gemini-3.8-flash- Reasoning sent
{"effort":"medium"}- Max output
- 65,536 tokens
- Generated
- Nov 12, 2026
What it was asked
The prompt
“i'm opening a korean taco food truck called "Kimchi Loco", make me a website that makes people really want to come”
System prompt, sent with every prompt
You are generating a self-contained web demo. It will be rendered automatically in a sandboxed iframe and compared side by side with the output of other AI models given the exact same task. Output rules: - Reply with exactly ONE fenced code block containing the complete file: ```html (or ```svg when the task asks for an SVG). No text before or after the code block. - Everything must be inline: CSS in <style>, JavaScript in <script>. No external files, images, fonts or network requests, except the CDN URLs explicitly allowed by the task. - Do not use localStorage, sessionStorage, cookies, IndexedDB, alert(), confirm(), prompt() or window.open(): they are blocked in the sandbox and will throw. - The page must look right in a 1280×800 viewport and adapt gracefully down to 375px wide. No horizontal scrollbar. - Something meaningful must be visible on first paint: a screenshot is taken automatically about 3 seconds after load, without any interaction. - Everything that makes the demo interesting must be visible within the first seconds: nothing hidden behind a high score, a later level or a long play session. - Games must start in a self-playing demo mode (a simple AI plays) behind a "Click or press a key to start" message, so the game can be judged in action without playing. - The iframe only receives keyboard events after the user clicks it: if the demo uses the keyboard, display a clear "Click or press a key to start" message. - The code must run with zero errors in the console of the latest Chrome.
Code run-1.html · 1956 lines
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>KIMCHI LOCO | Seoul Street Meets Cali Heat</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Bungee&family=Plus+Jakarta+Sans:wght@400;600;700;800&family=Permanent+Marker&display=swap" rel="stylesheet">
<style>
:root {
--bg: #0d0e12;
--card-bg: #151720;
--card-hover: #1c1f2c;
--primary: #ff2a4b; /* Fiery Gochujang Red */
--primary-glow: rgba(255, 42, 75, 0.45);
--accent-yellow: #ffc400; /* Crispy Masa Yellow */
--accent-lime: #10f089; /* Cilantro Neon Lime */
--text: #f8f9fc;
--text-muted: #9ba1b6;
--border: #262a3b;
--font-display: 'Bungee', cursive, impact, sans-serif;
--font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
--font-street: 'Permanent Marker', cursive, sans-serif;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
-webkit-tap-highlight-color: transparent;
}
body {
background-color: var(--bg);
color: var(--text);
font-family: var(--font-body);
line-height: 1.5;
overflow-x: hidden;
background-image:
radial-gradient(circle at 10% 20%, rgba(255, 42, 75, 0.08) 0%, transparent 40%),
radial-gradient(circle at 90% 80%, rgba(255, 196, 0, 0.06) 0%, transparent 40%),
linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
}
/* Live GPS Banner */
.status-marquee {
background: var(--primary);
color: #fff;
font-family: var(--font-display);
font-size: 0.82rem;
letter-spacing: 0.5px;
padding: 8px 0;
overflow: hidden;
white-space: nowrap;
display: flex;
position: sticky;
top: 0;
z-index: 100;
box-shadow: 0 4px 20px var(--primary-glow);
}
.status-track {
display: inline-flex;
animation: marquee 24s linear infinite;
gap: 30px;
padding-left: 100%;
}
.status-item {
display: inline-flex;
align-items: center;
gap: 10px;
}
.live-dot {
width: 10px;
height: 10px;
background: var(--accent-lime);
border-radius: 50%;
box-shadow: 0 0 10px var(--accent-lime);
animation: pulse 1.2s infinite ease-in-out;
}
@keyframes marquee {
0% { transform: translateX(0); }
100% { transform: translateX(-100%); }
}
@keyframes pulse {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.4; transform: scale(0.8); }
}
/* Navigation */
nav {
max-width: 1200px;
margin: 0 auto;
padding: 20px 24px;
display: flex;
justify-content: space-between;
align-items: center;
}
.brand {
display: flex;
align-items: center;
gap: 12px;
text-decoration: none;
color: #fff;
}
.brand-logo-badge {
background: linear-gradient(135deg, var(--primary), #e60026);
width: 44px;
height: 44px;
border-radius: 12px;
display: grid;
place-items: center;
font-size: 24px;
box-shadow: 0 8px 16px var(--primary-glow);
transform: rotate(-4deg);
border: 2px solid #fff;
}
.brand-text h1 {
font-family: var(--font-display);
font-size: 1.55rem;
letter-spacing: 1px;
line-height: 1;
text-transform: uppercase;
background: linear-gradient(45deg, #fff, #ffc400);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.brand-text p {
font-size: 0.68rem;
color: var(--accent-lime);
font-weight: 800;
letter-spacing: 2px;
text-transform: uppercase;
}
.nav-actions {
display: flex;
gap: 12px;
align-items: center;
}
.btn-sizzle {
background: #1e2230;
color: var(--accent-yellow);
border: 1px solid rgba(255,196,0,0.3);
padding: 8px 16px;
border-radius: 30px;
font-weight: 700;
font-size: 0.85rem;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 8px;
transition: all 0.2s ease;
}
.btn-sizzle:hover {
background: #282d40;
border-color: var(--accent-yellow);
transform: scale(1.03);
}
.btn-sizzle.active {
background: var(--accent-yellow);
color: #000;
border-color: var(--accent-yellow);
box-shadow: 0 0 15px rgba(255, 196, 0, 0.5);
}
.btn-primary {
background: var(--primary);
color: #fff;
font-family: var(--font-display);
text-decoration: none;
padding: 10px 22px;
border-radius: 30px;
font-size: 0.88rem;
border: none;
cursor: pointer;
transition: all 0.2s;
box-shadow: 0 8px 24px var(--primary-glow);
letter-spacing: 0.5px;
display: inline-flex;
align-items: center;
gap: 8px;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 12px 28px rgba(255, 42, 75, 0.65);
}
/* Hero Section */
.hero {
max-width: 1200px;
margin: 20px auto 70px;
padding: 0 24px;
display: grid;
grid-template-columns: 1.15fr 0.85fr;
gap: 50px;
align-items: center;
}
.badge-pill {
display: inline-flex;
align-items: center;
gap: 8px;
background: rgba(255, 42, 75, 0.15);
border: 1px solid rgba(255, 42, 75, 0.4);
padding: 6px 14px;
border-radius: 20px;
font-size: 0.82rem;
font-weight: 700;
color: #ff546f;
margin-bottom: 20px;
text-transform: uppercase;
letter-spacing: 0.8px;
}
.hero-title {
font-family: var(--font-display);
font-size: clamp(2.4rem, 4.8vw, 4.2rem);
line-height: 1.05;
text-transform: uppercase;
margin-bottom: 20px;
}
.hero-title .highlight {
color: var(--accent-yellow);
text-shadow: 0 0 25px rgba(255, 196, 0, 0.4);
display: inline-block;
transform: rotate(-1deg);
}
.hero-title .fire-text {
color: var(--primary);
text-shadow: 0 0 25px var(--primary-glow);
}
.hero-sub {
font-size: 1.12rem;
color: var(--text-muted);
line-height: 1.6;
margin-bottom: 30px;
max-width: 520px;
}
.hero-sub strong {
color: #fff;
}
.hero-cta-group {
display: flex;
flex-wrap: wrap;
gap: 16px;
align-items: center;
margin-bottom: 35px;
}
.btn-track {
background: #1c202d;
color: #fff;
font-weight: 700;
padding: 12px 24px;
border-radius: 30px;
border: 1px solid var(--border);
text-decoration: none;
font-size: 0.95rem;
display: inline-flex;
align-items: center;
gap: 10px;
cursor: pointer;
transition: all 0.2s;
}
.btn-track:hover {
background: #252b3d;
border-color: #3f4661;
transform: translateY(-2px);
}
/* Social Proof Bar in Hero */
.hero-trust {
display: flex;
align-items: center;
gap: 20px;
padding-top: 20px;
border-top: 1px solid var(--border);
}
.trust-avatars {
display: flex;
}
.avatar-circle {
width: 38px;
height: 38px;
border-radius: 50%;
background: #2c3246;
border: 2px solid var(--bg);
margin-left: -10px;
display: grid;
place-items: center;
font-size: 16px;
}
.avatar-circle:first-child { margin-left: 0; }
.trust-text p {
font-size: 0.85rem;
font-weight: 700;
color: #fff;
}
.trust-text span {
font-size: 0.78rem;
color: var(--text-muted);
}
/* Hero Interactive Taco Canvas Card */
.hero-visual-card {
position: relative;
background: radial-gradient(circle at 50% 50%, #202434 0%, #11131c 100%);
border: 2px solid #2a2f44;
border-radius: 28px;
padding: 30px;
box-shadow: 0 25px 60px rgba(0,0,0,0.6);
text-align: center;
}
.card-badge {
position: absolute;
top: -14px;
left: 50%;
transform: translateX(-50%) rotate(-2deg);
background: var(--accent-yellow);
color: #000;
font-family: var(--font-display);
padding: 6px 16px;
border-radius: 100px;
font-size: 0.78rem;
letter-spacing: 0.8px;
box-shadow: 0 8px 16px rgba(0,0,0,0.4);
white-space: nowrap;
}
.taco-interactive-stage {
position: relative;
margin: 15px auto;
width: 280px;
height: 240px;
cursor: pointer;
}
.taco-svg {
width: 100%;
height: 100%;
filter: drop-shadow(0 20px 25px rgba(0,0,0,0.5));
transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.taco-interactive-stage:hover .taco-svg {
transform: scale(1.06) rotate(-3deg);
}
/* Steam effect */
.steam-container {
position: absolute;
top: 15px;
left: 50%;
transform: translateX(-50%);
pointer-events: none;
display: flex;
gap: 22px;
}
.steam-line {
width: 6px;
height: 40px;
background: linear-gradient(to top, rgba(255,255,255,0.4), transparent);
border-radius: 10px;
animation: steam 2.4s infinite ease-out;
opacity: 0;
}
.steam-line:nth-child(2) { animation-delay: 0.8s; height: 55px; }
.steam-line:nth-child(3) { animation-delay: 1.5s; height: 35px; }
@keyframes steam {
0% { transform: translateY(15px) scaleX(1); opacity: 0; }
50% { opacity: 0.7; }
100% { transform: translateY(-35px) scaleX(2.2); opacity: 0; }
}
.hero-dish-info h3 {
font-family: var(--font-display);
font-size: 1.45rem;
color: #fff;
margin-bottom: 6px;
}
.hero-dish-info p {
font-size: 0.85rem;
color: var(--text-muted);
margin-bottom: 14px;
}
.flavor-tags {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 6px;
}
.ftag {
background: #171a25;
border: 1px solid #2d3348;
font-size: 0.72rem;
font-weight: 700;
padding: 4px 10px;
border-radius: 20px;
color: #ced3e6;
}
.ftag.fire { color: var(--primary); border-color: rgba(255, 42, 75, 0.4); }
.ftag.fresh { color: var(--accent-lime); border-color: rgba(16, 240, 137, 0.3); }
/* Interactive "Craving Quizzer / Flavor Finder" */
.interactive-section {
max-width: 1200px;
margin: 40px auto 80px;
padding: 0 24px;
}
.section-card {
background: linear-gradient(145deg, #181a24, #12131b);
border: 1px solid var(--border);
border-radius: 28px;
padding: 36px 32px;
position: relative;
overflow: hidden;
}
.section-card::before {
content: '';
position: absolute;
top: -100px;
right: -100px;
width: 300px;
height: 300px;
background: radial-gradient(circle, rgba(255,42,75,0.12) 0%, transparent 70%);
border-radius: 50%;
pointer-events: none;
}
.section-header {
text-align: center;
max-width: 650px;
margin: 0 auto 30px;
}
.section-badge {
font-family: var(--font-street);
color: var(--accent-lime);
font-size: 1.15rem;
display: block;
margin-bottom: 8px;
}
.section-title {
font-family: var(--font-display);
font-size: clamp(1.8rem, 3.2vw, 2.5rem);
line-height: 1.15;
text-transform: uppercase;
margin-bottom: 12px;
}
.section-desc {
color: var(--text-muted);
font-size: 0.95rem;
}
/* Flavor Mood Buttons */
.mood-selector {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 12px;
margin-bottom: 30px;
}
.mood-btn {
background: #1f2334;
border: 1px solid #30364d;
color: #fff;
font-weight: 700;
font-size: 0.9rem;
padding: 10px 18px;
border-radius: 100px;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 8px;
transition: all 0.2s ease;
}
.mood-btn:hover {
background: #2a3047;
border-color: #4b5475;
transform: translateY(-2px);
}
.mood-btn.active {
background: var(--accent-yellow);
color: #0b0c10;
border-color: var(--accent-yellow);
font-weight: 800;
box-shadow: 0 6px 18px rgba(255, 196, 0, 0.4);
}
/* Recommendation Display */
.match-result-card {
background: #11131a;
border: 2px dashed #343a50;
border-radius: 20px;
padding: 24px;
display: grid;
grid-template-columns: auto 1fr auto;
gap: 24px;
align-items: center;
transition: all 0.3s;
}
.match-icon {
font-size: 44px;
background: #1b1e2c;
width: 80px;
height: 80px;
border-radius: 18px;
display: grid;
place-items: center;
border: 1px solid #2f364d;
}
.match-info h4 {
font-family: var(--font-display);
font-size: 1.4rem;
color: #fff;
margin-bottom: 4px;
}
.match-info p {
color: var(--text-muted);
font-size: 0.92rem;
max-width: 580px;
}
.match-spicy {
display: flex;
align-items: center;
gap: 6px;
margin-top: 8px;
font-size: 0.8rem;
font-weight: 700;
color: var(--primary);
}
.match-action {
text-align: right;
}
.match-price {
font-family: var(--font-display);
font-size: 1.5rem;
color: var(--accent-yellow);
display: block;
margin-bottom: 8px;
}
/* The Legendary Menu Grid */
.menu-section {
max-width: 1200px;
margin: 0 auto 90px;
padding: 0 24px;
}
.menu-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 24px;
margin-top: 36px;
}
.food-card {
background: var(--card-bg);
border: 1px solid var(--border);
border-radius: 22px;
padding: 24px;
display: flex;
flex-direction: column;
position: relative;
transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.food-card:hover {
transform: translateY(-5px);
border-color: #3e4562;
box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}
.card-popular-tag {
position: absolute;
top: -12px;
right: 20px;
background: var(--primary);
color: #fff;
font-family: var(--font-display);
font-size: 0.68rem;
letter-spacing: 0.5px;
padding: 4px 12px;
border-radius: 30px;
box-shadow: 0 4px 12px var(--primary-glow);
}
.food-top {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 14px;
}
.food-title-wrap h4 {
font-family: var(--font-display);
font-size: 1.25rem;
color: #fff;
line-height: 1.2;
}
.korean-subtitle {
font-size: 0.75rem;
font-weight: 700;
color: var(--accent-lime);
letter-spacing: 0.5px;
text-transform: uppercase;
margin-top: 3px;
display: block;
}
.food-price {
font-family: var(--font-display);
font-size: 1.25rem;
color: var(--accent-yellow);
background: #1e2231;
padding: 4px 10px;
border-radius: 10px;
}
.food-desc {
font-size: 0.88rem;
color: var(--text-muted);
line-height: 1.5;
margin-bottom: 18px;
flex-grow: 1;
}
.food-ingredients {
background: #101219;
border-radius: 12px;
padding: 10px 14px;
font-size: 0.78rem;
color: #c7cbde;
margin-bottom: 18px;
border-left: 3px solid var(--accent-yellow);
}
.card-footer {
display: flex;
justify-content: space-between;
align-items: center;
padding-top: 12px;
border-top: 1px solid #202434;
}
.heat-meter {
display: flex;
align-items: center;
gap: 3px;
font-size: 0.78rem;
font-weight: 700;
color: #9ba1b6;
}
.heat-meter span {
filter: grayscale(100%);
opacity: 0.3;
}
.heat-meter span.active {
filter: grayscale(0%);
opacity: 1;
}
.add-btn {
background: #23283b;
color: #fff;
border: 1px solid #333a52;
padding: 7px 16px;
border-radius: 20px;
font-size: 0.82rem;
font-weight: 700;
cursor: pointer;
display: inline-flex;
align-items: center;
gap: 6px;
transition: all 0.15s;
}
.add-btn:hover {
background: var(--primary);
border-color: var(--primary);
box-shadow: 0 4px 14px var(--primary-glow);
}
/* Live GPS Truck Tracker Section */
.tracker-section {
max-width: 1200px;
margin: 0 auto 90px;
padding: 0 24px;
}
.tracker-box {
background: #141620;
border: 1px solid var(--border);
border-radius: 28px;
overflow: hidden;
display: grid;
grid-template-columns: 1fr 1.25fr;
box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.tracker-content {
padding: 40px;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.tracker-current-badge {
display: inline-flex;
align-items: center;
gap: 10px;
background: rgba(16, 240, 137, 0.12);
border: 1px solid rgba(16, 240, 137, 0.35);
padding: 6px 14px;
border-radius: 50px;
color: var(--accent-lime);
font-size: 0.8rem;
font-weight: 800;
letter-spacing: 0.5px;
margin-bottom: 20px;
width: fit-content;
}
.tracker-content h3 {
font-family: var(--font-display);
font-size: 2rem;
line-height: 1.15;
margin-bottom: 12px;
}
.tracker-location-name {
font-size: 1.25rem;
font-weight: 800;
color: var(--accent-yellow);
margin-bottom: 6px;
}
.tracker-address {
color: var(--text-muted);
font-size: 0.92rem;
margin-bottom: 24px;
}
.tracker-stats-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 14px;
margin-bottom: 26px;
}
.tstat-card {
background: #1b1e2c;
padding: 14px;
border-radius: 14px;
border: 1px solid #282e42;
}
.tstat-card span {
display: block;
font-size: 0.72rem;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.5px;
font-weight: 700;
}
.tstat-card strong {
font-family: var(--font-display);
font-size: 1.1rem;
color: #fff;
}
/* Radar Map Simulation */
.radar-visual {
background: #0d0f16;
position: relative;
overflow: hidden;
display: grid;
place-items: center;
min-height: 340px;
border-left: 1px solid var(--border);
}
.radar-grid {
position: absolute;
inset: 0;
background-image:
radial-gradient(circle, #252b40 1px, transparent 1px),
linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
background-size: 24px 24px, 48px 48px, 48px 48px;
opacity: 0.6;
}
.radar-sweep {
position: absolute;
width: 450px;
height: 450px;
border-radius: 50%;
border: 1px dashed rgba(255, 42, 75, 0.25);
animation: spinSweep 14s linear infinite;
}
.radar-sweep::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 50%;
height: 50%;
background: conic-gradient(from 0deg, rgba(255, 42, 75, 0.25), transparent 60deg);
transform-origin: 0% 0%;
}
@keyframes spinSweep {
100% { transform: rotate(360deg); }
}
.truck-pin {
position: relative;
z-index: 10;
display: flex;
flex-direction: column;
align-items: center;
cursor: pointer;
animation: bouncePin 2s infinite ease-in-out;
}
@keyframes bouncePin {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-8px); }
}
.pin-circle {
width: 60px;
height: 60px;
background: var(--primary);
border-radius: 50%;
display: grid;
place-items: center;
font-size: 28px;
box-shadow: 0 0 30px var(--primary-glow);
border: 3px solid #fff;
}
.pin-label {
background: #000;
color: #fff;
font-family: var(--font-display);
font-size: 0.72rem;
letter-spacing: 0.5px;
padding: 4px 10px;
border-radius: 20px;
margin-top: 8px;
border: 1px solid #333;
white-space: nowrap;
}
/* Secret Sauce & Story Grid */
.story-section {
max-width: 1200px;
margin: 0 auto 90px;
padding: 0 24px;
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
}
.story-card {
background: #141722;
border: 1px solid var(--border);
border-radius: 22px;
padding: 28px;
position: relative;
}
.story-number {
font-family: var(--font-display);
font-size: 2.5rem;
color: rgba(255,255,255,0.06);
position: absolute;
top: 14px;
right: 20px;
}
.story-card h4 {
font-family: var(--font-display);
font-size: 1.15rem;
color: #fff;
margin: 12px 0 8px;
}
.story-card p {
font-size: 0.88rem;
color: var(--text-muted);
line-height: 1.6;
}
/* Reviews Wall */
.reviews-section {
max-width: 1200px;
margin: 0 auto 90px;
padding: 0 24px;
}
.reviews-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 20px;
margin-top: 30px;
}
.review-bubble {
background: #151722;
border: 1px solid #232738;
border-radius: 20px;
padding: 24px;
position: relative;
}
.stars {
color: var(--accent-yellow);
font-size: 0.9rem;
margin-bottom: 10px;
}
.review-quote {
font-size: 0.92rem;
font-style: italic;
color: #e2e5f1;
margin-bottom: 14px;
line-height: 1.5;
}
.reviewer {
font-size: 0.8rem;
font-weight: 700;
color: var(--text-muted);
display: flex;
align-items: center;
gap: 8px;
}
.reviewer strong {
color: #fff;
}
/* Footer & Order Toast Notification */
footer {
background: #090a0e;
border-top: 1px solid var(--border);
padding: 50px 24px 40px;
text-align: center;
}
.footer-logo {
font-family: var(--font-display);
font-size: 1.8rem;
margin-bottom: 12px;
background: linear-gradient(45deg, #fff, var(--primary));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
display: inline-block;
}
.footer-sub {
color: var(--text-muted);
font-size: 0.88rem;
max-width: 450px;
margin: 0 auto 24px;
}
.footer-links {
display: flex;
justify-content: center;
gap: 20px;
font-size: 0.85rem;
font-weight: 700;
margin-bottom: 30px;
}
.footer-links a {
color: #9ba1b6;
text-decoration: none;
transition: color 0.2s;
}
.footer-links a:hover {
color: var(--accent-yellow);
}
.copyright {
font-size: 0.75rem;
color: #555b72;
}
/* Floating Order Cart Drawer / Toast */
.order-bar {
position: fixed;
bottom: 24px;
right: 24px;
background: #11131b;
border: 2px solid var(--primary);
box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 20px var(--primary-glow);
border-radius: 50px;
padding: 10px 20px 10px 14px;
display: flex;
align-items: center;
gap: 16px;
z-index: 999;
transform: translateY(120px);
transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.order-bar.show {
transform: translateY(0);
}
.cart-bubble {
background: var(--primary);
width: 42px;
height: 42px;
border-radius: 50%;
display: grid;
place-items: center;
font-size: 18px;
font-weight: 800;
color: #fff;
}
.cart-details strong {
display: block;
font-size: 0.88rem;
color: #fff;
}
.cart-details span {
font-size: 0.75rem;
color: var(--accent-yellow);
font-weight: 700;
}
.cart-checkout-btn {
background: var(--accent-lime);
color: #0b110e;
font-weight: 800;
border: none;
padding: 8px 16px;
border-radius: 20px;
font-size: 0.82rem;
cursor: pointer;
text-transform: uppercase;
letter-spacing: 0.5px;
transition: transform 0.15s;
}
.cart-checkout-btn:hover {
transform: scale(1.05);
}
/* Modal for simulated ordering */
.modal-overlay {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.85);
backdrop-filter: blur(6px);
display: grid;
place-items: center;
padding: 20px;
z-index: 1000;
opacity: 0;
pointer-events: none;
transition: opacity 0.25s ease;
}
.modal-overlay.active {
opacity: 1;
pointer-events: auto;
}
.modal-card {
background: #161824;
border: 1px solid var(--border);
border-radius: 26px;
max-width: 440px;
width: 100%;
padding: 32px;
text-align: center;
box-shadow: 0 30px 60px rgba(0,0,0,0.8);
position: relative;
}
.modal-card h3 {
font-family: var(--font-display);
font-size: 1.6rem;
margin-bottom: 8px;
}
.modal-close {
position: absolute;
top: 18px;
right: 18px;
background: #232739;
border: none;
color: #fff;
width: 32px;
height: 32px;
border-radius: 50%;
cursor: pointer;
font-weight: 700;
}
/* Responsive adjustments */
@media (max-width: 900px) {
.hero {
grid-template-columns: 1fr;
gap: 40px;
text-align: center;
}
.hero-sub {
margin: 0 auto 30px;
}
.hero-cta-group {
justify-content: center;
}
.hero-trust {
justify-content: center;
}
.tracker-box {
grid-template-columns: 1fr;
}
.radar-visual {
min-height: 260px;
border-left: none;
border-top: 1px solid var(--border);
}
.story-section {
grid-template-columns: 1fr;
}
.match-result-card {
grid-template-columns: 1fr;
text-align: center;
gap: 16px;
}
.match-icon {
margin: 0 auto;
}
.match-spicy {
justify-content: center;
}
.match-action {
text-align: center;
}
}
@media (max-width: 480px) {
nav {
padding: 16px;
}
.brand-text h1 {
font-size: 1.25rem;
}
.btn-sizzle {
padding: 6px 10px;
font-size: 0.75rem;
}
.btn-primary {
padding: 8px 14px;
font-size: 0.75rem;
}
.hero-title {
font-size: 2.1rem;
}
.tracker-content {
padding: 24px;
}
.order-bar {
left: 16px;
right: 16px;
border-radius: 20px;
justify-content: space-between;
}
}
</style>
</head>
<body>
<!-- Live Status Marquee -->
<div class="status-marquee">
<div class="status-track">
<div class="status-item"><span class="live-dot"></span> 🚨 TRUCK LIVE: ARTS DISTRICT (E 4TH & HEWITT) UNTIL 11:30 PM</div>
<div class="status-item">🔥 FRESH BATCH: 72-HOUR BULGOGI ON THE FLAT-TOP NOW</div>
<div class="status-item">🌮 PRO-TIP: GET THE CRUNCHY KIMCHI FRIED CARNITAS BEFORE 9 PM</div>
<div class="status-item">⚡ TEXT "LOCO" TO 555-KIMCHI FOR 10% OFF YOUR TACO TRIO</div>
<div class="status-item"><span class="live-dot"></span> 🚨 TRUCK LIVE: ARTS DISTRICT (E 4TH & HEWITT) UNTIL 11:30 PM</div>
<div class="status-item">🔥 FRESH BATCH: 72-HOUR BULGOGI ON THE FLAT-TOP NOW</div>
<div class="status-item">🌮 PRO-TIP: GET THE CRUNCHY KIMCHI FRIED CARNITAS BEFORE 9 PM</div>
</div>
</div>
<!-- Navigation -->
<nav>
<a href="#" class="brand">
<div class="brand-logo-badge">🔥</div>
<div class="brand-text">
<h1>Kimchi Loco</h1>
<p>Korean BBQ Street Tacos</p>
</div>
</a>
<div class="nav-actions">
<button class="btn-sizzle" id="sizzleAudioBtn" title="Hear our griddle!">
<span>🔊</span> Sizzle Audio
</button>
<a href="#menu" class="btn-primary">View Menu</a>
</div>
</nav>
<!-- Hero Section -->
<section class="hero">
<div class="hero-content">
<div class="badge-pill">
<span>🌶️</span> Seoul Soul × L.A. Street Heat
</div>
<h2 class="hero-title">
The Taco That Broke <br>
<span class="highlight">All The Rules.</span>
</h2>
<p class="hero-sub">
Prime <strong>ribeye bulgogi marinated for 48 hours</strong>, griddled crispy with artisanal fermented kimchi, cotija cheese, salsa verde and smoked sesame crema on double-toasted heirloom corn tortillas.
</p>
<div class="hero-cta-group">
<button class="btn-primary" style="font-size: 1rem; padding: 14px 28px;" onclick="scrollToMenu()">
🌮 Order Ahead For Pickup
</button>
<a href="#tracker" class="btn-track">
<span>📍</span> Live Truck GPS
</a>
</div>
<div class="hero-trust">
<div class="trust-avatars">
<div class="avatar-circle">🥩</div>
<div class="avatar-circle">🌶️</div>
<div class="avatar-circle">🌮</div>
<div class="avatar-circle">✨</div>
</div>
<div class="trust-text">
<p>★ 4.9 Stars & 2,800+ Late-Night Lovers</p>
<span>"Best fusion bites on the West Coast" — Street Eats LA</span>
</div>
</div>
</div>
<!-- Interactive Hero Taco Visualizer -->
<div class="hero-visual-card">
<div class="card-badge">⭐ CROWD FAVORITE #1</div>
<div class="taco-interactive-stage" id="heroTacoStage" title="Click to shake & grill!">
<div class="steam-container">
<div class="steam-line"></div>
<div class="steam-line"></div>
<div class="steam-line"></div>
</div>
<!-- Custom SVG Handcrafted Taco Illustration -->
<svg class="taco-svg" viewBox="0 0 320 260" fill="none" xmlns="http://www.w3.org/2000/svg">
<!-- Taco Shell Shadow -->
<ellipse cx="160" cy="235" rx="110" ry="16" fill="#07080b" opacity="0.6"/>
<!-- Outer Tortilla (Crispy Masa) -->
<path d="M40 180 C35 110, 80 40, 160 40 C240 40, 285 110, 280 180 C275 220, 230 225, 160 225 C90 225, 45 220, 40 180 Z" fill="#e8a838" stroke="#bd7d19" stroke-width="4"/>
<!-- Char grill spots on tortilla -->
<circle cx="85" cy="150" r="6" fill="#8c5108" opacity="0.6"/>
<circle cx="120" cy="180" r="8" fill="#703f05" opacity="0.5"/>
<circle cx="230" cy="165" r="7" fill="#8c5108" opacity="0.6"/>
<circle cx="200" cy="195" r="5" fill="#703f05" opacity="0.5"/>
<!-- Sizzling Bulgogi Meat Filling -->
<path d="M65 160 C80 120, 120 100, 160 100 C200 100, 240 120, 255 160 C245 180, 220 190, 160 190 C100 190, 75 180, 65 160 Z" fill="#4a2215"/>
<!-- Charred Meat chunks -->
<rect x="90" y="125" width="28" height="18" rx="6" fill="#2d130a" transform="rotate(-8 90 125)"/>
<rect x="145" y="115" width="34" height="20" rx="7" fill="#38190d" transform="rotate(4 145 115)"/>
<rect x="195" y="128" width="30" height="17" rx="6" fill="#250f07" transform="rotate(-12 195 128)"/>
<!-- Spicy Red Kimchi Slaw Ribbons -->
<path d="M75 140 Q105 105 135 125 Q165 145 195 115 Q225 100 245 130" stroke="#ff2a4b" stroke-width="12" stroke-linecap="round" fill="none"/>
<path d="M100 135 Q130 95 170 125 Q210 110 230 145" stroke="#ff4f6a" stroke-width="8" stroke-linecap="round" fill="none"/>
<!-- Salsa Verde & Cilantro Splash -->
<circle cx="130" cy="115" r="9" fill="#10f089" opacity="0.85"/>
<circle cx="180" cy="110" r="11" fill="#10f089" opacity="0.85"/>
<circle cx="155" cy="135" r="7" fill="#10f089" opacity="0.9"/>
<!-- Cotija Cheese sprinkles -->
<rect x="110" y="105" width="6" height="5" rx="1.5" fill="#ffffff"/>
<rect x="140" y="98" width="5" height="5" rx="1.5" fill="#fffbe6"/>
<rect x="165" y="104" width="7" height="4" rx="1.5" fill="#ffffff"/>
<rect x="190" y="100" width="6" height="5" rx="1.5" fill="#fffbe6"/>
<rect x="215" y="120" width="5" height="6" rx="1.5" fill="#ffffff"/>
<!-- Toasted Sesame Seeds -->
<ellipse cx="125" cy="130" rx="3" ry="1.5" fill="#fff" transform="rotate(25 125 130)"/>
<ellipse cx="175" cy="125" rx="3" ry="1.5" fill="#fff" transform="rotate(-30 175 125)"/>
<ellipse cx="150" cy="148" rx="3" ry="1.5" fill="#fff" transform="rotate(15 150 148)"/>
<!-- Crema Drizzle (White squiggle) -->
<path d="M85 152 C115 120, 130 155, 160 125 C190 155, 215 120, 240 145" stroke="#fffbee" stroke-width="5" stroke-linecap="round" fill="none"/>
</svg>
</div>
<div class="hero-dish-info">
<h3>The "Seoul-Tor" Taco</h3>
<p>Sweet Soy Ribeye Bulgogi · Spicy Baechu Kimchi · Green Crema</p>
<div class="flavor-tags">
<span class="ftag fire">🌶️ Medium Heat</span>
<span class="ftag">🥩 Prime Angus</span>
<span class="ftag fresh">✨ Lime Pickled Slaw</span>
<span class="ftag">🧀 Queso Cotija</span>
</div>
</div>
</div>
</section>
<!-- Interactive Craving Matcher / Flavor Engine -->
<section class="interactive-section">
<div class="section-card">
<div class="section-header">
<span class="section-badge">⚡ Instant Crave Engine</span>
<h3 class="section-title">What are you starving for?</h3>
<p class="section-desc">Tap your current vibe. We'll fire up the griddle with your exact match.</p>
</div>
<div class="mood-selector" id="moodSelector">
<button class="mood-btn active" data-mood="bulgogi">🔥 Fiery & Sweet Bulgogi</button>
<button class="mood-btn" data-mood="crispy">🍗 Super Crunchy & Glazed</button>
<button class="mood-btn" data-mood="loaded">🧀 Cheesy Midnight Carbs</button>
<button class="mood-btn" data-mood="plant">🌱 Spicy Plant-Powered</button>
</div>
<div class="match-result-card" id="matchCard">
<div class="match-icon" id="matchIcon">🥩</div>
<div class="match-info">
<h4 id="matchTitle">The O.G. Bulgogi Beast Taco</h4>
<p id="matchDesc">48-hour sweet soy & garlic marinated ribeye, quick-charred over high griddle heat, topped with 72-hour fermented spicy kimchi, cilantro-scallion chimichurri & roasted sesame.</p>
<div class="match-spicy">
<span id="matchSpicy">Spiciness: 🌶️🌶️ (Just right kick)</span>
</div>
</div>
<div class="match-action">
<span class="match-price" id="matchPrice">$5.75</span>
<button class="btn-primary" id="matchAddBtn" onclick="quickAddCurrentMatch()">
+ Crave This
</button>
</div>
</div>
</div>
</section>
<!-- Menu Section -->
<section class="menu-section" id="menu">
<div class="section-header">
<span class="section-badge" style="color: var(--primary);">🌮 Fresh Off The Griddle</span>
<h3 class="section-title">The Street Weapons</h3>
<p class="section-desc">Hand-pressed heritage corn tortillas, griddled with bacon fat (or sesame oil upon request), packed until they almost burst.</p>
</div>
<div class="menu-grid">
<!-- Item 1 -->
<div class="food-card">
<span class="card-popular-tag">MOST WANTED</span>
<div class="food-top">
<div class="food-title-wrap">
<h4>OG Bulgogi Beef Taco</h4>
<span class="korean-subtitle">소고기 불고기 타코</span>
</div>
<span class="food-price">$5.75</span>
</div>
<p class="food-desc">Thin-shaved prime Angus ribeye marinated in pear, soy & roasted garlic. Charred caramelized kimchi & sesame aioli.</p>
<div class="food-ingredients">
<strong>Key build:</strong> Ribeye • Kimchi Kraut • Scallions • Crispy Garlic Chips
</div>
<div class="card-footer">
<div class="heat-meter">
Heat: <span class="active">🌶️</span><span class="active">🌶️</span><span>🌶️</span><span>🌶️</span>
</div>
<button class="add-btn" onclick="addToOrder('OG Bulgogi Beef Taco', 5.75)">+ Add to Tray</button>
</div>
</div>
<!-- Item 2 -->
<div class="food-card">
<div class="food-top">
<div class="food-title-wrap">
<h4>Kimchi Al Pastor</h4>
<span class="korean-subtitle">제육 김치 타코</span>
</div>
<span class="food-price">$5.25</span>
</div>
<p class="food-desc">Heritage pork belly braised in gochujang and charred pineapple juice. Griddled until edges are bacon-crisp with salsa macha.</p>
<div class="food-ingredients">
<strong>Key build:</strong> Pork Belly • Charred Pineapple • Gochujang • Pickled Daikon
</div>
<div class="card-footer">
<div class="heat-meter">
Heat: <span class="active">🌶️</span><span class="active">🌶️</span><span class="active">🌶️</span><span>🌶️</span>
</div>
<button class="add-btn" onclick="addToOrder('Kimchi Al Pastor', 5.25)">+ Add to Tray</button>
</div>
</div>
<!-- Item 3 -->
<div class="food-card">
<span class="card-popular-tag">CRUNCH MONSTER</span>
<div class="food-top">
<div class="food-title-wrap">
<h4>K-Town Hot Chicken Taco</h4>
<span class="korean-subtitle">양념 치킨 타코</span>
</div>
<span class="food-price">$5.50</span>
</div>
<p class="food-desc">Double-fried crispy chicken thigh tossed in sticky sweet gochujang chili honey glaze, crowned with yuzu cabbage slaw.</p>
<div class="food-ingredients">
<strong>Key build:</strong> Double-Dipped Thigh • Sweet Honey Chili • Crushed Peanuts • Pickled Jalapeño
</div>
<div class="card-footer">
<div class="heat-meter">
Heat: <span class="active">🌶️</span><span class="active">🌶️</span><span class="active">🌶️</span><span class="active">🌶️</span>
</div>
<button class="add-btn" onclick="addToOrder('K-Town Hot Chicken', 5.50)">+ Add to Tray</button>
</div>
</div>
<!-- Item 4 -->
<div class="food-card">
<div class="food-top">
<div class="food-title-wrap">
<h4>Loco Kimchi Loaded Fries</h4>
<span class="korean-subtitle">김치 치즈 프라이즈</span>
</div>
<span class="food-price">$11.50</span>
</div>
<p class="food-desc">Double-crisped beer battered fries piled high with chopped bulgogi, warm queso blanco, griddled kimchi, crema, and a sunny quail egg.</p>
<div class="food-ingredients">
<strong>Key build:</strong> Crisp Fries • Ribeye Bits • Melted Jack • Kimchi Lava • Cilantro
</div>
<div class="card-footer">
<div class="heat-meter">
Heat: <span class="active">🌶️</span><span class="active">🌶️</span><span>🌶️</span><span>🌶️</span>
</div>
<button class="add-btn" onclick="addToOrder('Loco Loaded Fries', 11.50)">+ Add to Tray</button>
</div>
</div>
<!-- Item 5 -->
<div class="food-card">
<div class="food-top">
<div class="food-title-wrap">
<h4>Gochugaru Street Elote</h4>
<span class="korean-subtitle">마약 옥수수 콘</span>
</div>
<span class="food-price">$6.00</span>
</div>
<p class="food-desc">Roasted sweet corn sheared off the cob, tossed with Kewpie mayo, toasted sesame, lime juice, cotija, and fiery Korean sun-dried gochugaru.</p>
<div class="food-ingredients">
<strong>Key build:</strong> Sweet Corn • Kewpie • Lime Zest • Cotija • Korean Chili Flakes
</div>
<div class="card-footer">
<div class="heat-meter">
Heat: <span class="active">🌶️</span><span>🌶️</span><span>🌶️</span><span>🌶️</span>
</div>
<button class="add-btn" onclick="addToOrder('Gochugaru Elote', 6.00)">+ Add to Tray</button>
</div>
</div>
<!-- Item 6 -->
<div class="food-card">
<div class="food-top">
<div class="food-title-wrap">
<h4>Yuzu Horchata Slush</h4>
<span class="korean-subtitle">유자 오르차타</span>
</div>
<span class="food-price">$4.75</span>
</div>
<p class="food-desc">Traditional cinnamon rice milk spiked with wild Korean citron honey jam and crushed ice. The ultimate firefighter for your tongue.</p>
<div class="food-ingredients">
<strong>Key build:</strong> Rice Milk • Ceylon Cinnamon • Yuzu Marmalade • Condensed Cream
</div>
<div class="card-footer">
<div class="heat-meter">
Cooling: ❄️❄️❄️
</div>
<button class="add-btn" onclick="addToOrder('Yuzu Horchata Slush', 4.75)">+ Add to Tray</button>
</div>
</div>
</div>
</section>
<!-- Live Truck Tracker Section -->
<section class="tracker-section" id="tracker">
<div class="tracker-box">
<div class="tracker-content">
<div>
<div class="tracker-current-badge">
<span class="live-dot"></span> LIVE GPS PING ACTIVE
</div>
<h3>Where The Truck At?</h3>
<p class="tracker-location-name">Arts District Brewery Row</p>
<p class="tracker-address">📍 924 E 2nd St, Los Angeles, CA 90012</p>
<div class="tracker-stats-grid">
<div class="tstat-card">
<span>Current Wait Time</span>
<strong>~8 - 12 Mins</strong>
</div>
<div class="tstat-card">
<span>Grill Closes</span>
<strong>11:30 PM Tonight</strong>
</div>
</div>
</div>
<button class="btn-primary" style="width: 100%; justify-content: center;" onclick="alertDirections()">
🗺️ Get Turn-By-Turn Directions
</button>
</div>
<!-- Simulated Live Radar Map -->
<div class="radar-visual">
<div class="radar-grid"></div>
<div class="radar-sweep"></div>
<div class="truck-pin" onclick="alertDirections()">
<div class="pin-circle">🚚</div>
<div class="pin-label">KIMCHI LOCO #1 (HERE!)</div>
</div>
</div>
</div>
</section>
<!-- 3 Secret Sauces Feature -->
<section class="story-section">
<div class="story-card">
<span class="story-number">01</span>
<div style="font-size: 32px;">🫙</div>
<h4>Grandma's 72-Hr Kimchi</h4>
<p>We don't buy commercial buckets. Our Napa cabbage is hand-rubbed with Korean mountain chili flakes, fermented in earthenware on a slow 72-hour cycle for sharp umami tang.</p>
</div>
<div class="story-card">
<span class="story-number">02</span>
<div style="font-size: 32px;">🔥</div>
<h4>500° Cast Iron Sear</h4>
<p>Our flat-tops are seasoned like ancient woks. When that sweet soy bulgogi contacts the metal, you get caramelized crackling edges that melt directly into the tortilla.</p>
</div>
<div class="story-card">
<span class="story-number">03</span>
<div style="font-size: 32px;">🥑</div>
<h4>The Green Magic Drizzle</h4>
<p>A cult creation: Hass avocados whipped with charred serranos, Korean toasted perilla oil, lime, and crushed roasted garlic. Drizzled thick over every bite.</p>
</div>
</section>
<!-- Reviews Section -->
<section class="reviews-section">
<div class="section-header">
<span class="section-badge">❤️ Street Cred</span>
<h3 class="section-title">Word on the Asphalt</h3>
</div>
<div class="reviews-grid">
<div class="review-bubble">
<div class="stars">★★★★★</div>
<p class="review-quote">"I stood in the rain for 20 minutes outside the brewery for the Bulgogi Beast. Would have waited an hour. The crunch of that caramelized kimchi with the beef is criminal."</p>
<div class="reviewer">
<strong>Marcus T.</strong> • Arts District Local
</div>
</div>
<div class="review-bubble">
<div class="stars">★★★★★</div>
<p class="review-quote">"The K-Town hot chicken taco made me question every other taco I've eaten in my life. The sweetness of honey gochujang and the yuzu cabbage is absolute perfection."</p>
<div class="reviewer">
<strong>Elena R.</strong> • Verified Foodie
</div>
</div>
<div class="review-bubble">
<div class="stars">★★★★★</div>
<p class="review-quote">"Do NOT skip the Kimchi Fries. They give you enough bulgogi and cheese to feed a family. Best late night drunk food in the entire city hands down."</p>
<div class="reviewer">
<strong>Dave K.</strong> • Night Owl
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer>
<div class="footer-logo">KIMCHI LOCO TACO TRUCK</div>
<p class="footer-sub">Born in East L.A. • Inspired by the night markets of Seoul • Feeding hungry souls until the flat-top cools off.</p>
<div class="footer-links">
<a href="#menu">Full Menu</a>
<a href="#tracker">Truck Radar</a>
<a href="javascript:void(0)" onclick="cateringAlert()">Catering & Events</a>
<a href="javascript:void(0)" onclick="crewAlert()">Join The Crew</a>
</div>
<p class="copyright">© 2025 Kimchi Loco Food Truck Co. Made with 100% Street Love & Fermented Fire.</p>
</footer>
<!-- Floating Sticky Tray / Order Bar -->
<div class="order-bar" id="orderBar">
<div class="cart-bubble" id="trayCount">0</div>
<div class="cart-details">
<strong id="trayTitle">Your Taco Tray</strong>
<span id="trayPrice">$0.00 Total</span>
</div>
<button class="cart-checkout-btn" onclick="openCheckoutModal()">Pickup Order ➔</button>
</div>
<!-- Interactive Order Modal -->
<div class="modal-overlay" id="checkoutModal">
<div class="modal-card">
<button class="modal-close" onclick="closeCheckoutModal()">✕</button>
<div style="font-size: 44px; margin-bottom: 10px;">🚚💨</div>
<h3>Tray Ready For Pickup!</h3>
<p style="color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px;">
Pick it up piping hot at our window in <strong style="color:#fff;">10-15 minutes</strong> at Arts District (E 4th & Hewitt).
</p>
<div id="modalOrderSummary" style="background: #10121a; border-radius: 14px; padding: 14px; text-align: left; margin-bottom: 20px; max-height: 140px; overflow-y: auto; font-size: 0.85rem;">
<!-- Items inserted via JS -->
</div>
<button class="btn-primary" style="width: 100%; justify-content: center; padding: 14px;" onclick="confirmOrderSuccess()">
Confirm Pickup ($<span id="modalTotal">0.00</span>)
</button>
</div>
</div>
<script>
// --- Craving Engine Data ---
const moodData = {
bulgogi: {
icon: "🥩",
title: "The O.G. Bulgogi Beast Taco",
desc: "48-hour sweet soy & garlic marinated ribeye, quick-charred over high griddle heat, topped with 72-hour fermented spicy kimchi, cilantro-scallion chimichurri & roasted sesame.",
spicy: "Spiciness: 🌶️🌶️ (Sweet & savory kick)",
price: "$5.75",
name: "OG Bulgogi Beef Taco",
numPrice: 5.75
},
crispy: {
icon: "🍗",
title: "K-Town Sticky Hot Chicken",
desc: "Ultra-crispy double-dredged chicken thigh tossed in honey-gochujang glaze with pickled yellow daikon radish and roasted peanut dust.",
spicy: "Spiciness: 🌶️🌶️🌶️ (Crisp fire)",
price: "$5.50",
name: "K-Town Hot Chicken",
numPrice: 5.50
},
loaded: {
icon: "🍟",
title: "Loaded Kimchi Cheese Fries",
desc: "Golden hot fries showered with warm queso blanco, griddled ribeye shreds, deeply caramelized kimchi, and scallion crema sauce.",
spicy: "Spiciness: 🌶️🌶️ (Ultimate comfort)",
price: "$11.50",
name: "Loco Loaded Fries",
numPrice: 11.50
},
plant: {
icon: "🌱",
title: "Gochujang Crispy Tofu & Mushroom",
desc: "Glazed King Oyster mushroom and charred sesame-marinated crispy tofu steaks with tangy lime slaw and avocado verde salsa.",
spicy: "Spiciness: 🌶️🌶️ (Bold & Earthy)",
price: "$5.25",
name: "Plant-Powered Loco Taco",
numPrice: 5.25
}
};
let currentMood = 'bulgogi';
// Set up Mood Selector click listeners
const moodButtons = document.querySelectorAll('.mood-btn');
moodButtons.forEach(btn => {
btn.addEventListener('click', () => {
moodButtons.forEach(b => b.classList.remove('active'));
btn.classList.add('active');
const moodKey = btn.dataset.mood;
currentMood = moodKey;
const d = moodData[moodKey];
const matchCard = document.getElementById('matchCard');
matchCard.style.opacity = '0.4';
matchCard.style.transform = 'scale(0.98)';
setTimeout(() => {
document.getElementById('matchIcon').textContent = d.icon;
document.getElementById('matchTitle').textContent = d.title;
document.getElementById('matchDesc').textContent = d.desc;
document.getElementById('matchSpicy').textContent = d.spicy;
document.getElementById('matchPrice').textContent = d.price;
matchCard.style.opacity = '1';
matchCard.style.transform = 'scale(1)';
}, 150);
});
});
// --- Tray & Order Management ---
let orderTray = [];
function addToOrder(itemName, price) {
orderTray.push({ name: itemName, price: price });
updateTrayUI();
playSizzlePip();
}
function quickAddCurrentMatch() {
const item = moodData[currentMood];
addToOrder(item.name, item.numPrice);
}
function updateTrayUI() {
const orderBar = document.getElementById('orderBar');
const countEl = document.getElementById('trayCount');
const priceEl = document.getElementById('trayPrice');
if (orderTray.length > 0) {
orderBar.classList.add('show');
countEl.textContent = orderTray.length;
const total = orderTray.reduce((acc, curr) => acc + curr.price, 0);
priceEl.textContent = `$${total.toFixed(2)} Total`;
} else {
orderBar.classList.remove('show');
}
}
function openCheckoutModal() {
const modal = document.getElementById('checkoutModal');
const summaryList = document.getElementById('modalOrderSummary');
const totalEl = document.getElementById('modalTotal');
if (orderTray.length === 0) return;
const total = orderTray.reduce((acc, curr) => acc + curr.price, 0);
totalEl.textContent = total.toFixed(2);
// Render summary
summaryList.innerHTML = orderTray.map(item => `
<div style="display:flex; justify-content:space-between; margin-bottom:6px; color:#fff;">
<span>🌮 ${item.name}</span>
<span style="color:var(--accent-yellow)">$${item.price.toFixed(2)}</span>
</div>
`).join('');
modal.classList.add('active');
}
function closeCheckoutModal() {
document.getElementById('checkoutModal').classList.remove('active');
}
function confirmOrderSuccess() {
const modal = document.getElementById('checkoutModal');
modal.innerHTML = `
<div class="modal-card">
<div style="font-size: 54px; margin-bottom: 12px;">🔥🎉</div>
<h3 style="font-family: var(--font-display); color: var(--accent-lime);">ORDER RECEIVED!</h3>
<p style="color:#fff; font-size:1.05rem; margin: 12px 0;">Order #88 is sizzling on the flat-top.</p>
<p style="color:var(--text-muted); font-size:0.85rem; margin-bottom:24px;">See you at 924 E 2nd St in 12 minutes. Bring your appetite!</p>
<button class="btn-primary" style="margin: 0 auto;" onclick="location.reload()">Back To Menu</button>
</div>
`;
}
function scrollToMenu() {
const el = document.getElementById('menu');
if (el) el.scrollIntoView({ behavior: 'smooth' });
}
function alertDirections() {
window.open('https://maps.google.com/?q=Arts+District+Los+Angeles', '_blank');
}
function cateringAlert() {
alert("🌮 Kimchi Loco Catering: We pull up to weddings, shoots, and block parties! Reach out at tacos@kimchilocotruck.com");
}
function crewAlert() {
alert("🔥 We're hiring line cooks & truck drivers who love good vibes and high heat. Drop your info at the window tonight!");
}
// --- Web Audio Synthetic Griddle Sizzle ---
let audioCtx = null;
let sizzleNode = null;
let isSizzling = false;
function toggleSizzleSound() {
const btn = document.getElementById('sizzleAudioBtn');
if (!audioCtx) {
audioCtx = new (window.AudioContext || window.webkitAudioContext)();
}
if (!isSizzling) {
if (audioCtx.state === 'suspended') {
audioCtx.resume();
}
startSizzleAudio();
isSizzling = true;
btn.classList.add('active');
btn.innerHTML = `<span>🔥</span> Griddle Sizzling... (Stop)`;
} else {
stopSizzleAudio();
isSizzling = false;
btn.classList.remove('active');
btn.innerHTML = `<span>🔊</span> Sizzle Audio`;
}
}
function startSizzleAudio() {
// Procedural pink/white noise synthesis through resonant filters for realistic pan fry sound
const bufferSize = audioCtx.sampleRate * 2;
const buffer = audioCtx.createBuffer(1, bufferSize, audioCtx.sampleRate);
const data = buffer.getChannelData(0);
let lastOut = 0.0;
for (let i = 0; i < bufferSize; i++) {
const white = Math.random() * 2 - 1;
// Mild brown-pink filtration
data[i] = (lastOut + (0.02 * white)) / 1.02;
lastOut = data[i];
data[i] *= 2.2;
}
const noise = audioCtx.createBufferSource();
noise.buffer = buffer;
noise.loop = true;
// Bandpass filter to isolate sizzling frequencies
const filter = audioCtx.createBiquadFilter();
filter.type = 'bandpass';
filter.frequency.value = 2400;
filter.Q.value = 0.6;
const gain = audioCtx.createGain();
gain.gain.value = 0.35;
noise.connect(filter);
filter.connect(gain);
gain.connect(audioCtx.destination);
noise.start();
sizzleNode = { source: noise, gain: gain };
}
function stopSizzleAudio() {
if (sizzleNode) {
sizzleNode.source.stop();
sizzleNode = null;
}
}
// Little pop sound on adding taco to tray
function playSizzlePip() {
try {
if (!audioCtx) {
audioCtx = new (window.AudioContext || window.webkitAudioContext)();
}
if (audioCtx.state === 'suspended') audioCtx.resume();
const osc = audioCtx.createOscillator();
const g = audioCtx.createGain();
osc.type = 'sine';
osc.frequency.setValueAtTime(320, audioCtx.currentTime);
osc.frequency.exponentialRampToValueAtTime(750, audioCtx.currentTime + 0.12);
g.gain.setValueAtTime(0.18, audioCtx.currentTime);
g.gain.linearRampToValueAtTime(0.01, audioCtx.currentTime + 0.12);
osc.connect(g);
g.connect(audioCtx.destination);
osc.start();
osc.stop(audioCtx.currentTime + 0.13);
} catch (e) {
// Audio policy quiet fallback
}
}
document.getElementById('sizzleAudioBtn').addEventListener('click', toggleSizzleSound);
// Click interactive taco to bounce & pip
const heroTaco = document.getElementById('heroTacoStage');
heroTaco.addEventListener('click', () => {
heroTaco.style.transform = 'scale(0.92) rotate(-5deg)';
setTimeout(() => {
heroTaco.style.transform = 'scale(1.05) rotate(4deg)';
setTimeout(() => {
heroTaco.style.transform = 'none';
}, 180);
}, 100);
playSizzlePip();
});
</script>
</body>
</html>Reasoning trace (1,055 tokens)
**Designing a Website** I'm focusing on the visual appeal of "Kimchi Loco's" website, specifically its street food aesthetic. I'm exploring a vibrant color palette: fiery reds, electric neon yellow/lime, deep charred charcoal black, and warm sesame gold. It's all about conveying that bold Korean-Mexican fusion, with some street grit and neon sign vibes. **Developing Interactive Features** I'm now diving into interactive elements! A live "Truck Tracker" will show real-time location. Plus, I'm conceptualizing a "Build-Your-Bite" customizer, and a spice quiz. Also, I plan a "Sizzle Reel" with animations and audio effects and a review ticker with dynamic photo cards. Finally, a simulated "Get in Line" feature will also be included. I'm focusing on user engagement! **Refining the Color Palette** I've been honing the color palette, focusing on deeper, nocturnal street blacks like `#0c0c0e` and `#16161a`. I'm using fiery gochujang reds (`#ff2a4b`, `#e60026`) and electric masa yellow (`#ffcc00`) along with a fresh cilantro lime neon (`#22e085`) for contrast. Charcoal slate and warm off-white provide a crispy texture. I'm imagining a glitchy neon "KIMCHI LOCO" headline with the "Seoul Soul meets L.A. Street Heat" tagline. **Planning the Menu** I'm expanding the menu concepts: Salsa verde and sesame crema are now definite, with crispy shallots for a Pork Carnitas taco. I'm excited about the K-Town Nashville Hot Chicken, and Loco Loaded Kimchi Fries. Also, the Elote Corn Dog and Yuzu Horchata drinks are set. I'm still figuring out how to showcase the food visuals!