* { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: Arial, sans-serif; padding-bottom: 90px; background-color: #f9f9f9; --primary-color: #333; --hover-color: #555; } #radio-player { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid #ddd; box-shadow: 0 -2px 15px rgba(0,0,0,0.1); display: flex; align-items: center; padding: 10px; z-index: 1000; } .album-art { width: 70px; height: 70px; border-radius: 8px; object-fit: cover; margin-right: 15px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); transition: all 0.3s ease-in-out; } .song-info { flex: 1; min-width: 0; overflow: hidden; } .artist-name { font-size: 14px; color: #444; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .song-title { font-weight: bold; font-size: 20px; color: #222; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .station-name { font-size: 10px; color: #666; text-transform: uppercase; letter-spacing: 1px; } .player-controls { display: flex; align-items: center; margin-left: 15px; } .play-stop-btn { background: var(--primary-color); color: #fff; border: none; width: 55px; height: 55px; border-radius: 50%; cursor: pointer; position: relative; display: flex; justify-content: center; align-items: center; transition: background 0.2s ease; box-shadow: 0 4px 8px rgba(0,0,0,0.2); } .play-stop-btn:hover { background: var(--hover-color); } .play-stop-btn:active { transform: scale(0.98); } .play-icon { position: absolute; width: 0; height: 0; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 16px solid currentColor; margin-left: 2px; transition: opacity 0.2s; } .equalizer { position: absolute; display: none; align-items: flex-end; height: 30px; gap: 3px; } .equalizer-bar { width: 4px; background: currentColor; border-radius: 2px; animation: equalize 1.5s infinite ease-in-out; } .equalizer-bar:nth-child(1) { height: 30%; animation-delay: -0.9s; } .equalizer-bar:nth-child(2) { height: 60%; animation-delay: -1.3s; } .equalizer-bar:nth-child(3) { height: 40%; animation-delay: -0.7s; } @keyframes equalize { 0%, 100% { height: 30%; } 25% { height: 70%; } 50% { height: 40%; } 75% { height: 90%; } } .play-stop-btn.stop .play-icon { opacity: 0; } .play-stop-btn.stop .equalizer { display: flex; } @media (max-width: 480px) { .album-art { width: 60px; height: 60px; } .song-title { font-size: 16px; } .artist-name { font-size: 14px; } .play-stop-btn { width: 50px; height: 50px; } .equalizer { height: 25px; gap: 2px; } .equalizer-bar { width: 3px; } }