From e77235af6e36f82dec4113b0dc62c0915901bd41 Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Mon, 16 Feb 2026 19:48:58 +0000 Subject: [PATCH] verson 2.1 --- index.php | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index fe9ea49..46ec9b9 100644 --- a/index.php +++ b/index.php @@ -207,11 +207,12 @@ $facebook_link = "https://www.facebook.com/profile.php?id=61587890927489"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; - transition: opacity 0.5s ease; + transition: color 0.05s ease, transform 0.05s ease, text-shadow 0.05s ease, opacity 0.5s ease; color: #fff; text-shadow: 0 0 15px var(--primary-color), 0 0 30px rgba(0,0,0,0.5); display: block; margin-top: 0.2rem; + will-change: color, transform, text-shadow; } .track-label { @@ -943,6 +944,13 @@ $facebook_link = "https://www.facebook.com/profile.php?id=61587890927489"; // Intense scale boost for the card const cardScale = 1 + (average / 255) * 0.04; document.querySelector('.glass-card').style.transform = `translate(var(--shake-offset-x), var(--shake-offset-y)) scale(${cardScale})`; + + // Aggressive title effect + if (trackTitle) { + trackTitle.style.color = '#ff0000'; + trackTitle.style.textShadow = '0 0 20px #ff0000, 0 0 40px #ff0000'; + trackTitle.style.transform = `scale(${1 + (average / 255) * 0.12})`; + } } else { const dominantHue = (average * 2 + colorOffset) % 360; document.documentElement.style.setProperty('--dynamic-glow', `hsla(${dominantHue}, 100%, 60%, 0.8)`); @@ -950,6 +958,12 @@ $facebook_link = "https://www.facebook.com/profile.php?id=61587890927489"; document.documentElement.style.setProperty('--shake-offset-x', '0px'); document.documentElement.style.setProperty('--shake-offset-y', '0px'); document.querySelector('.glass-card').style.transform = ''; + + if (trackTitle) { + trackTitle.style.color = ''; + trackTitle.style.textShadow = ''; + trackTitle.style.transform = ''; + } } }