Exploding like buttonOne-line
Gemini 4 Argon
by Googlereasoning defaultClean
Running live in a sandboxed frame. Click inside it before using the keyboard.
How it went
- Total time
- 2 min 28 s
- Cost
- $0.117
- Output tokens
- 11,582
- Spent thinking
- 0 tokens
- Speed
- 80 tok/s
- Console errors
- 0
- First token after
- 2.8 s
- First visible text after
- 2.8 s
- Prompt tokens
- 402
- Code size
- 26.3 KB
- Finish reason
- stop
- Served by
- Model id
google/gemini-4-argon- Reasoning sent
model default- Max output
- 943,718 tokens
- Generated
- Nov 12, 2026
What it was asked
The prompt
“a "like" button in pure CSS, no JavaScript, that does a crazy animation when you click it”
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 · 847 lines
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pure CSS Crazy Like Button</title>
<style>
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
:root {
--bg-color: #0b0c10;
--card-bg: #14161f;
--primary: #ff1e56;
--secondary: #ffac41;
--accent: #00f5d4;
--purple: #9b5de5;
}
body {
min-height: 100vh;
background-color: var(--bg-color);
background-image:
radial-gradient(circle at 50% 0%, #1f243a 0%, transparent 60%),
radial-gradient(circle at 50% 100%, #2a0f21 0%, transparent 60%);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
color: #ffffff;
overflow: hidden;
perspective: 1200px;
user-select: none;
}
/* Decorative background grid */
.bg-grid {
position: fixed;
inset: -50%;
background-image:
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: 40px 40px;
transform: perspective(500px) rotateX(60deg);
pointer-events: none;
z-index: 0;
}
/* Header & Badges */
.header {
position: relative;
z-index: 10;
text-align: center;
margin-bottom: 3.5rem;
pointer-events: none;
}
.badge {
display: inline-block;
padding: 0.35rem 1rem;
background: rgba(255, 30, 86, 0.15);
border: 1px solid rgba(255, 30, 86, 0.4);
border-radius: 99px;
color: #ff6b8b;
font-size: 0.75rem;
font-weight: 800;
letter-spacing: 0.15em;
text-transform: uppercase;
margin-bottom: 0.75rem;
box-shadow: 0 0 20px rgba(255, 30, 86, 0.2);
}
h1 {
font-size: clamp(1.8rem, 4vw, 2.75rem);
font-weight: 900;
letter-spacing: -0.02em;
background: linear-gradient(135deg, #fff 30%, #a5b4fc 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
/* Main Interactive Stage */
.stage {
position: relative;
z-index: 5;
display: flex;
align-items: center;
justify-content: center;
width: 320px;
height: 220px;
transform-style: preserve-3d;
}
/* Hide the checkbox */
.like-toggle {
position: absolute;
opacity: 0;
width: 0;
height: 0;
pointer-events: none;
}
/* Fullscreen Flash & Screen Shake Overlay */
.screen-fx {
position: fixed;
inset: 0;
pointer-events: none;
z-index: 1;
opacity: 0;
background: radial-gradient(circle at center, rgba(255, 30, 86, 0.35) 0%, rgba(155, 93, 229, 0.15) 40%, transparent 70%);
}
/* Prompt Tooltip */
.prompt {
position: absolute;
top: -55px;
background: linear-gradient(135deg, #ff1e56, #ffac41);
color: #fff;
font-weight: 800;
font-size: 0.85rem;
padding: 0.5rem 1.1rem;
border-radius: 12px;
letter-spacing: 0.04em;
box-shadow: 0 10px 25px rgba(255, 30, 86, 0.4);
animation: floatPrompt 2s ease-in-out infinite;
pointer-events: none;
white-space: nowrap;
transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.prompt::after {
content: '';
position: absolute;
bottom: -6px;
left: 50%;
transform: translateX(-50%) rotate(45deg);
width: 12px;
height: 12px;
background: #ff604c;
}
@keyframes floatPrompt {
0%, 100% { transform: translateY(0) scale(1); }
50% { transform: translateY(-8px) scale(1.04); }
}
/* The Button Label */
.like-btn {
position: relative;
display: flex;
align-items: center;
gap: 16px;
padding: 20px 40px;
background: linear-gradient(145deg, #1e2230, #12151f);
border-radius: 999px;
cursor: pointer;
box-shadow:
0 20px 50px rgba(0, 0, 0, 0.6),
0 0 0 2px rgba(255, 255, 255, 0.08),
inset 0 2px 4px rgba(255, 255, 255, 0.1);
transition:
transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
box-shadow 0.3s ease,
background 0.4s ease;
transform-style: preserve-3d;
z-index: 10;
}
/* Idle ambient pulse so first paint looks alive */
.like-btn::before {
content: '';
position: absolute;
inset: -4px;
border-radius: 999px;
background: linear-gradient(90deg, #ff1e56, #ffac41, #00f5d4, #9b5de5, #ff1e56);
background-size: 300% 100%;
z-index: -1;
opacity: 0.35;
filter: blur(12px);
animation: ambientGlow 6s linear infinite;
transition: opacity 0.3s ease, filter 0.3s ease;
}
@keyframes ambientGlow {
0% { background-position: 0% 50%; }
100% { background-position: 300% 50%; }
}
.like-btn:hover {
transform: translateY(-4px) scale(1.04);
box-shadow:
0 25px 60px rgba(255, 30, 86, 0.25),
0 0 0 2px rgba(255, 30, 86, 0.4),
inset 0 2px 6px rgba(255, 255, 255, 0.2);
}
.like-btn:hover::before {
opacity: 0.75;
filter: blur(16px);
}
.like-btn:active {
transform: translateY(2px) scale(0.92);
}
/* Heart SVG Wrapper */
.heart-wrapper {
position: relative;
width: 38px;
height: 38px;
display: flex;
align-items: center;
justify-content: center;
transform-style: preserve-3d;
}
.heart-svg {
width: 100%;
height: 100%;
overflow: visible;
filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}
.heart-path {
fill: rgba(255, 255, 255, 0.12);
stroke: #ff477e;
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
transition: fill 0.3s ease, stroke 0.3s ease;
transform-origin: center;
animation: idleHeartbeat 2.4s infinite ease-in-out;
}
@keyframes idleHeartbeat {
0%, 100% { transform: scale(1); }
12% { transform: scale(1.14); }
24% { transform: scale(0.96); }
36% { transform: scale(1.08); }
48% { transform: scale(1); }
}
/* Inner Heart Shine */
.heart-shine {
fill: none;
stroke: rgba(255, 255, 255, 0.6);
stroke-width: 2;
stroke-linecap: round;
opacity: 0;
}
/* Button Text & Slot Machine Counter */
.btn-content {
display: flex;
align-items: center;
gap: 14px;
font-size: 1.35rem;
font-weight: 800;
letter-spacing: 0.02em;
}
.label-text-wrap {
position: relative;
height: 1.5em;
overflow: hidden;
display: flex;
flex-direction: column;
}
.label-text {
display: block;
line-height: 1.5em;
transition: transform 0.6s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}
.label-text.liked {
background: linear-gradient(90deg, #fff, #ffe5ec);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}
.divider {
width: 2px;
height: 24px;
background: rgba(255, 255, 255, 0.12);
border-radius: 2px;
}
.counter {
display: flex;
align-items: center;
font-variant-numeric: tabular-nums;
color: #94a3b8;
transition: color 0.3s ease;
}
.digit-window {
height: 1.5em;
overflow: hidden;
display: inline-block;
}
.digit-strip {
display: flex;
flex-direction: column;
line-height: 1.5em;
transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
/* ==========================================
CRAZY EFFECTS LAYER (Hidden until clicked)
========================================== */
.fx-container {
position: absolute;
inset: 0;
pointer-events: none;
display: flex;
align-items: center;
justify-content: center;
transform-style: preserve-3d;
z-index: 2;
}
/* 1. Shockwave Rings */
.shockwave {
position: absolute;
width: 60px;
height: 60px;
border-radius: 50%;
opacity: 0;
}
.sw-1 { border: 4px solid #ff1e56; box-shadow: 0 0 30px #ff1e56, inset 0 0 30px #ff1e56; }
.sw-2 { border: 3px dashed #00f5d4; }
.sw-3 { border: 6px solid #ffac41; }
.sw-4 { border: 2px solid #9b5de5; box-shadow: 0 0 40px #9b5de5; }
/* 2. Comic Starburst Rays */
.ray {
position: absolute;
width: 6px;
height: 36px;
border-radius: 99px;
background: linear-gradient(to top, var(--primary), var(--secondary));
opacity: 0;
transform: rotate(calc(var(--i) * 22.5deg)) translateY(0) scaleY(0.2);
}
/* 3. Confetti & Sparkle Particles (24 items) */
.particle {
position: absolute;
width: 14px;
height: 14px;
opacity: 0;
border-radius: 50%;
background: var(--c, #ff1e56);
box-shadow: 0 0 12px var(--c, #ff1e56);
}
.particle.star {
clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
border-radius: 0;
width: 22px;
height: 22px;
}
.particle.diamond {
clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
border-radius: 0;
width: 18px;
height: 18px;
}
/* 4. Floating Mini Hearts */
.mini-heart {
position: absolute;
width: 26px;
height: 26px;
opacity: 0;
fill: var(--c, #ff1e56);
filter: drop-shadow(0 0 10px var(--c, #ff1e56));
}
/* 5. Comic Callout Badges */
.comic-pop {
position: absolute;
font-weight: 900;
font-style: italic;
text-transform: uppercase;
padding: 6px 14px;
border-radius: 10px;
opacity: 0;
white-space: nowrap;
box-shadow: 0 10px 25px rgba(0,0,0,0.4);
border: 2px solid #fff;
}
.pop-1 {
background: #ff1e56;
color: #fff;
font-size: 1.1rem;
--tx: -145px;
--ty: -110px;
--rot: -18deg;
}
.pop-2 {
background: #00f5d4;
color: #0b0c10;
font-size: 1rem;
--tx: 150px;
--ty: -95px;
--rot: 15deg;
}
.pop-3 {
background: #ffac41;
color: #0b0c10;
font-size: 0.95rem;
--tx: 0px;
--ty: -145px;
--rot: -5deg;
}
/* 6. Laser Pillars */
.laser {
position: absolute;
width: 4px;
height: 500px;
background: linear-gradient(to top, transparent, #00f5d4, #fff, #ff1e56, transparent);
opacity: 0;
filter: blur(1px);
}
/* =================================================================
CHECKED STATE: THE CRAZY ANIMATION CHOREOGRAPHY
================================================================= */
/* Hide initial prompt */
.like-toggle:checked ~ .prompt {
opacity: 0;
transform: translateY(-30px) scale(0.5);
}
/* Screen Flash */
.like-toggle:checked ~ .screen-fx {
animation: screenFlash 1.1s ease-out forwards;
}
@keyframes screenFlash {
0% { opacity: 0; }
12% { opacity: 1; transform: scale(1.05); }
35% { opacity: 0.4; }
100% { opacity: 0; transform: scale(1); }
}
/* Crazy 3D Button Flip, Squash, Stretch & Elastic Recoil */
.like-toggle:checked ~ .like-btn {
background: linear-gradient(135deg, #ff1e56 0%, #ff5e62 50%, #ff9966 100%);
box-shadow:
0 20px 60px rgba(255, 30, 86, 0.65),
0 0 0 3px rgba(255, 255, 255, 0.4),
inset 0 3px 8px rgba(255, 255, 255, 0.5);
animation: crazyButtonRide 1.15s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.like-toggle:checked ~ .like-btn::before {
opacity: 0.9;
filter: blur(22px);
animation: ambientGlow 2s linear infinite;
}
@keyframes crazyButtonRide {
0% {
transform: scale(1) rotate3d(0, 0, 0, 0deg);
}
12% {
/* Extreme anticipation squash */
transform: scale(0.62, 1.35) translateY(15px) rotateZ(-8deg);
}
28% {
/* Explosive jump + 3D barrel roll */
transform: translateY(-55px) scale(1.38, 0.82) rotateX(360deg) rotateZ(12deg);
}
45% {
/* Mid-air spin & stretch */
transform: translateY(-20px) scale(0.88, 1.18) rotateY(360deg) rotateZ(-10deg);
}
62% {
/* Heavy landing impact */
transform: translateY(12px) scale(1.18, 0.86) rotateZ(5deg);
}
78% {
transform: translateY(-6px) scale(0.95, 1.05) rotateZ(-2deg);
}
90% {
transform: translateY(2px) scale(1.03, 0.98) rotateZ(1deg);
}
100% {
transform: translateY(0) scale(1) rotate3d(0, 0, 0, 0deg);
}
}
/* Heart SVG Detach & Hyper Spin */
.like-toggle:checked ~ .like-btn .heart-path {
fill: #ffffff;
stroke: #ffffff;
animation: crazyHeartPop 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.like-toggle:checked ~ .like-btn .heart-shine {
opacity: 1;
}
@keyframes crazyHeartPop {
0% { transform: scale(1); }
15% { transform: scale(0.2) rotate(-45deg); }
35% { transform: scale(2.3) rotate(25deg); filter: drop-shadow(0 0 25px #fff); }
55% { transform: scale(0.75) rotate(-15deg); }
75% { transform: scale(1.35) rotate(8deg); }
90% { transform: scale(0.92) rotate(-3deg); }
100% { transform: scale(1.1) rotate(0deg); filter: drop-shadow(0 4px 12px rgba(255,255,255,0.6)); }
}
/* Text & Counter Roll */
.like-toggle:checked ~ .like-btn .label-text {
transform: translateY(-1.5em);
}
.like-toggle:checked ~ .like-btn .counter {
color: #ffffff;
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.like-toggle:checked ~ .like-btn .divider {
background: rgba(255, 255, 255, 0.35);
}
/* Roll "1,337" -> "1,338" with a full slot-machine spin */
.like-toggle:checked ~ .like-btn .digit-strip {
transform: translateY(-9em);
}
/* Trigger Shockwaves */
.like-toggle:checked ~ .fx-container .sw-1 {
animation: shockwaveExpand 0.85s 0.12s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.like-toggle:checked ~ .fx-container .sw-2 {
animation: shockwaveSpin 1.05s 0.18s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.like-toggle:checked ~ .fx-container .sw-3 {
animation: shockwaveExpand 0.95s 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.like-toggle:checked ~ .fx-container .sw-4 {
animation: shockwaveOval 1.1s 0.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes shockwaveExpand {
0% { transform: scale(0.2); opacity: 1; border-width: 15px; }
70% { opacity: 0.8; }
100% { transform: scale(6.5); opacity: 0; border-width: 0px; }
}
@keyframes shockwaveSpin {
0% { transform: scale(0.3) rotate(0deg); opacity: 1; border-width: 8px; }
100% { transform: scale(7.2) rotate(180deg); opacity: 0; border-width: 1px; }
}
@keyframes shockwaveOval {
0% { transform: scale(0.2, 0.1) rotate(-25deg); opacity: 1; }
100% { transform: scale(8.5, 3.2) rotate(15deg); opacity: 0; }
}
/* Trigger 16 Starburst Rays */
.like-toggle:checked ~ .fx-container .ray {
animation: rayShoot 0.75s 0.14s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes rayShoot {
0% {
opacity: 1;
transform: rotate(calc(var(--i) * 22.5deg)) translateY(0px) scaleY(0.2);
}
45% {
opacity: 1;
transform: rotate(calc(var(--i) * 22.5deg)) translateY(-130px) scaleY(1.6);
}
100% {
opacity: 0;
transform: rotate(calc(var(--i) * 22.5deg)) translateY(-220px) scaleY(0.1);
}
}
/* Trigger 24 Confetti & Sparkle Particles */
.like-toggle:checked ~ .fx-container .particle {
animation: particleExplode 1.15s calc(0.1s + var(--d, 0s)) cubic-bezier(0.12, 0.8, 0.24, 1) forwards;
}
@keyframes particleExplode {
0% {
opacity: 1;
transform: translate3d(0, 0, 0) scale(0) rotate(0deg);
}
20% {
opacity: 1;
transform: translate3d(calc(var(--tx) * 0.45), calc(var(--ty) * 0.45), 60px) scale(var(--s, 1.3)) rotate(140deg);
}
75% {
opacity: 1;
}
100% {
opacity: 0;
transform: translate3d(var(--tx), calc(var(--ty) + 55px), -40px) scale(0) rotate(520deg);
}
}
/* Trigger Floating Mini Hearts */
.like-toggle:checked ~ .fx-container .mini-heart {
animation: heartFloatUp 1.35s calc(0.12s + var(--d, 0s)) cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes heartFloatUp {
0% {
opacity: 0;
transform: translate(0, 0) scale(0) rotate(0deg);
}
20% {
opacity: 1;
transform: translate(calc(var(--hx) * 0.4), calc(var(--hy) * 0.4)) scale(var(--hs, 1.25)) rotate(var(--hr));
}
80% {
opacity: 0.9;
}
100% {
opacity: 0;
transform: translate(var(--hx), calc(var(--hy) - 70px)) scale(0.2) rotate(calc(var(--hr) * -1.5));
}
}
/* Trigger Comic Callouts */
.like-toggle:checked ~ .fx-container .comic-pop {
animation: comicBurst 1.25s calc(0.16s + var(--d, 0s)) cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes comicBurst {
0% {
opacity: 0;
transform: translate(0, 0) scale(0) rotate(0deg);
}
30% {
opacity: 1;
transform: translate(var(--tx), var(--ty)) scale(1.2) rotate(var(--rot));
}
65% {
opacity: 1;
transform: translate(var(--tx), calc(var(--ty) - 12px)) scale(1) rotate(var(--rot));
}
100% {
opacity: 0;
transform: translate(var(--tx), calc(var(--ty) - 45px)) scale(0.4) rotate(0deg);
}
}
/* Trigger Laser Crosshair */
.like-toggle:checked ~ .fx-container .laser {
animation: laserFlash 0.6s 0.1s ease-out forwards;
}
@keyframes laserFlash {
0% { opacity: 0; transform: rotate(var(--r)) scaleY(0) scaleX(3); }
30% { opacity: 1; transform: rotate(var(--r)) scaleY(1.2) scaleX(1.5); }
100% { opacity: 0; transform: rotate(var(--r)) scaleY(1.6) scaleX(0); }
}
/* Footer hint */
.footer-hint {
position: relative;
z-index: 10;
margin-top: 3.5rem;
color: #64748b;
font-size: 0.9rem;
text-align: center;
pointer-events: none;
}
.footer-hint span {
color: #94a3b8;
font-weight: 600;
}
@media (max-width: 480px) {
.like-btn {
padding: 16px 30px;
}
.btn-content {
font-size: 1.15rem;
}
.pop-1 { --tx: -95px; --ty: -105px; font-size: 0.9rem; }
.pop-2 { --tx: 95px; --ty: -95px; font-size: 0.85rem; }
}
</style>
</head>
<body>
<div class="bg-grid"></div>
<header class="header">
<div class="badge">Zero JavaScript • 100% Pure CSS</div>
<h1>Supercharged Like Button</h1>
</header>
<main class="stage">
<!-- Pure CSS State Toggle -->
<input type="checkbox" id="like-toggle" class="like-toggle" aria-label="Like button">
<!-- Fullscreen Flash Overlay -->
<div class="screen-fx"></div>
<!-- Floating Call to Action -->
<div class="prompt">Click me for madness!</div>
<!-- Crazy Particle & Shockwave Engine -->
<div class="fx-container" aria-hidden="true">
<!-- Lasers -->
<div class="laser" style="--r: 45deg;"></div>
<div class="laser" style="--r: -45deg;"></div>
<div class="laser" style="--r: 90deg;"></div>
<!-- Shockwave Rings -->
<div class="shockwave sw-1"></div>
<div class="shockwave sw-2"></div>
<div class="shockwave sw-3"></div>
<div class="shockwave sw-4"></div>
<!-- 16 Radial Starburst Rays -->
<div class="ray" style="--i: 0;"></div>
<div class="ray" style="--i: 1;"></div>
<div class="ray" style="--i: 2;"></div>
<div class="ray" style="--i: 3;"></div>
<div class="ray" style="--i: 4;"></div>
<div class="ray" style="--i: 5;"></div>
<div class="ray" style="--i: 6;"></div>
<div class="ray" style="--i: 7;"></div>
<div class="ray" style="--i: 8;"></div>
<div class="ray" style="--i: 9;"></div>
<div class="ray" style="--i: 10;"></div>
<div class="ray" style="--i: 11;"></div>
<div class="ray" style="--i: 12;"></div>
<div class="ray" style="--i: 13;"></div>
<div class="ray" style="--i: 14;"></div>
<div class="ray" style="--i: 15;"></div>
<!-- 20 Explosive Confetti, Stars & Diamonds -->
<div class="particle star" style="--tx: -190px; --ty: -150px; --c: #ff1e56; --s: 1.5; --d: 0.02s;"></div>
<div class="particle diamond" style="--tx: -230px; --ty: -40px; --c: #00f5d4; --s: 1.3; --d: 0.05s;"></div>
<div class="particle" style="--tx: -180px; --ty: 90px; --c: #ffac41; --s: 1.2; --d: 0.01s;"></div>
<div class="particle star" style="--tx: -110px; --ty: 160px; --c: #9b5de5; --s: 1.6; --d: 0.07s;"></div>
<div class="particle" style="--tx: -60px; --ty: -200px; --c: #00bbf9; --s: 1.4; --d: 0.03s;"></div>
<div class="particle diamond" style="--tx: 60px; --ty: -210px; --c: #fee440; --s: 1.5; --d: 0.04s;"></div>
<div class="particle star" style="--tx: 175px; --ty: -160px; --c: #ff1e56; --s: 1.7; --d: 0.01s;"></div>
<div class="particle" style="--tx: 235px; --ty: -60px; --c: #00f5d4; --s: 1.3; --d: 0.06s;"></div>
<div class="particle diamond" style="--tx: 210px; --ty: 75px; --c: #ffac41; --s: 1.4; --d: 0.02s;"></div>
<div class="particle star" style="--tx: 130px; --ty: 165px; --c: #f15bb5; --s: 1.5; --d: 0.08s;"></div>
<div class="particle" style="--tx: 0px; --ty: 190px; --c: #00f5d4; --s: 1.2; --d: 0.05s;"></div>
<div class="particle star" style="--tx: -140px; --ty: -95px; --c: #fee440; --s: 1.3; --d: 0.09s;"></div>
<div class="particle diamond" style="--tx: 140px; --ty: -100px; --c: #9b5de5; --s: 1.4; --d: 0.03s;"></div>
<div class="particle" style="--tx: -210px; --ty: 25px; --c: #ff1e56; --s: 1.1; --d: 0.04s;"></div>
<div class="particle star" style="--tx: 220px; --ty: 15px; --c: #fee440; --s: 1.5; --d: 0.07s;"></div>
<div class="particle" style="--tx: -95px; --ty: -165px; --c: #f15bb5; --s: 1.2; --d: 0.02s;"></div>
<div class="particle diamond" style="--tx: 110px; --ty: -175px; --c: #00f5d4; --s: 1.3; --d: 0.06s;"></div>
<div class="particle" style="--tx: -155px; --ty: 140px; --c: #00bbf9; --s: 1.4; --d: 0.05s;"></div>
<div class="particle star" style="--tx: 165px; --ty: 130px; --c: #ff1e56; --s: 1.4; --d: 0.03s;"></div>
<div class="particle diamond" style="--tx: 0px; --ty: -235px; --c: #ffac41; --s: 1.6; --d: 0.01s;"></div>
<!-- 8 Floating Mini Hearts -->
<svg class="mini-heart" viewBox="0 0 24 24" style="--hx: -165px; --hy: -130px; --hr: -25deg; --hs: 1.4; --c: #ff1e56; --d: 0.05s;">
<path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/>
</svg>
<svg class="mini-heart" viewBox="0 0 24 24" style="--hx: 170px; --hy: -125px; --hr: 28deg; --hs: 1.3; --c: #ff477e; --d: 0.1s;">
<path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/>
</svg>
<svg class="mini-heart" viewBox="0 0 24 24" style="--hx: -85px; --hy: -175px; --hr: -15deg; --hs: 1.1; --c: #ffac41; --d: 0.15s;">
<path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/>
</svg>
<svg class="mini-heart" viewBox="0 0 24 24" style="--hx: 95px; --hy: -170px; --hr: 18deg; --hs: 1.25; --c: #00f5d4; --d: 0.08s;">
<path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/>
</svg>
<svg class="mini-heart" viewBox="0 0 24 24" style="--hx: -195px; --hy: -20px; --hr: -35deg; --hs: 1.15; --c: #9b5de5; --d: 0.12s;">
<path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/>
</svg>
<svg class="mini-heart" viewBox="0 0 24 24" style="--hx: 195px; --hy: -25px; --hr: 35deg; --hs: 1.2; --c: #ff1e56; --d: 0.14s;">
<path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/>
</svg>
<!-- Comic Pop Callouts -->
<div class="comic-pop pop-1" style="--d: 0.05s;">OMEGA LIKE!</div>
<div class="comic-pop pop-2" style="--d: 0.12s;">+1 UP!</div>
<div class="comic-pop pop-3" style="--d: 0.18s;">CRITICAL HIT!</div>
</div>
<!-- The Interactive Button -->
<label for="like-toggle" class="like-btn">
<div class="heart-wrapper">
<svg class="heart-svg" viewBox="0 0 24 24">
<path class="heart-path" d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/>
<path class="heart-shine" d="M6.5 6.5C5.5 7.2 5 8.3 5 9.5"/>
</svg>
</div>
<div class="btn-content">
<div class="label-text-wrap">
<span class="label-text">Like</span>
<span class="label-text liked">Liked!</span>
</div>
<div class="divider"></div>
<div class="counter">
<span>1,33</span>
<span class="digit-window">
<span class="digit-strip">
<span>7</span>
<span>8</span>
<span>9</span>
<span>0</span>
<span>1</span>
<span>2</span>
<span>8</span>
</span>
</span>
</div>
</div>
</label>
</main>
<p class="footer-hint">
Click the button to toggle • Built with <span><input type="checkbox"></span> + CSS Keyframes
</p>
</body>
</html>