## Background
Variant C's key differentiator is a heart burst animation triggered by tapping the badge. This task covers building and tuning the animation, and making an explicit decision on whether hearts scatter with randomized colors. That decision affects whether the animation stays surprising on repeat taps – central to the re-engagement loop hypothesis.
The designs show: multiple red heart SVGs of varying sizes radiating outward from the badge icon across the full viewport, with hearts fading out as they travel.
### Goal
An animation that feels celebratory on first tap and still feels worth triggering on return visits, built without degrading article page performance.
### Requirements
- Tapping the badge triggers the heart burst animation (variant C only).
- Hearts vary in color (tbd) scatter in different directions.
- Animation replays on every tap, including in return sessions.
- Page stays interactive during playback.
- Evaluate whether randomized colors produce a meaningfully better experience than fixed ones, and document the decision.
#### Technical
- CSS keyframes + JS orchestration only. No animation libraries.
- Heart elements created dynamically in JS, appended to `<body>`, removed from DOM after animation finishes. No leftover nodes.
- Target duration: 800–1200ms. Hearts start fading around 600ms.
- Animated hearts must be `position: absolute` relative to viewport. No layout shift.
- Use `requestAnimationFrame` for orchestration. No synchronous style reads inside the loop.
- Randomness evaluation: evaluate random approach and then test at minimum two approaches and assess which feels more delightful on repeat interaction. Document outcome in task comments before closing.
- After animation, the variant C "Hide badge" pill button must appear automatically.
### Acceptance Criteria for Done
[] Tapping badge fires heart burst animation: hearts of varied sizes radiate outward from the badge and fade within ~1000ms.
[] Animation replays on every tap across all sessions.
[] Heart elements removed from DOM after animation completes (no leftover nodes).
[] @Sneha tbd "Hide badge" pill button appears bottom-center after animation ends.
[] CLS delta < 0.01 with animation playing (Lighthouse or equivalent).
[] No long tasks on the main thread during animation (verified via Performance panel).
[] Randomness evaluation completed and decision documented in task comments.
[] Renders correctly on Chrome Android (mid-range device) and Safari iOS.
[] Design sign-off on animation feel.