.finance-slider-wrapper {
    width: 100%;
    padding: 5px 0;
}

.finance-slider {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.finance-slider-inner {
    margin: 0 auto;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.finance-track {
    display: flex;
    align-items: center;
    gap: 30px; 
    white-space: nowrap;
    will-change: transform;
}

.finance-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-radius: 12px;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    white-space: nowrap;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.finance-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.finance-name {
    font-weight: 700;
    margin-right: 12px;
    color: #1a1a1a;
    font-family: 'Nunito';
}

.finance-change {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 2px 6px;
    border-radius: 6px;
}

.finance-change.up {
    color: #065f46;
    background-color: #d1fae5;
}

.finance-change.down {
    color: #991b1b;
    background-color: #fee2e2;
}

.slider_fade {
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.slider_fade_left {
    left: 0;
    background: linear-gradient(to right, #f9f9f9 70%, rgba(255, 255, 255, 0));
}

.slider_fade_right {
    right: 0;
    background: linear-gradient(to left, #f9f9f9 70%, rgba(255, 255, 255, 0));
}

@media (max-width: 768px) {
    .finance-item {
        font-size: 14px;
    }

    .slider_fade {
        width: 60px;
    }
}