.currently-playing {
    background: #fff;
    border-radius: clamp(12px, 2vw, 16px);
    padding: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: 0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
    position: relative;
    z-index: 0;
}

.currently-playing:hover {
    transform: translateY(-2px);
}

.header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #dc3545;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }
    
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(220, 53, 69, 0);
    }
    
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

.settings-button {
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0.375rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    margin-left: 0.75rem;
}

.settings-button:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: rotate(30deg);
}

.settings-button.disabled {
    opacity: 0.5;
}

.live-indicator.disabled .live-dot {
    background: #6c757d;
    animation: none;
}

.live-indicator.disabled span:last-child {
    text-decoration: line-through;
    opacity: 0.7;
}

.time-info {
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 500;
}

.time-info .separator {
    margin: 0 0.5rem;
    color: #adb5bd;
}

#show-title {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: #212529;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.media-controls {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin: 1rem 0;
}

.video-btn, .play-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #6c757d;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.video-btn:hover, .play-btn:hover {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

.play-btn {
    color: #dc3545;
}

.play-btn svg {
    width: 32px;
    height: 32px;
}

.played-songs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.song-entry {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.2s ease;
    background: #f8f9fa;
    position: relative;
    z-index: 0;
}

.song-entry:hover {
    background: #f1f3f5;
}

.song-left {
    flex: 0 0 120px;
    position: relative;
    z-index: 0;
}

.song-image {
    width: 100%;
    aspect-ratio: 1;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #e9ecef;
    box-shadow: 0 8px 20px -5px rgba(0, 0, 0, 0.1);
    z-index: 0;
}

.song-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
    justify-content: center;
    flex: 1;
    position: relative;
    z-index: 1;
}

.song-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.song-image img[src$="question-mark.svg"] {
    padding: 1rem;
    object-fit: contain;
}

.position-container {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-top: 0.75rem;
}

.timestamp-container {
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.song-name {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 800;
    color: #212529;
    line-height: 1.2;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.artist {
    font-size: clamp(0.95rem, 2vw, 1.25rem);
    color: #495057;
    line-height: 1.2;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.position {
    font-size: 0.95rem;
    font-weight: 700;
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    position: relative;
    z-index: 1;
}

.position span:first-child {
    color: #dc3545;
    position: relative;
    z-index: 1;
}

.position-text {
    color: #495057;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.spotify-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #1DB954;
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.2s ease;
    width: fit-content;
    box-shadow: 0 4px 12px rgba(29, 185, 84, 0.2);
    position: relative;
    z-index: 1;
}

.spotify-button:hover {
    background-color: #1ed760;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(29, 185, 84, 0.25);
}

@media (max-width: 768px) {
    .currently-playing {
        padding: 0.75rem;
    }

    .header-info {
        margin-bottom: 0.75rem;
    }

    .live-indicator {
        font-size: 0.8rem;
        gap: 0.35rem;
    }

    .live-dot {
        width: 5px;
        height: 5px;
    }

    .time-info {
        font-size: 0.8rem;
    }

    .time-info .separator {
        margin: 0 0.35rem;
    }

    .settings-button {
        font-size: 1.1rem;
        padding: 0.3rem;
        margin-left: 0.5rem;
    }

    .song-entry {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0.75rem;
        gap: 1rem;
    }

    .song-left {
        flex: 0 0 180px;
        margin-bottom: 0;
        width: 180px;
    }

    .song-details {
        width: 100%;
        gap: 0.5rem;
        align-items: center;
    }

    .spotify-button {
        width: 100%;
        margin-top: 0.75rem;
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .position-container {
        align-items: center;
    }
}
