diff --git a/index.php b/index.php index c319890..9a3cc47 100644 --- a/index.php +++ b/index.php @@ -184,10 +184,44 @@ $facebook_link = "https://www.facebook.com/profile.php?id=61587890927489"; .now-playing { display: flex; align-items: center; - gap: 1rem; - background: rgba(0, 0, 0, 0.3); - padding: 1rem; + gap: 1.2rem; + background: rgba(255, 255, 255, 0.05); + padding: 1.2rem; + border-radius: 20px; + border: 1px solid rgba(255, 255, 255, 0.1); + box-shadow: inset 0 0 15px rgba(0,0,0,0.2); + position: relative; + overflow: hidden; + } + + .track-cover-container { + width: 80px; + height: 80px; border-radius: 12px; + overflow: hidden; + flex-shrink: 0; + position: relative; + box-shadow: 0 5px 15px rgba(0,0,0,0.3); + border: 2px solid rgba(255,255,255,0.1); + transition: transform 0.3s ease, box-shadow 0.1s ease; + } + + .track-cover-container img { + width: 100%; + height: 100%; + object-fit: cover; + transition: opacity 0.5s ease; + } + + .track-cover-container i { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + font-size: 1.5rem; + color: rgba(255,255,255,0.5); + z-index: 1; + display: none; } .now-playing i { @@ -709,7 +743,10 @@ $facebook_link = "https://www.facebook.com/profile.php?id=61587890927489";