// SlotsBadge — editorial "limited edition" ticker.
// Looks like a luxury certificate / serial stamp: corner brackets, monospace ticker,
// prominent "02" filled + "02" outlined numerals, diagonal slash detail.
function SlotsBadge({ lang }) {
const t = (de, pl) => lang === 'de' ? de : pl;
return (
{/* Corner brackets — hand-stamped certificate feel */}
{/* Animated gold sweep */}
{/* LIVE red dot */}
LIVE
{/* Vertical divider */}
{/* Big serial-style numeral: 02 / 04 */}
02
/
04
{/* Label stack */}
{t('Plätze verfügbar','Wolne miejsca')}
{t('Q1·2025 Sonderpreis','Q1·2025 Oferta')}
);
}
function Bracket({ pos }) {
const size = 8;
const color = 'rgba(212,175,55,.7)';
const thick = 1.5;
const common = { position: 'absolute', width: size, height: size, zIndex: 3 };
const styles = {
tl: { ...common, top: 4, left: 4, borderTop: `${thick}px solid ${color}`, borderLeft: `${thick}px solid ${color}` },
tr: { ...common, top: 4, right: 4, borderTop: `${thick}px solid ${color}`, borderRight: `${thick}px solid ${color}` },
bl: { ...common, bottom: 4, left: 4, borderBottom: `${thick}px solid ${color}`, borderLeft: `${thick}px solid ${color}` },
br: { ...common, bottom: 4, right: 4, borderBottom: `${thick}px solid ${color}`, borderRight: `${thick}px solid ${color}` },
};
return ;
}
window.SlotsBadge = SlotsBadge;