/* Marquee Container */
.trending-marquee-container {
    overflow: hidden;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    position: relative;
}

/* Header Styles */
.trending-marquee-header {
    background: linear-gradient(135deg, #6e48aa 0%, #9d50bb 100%);
    color: white;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.trending-marquee-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

/* Marquee Wrapper */
.trending-marquee-wrapper {
    height: calc(100% - 5px);
    overflow: hidden;
    position: relative;
}

/* Marquee Content Animation */
.trending-marquee-content {
    width: 100%;
    animation-name: trending-marquee-scroll;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    bottom: 0;
}

@keyframes trending-marquee-scroll {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* Pause on hover */
.trending-marquee-wrapper:hover .trending-marquee-content {
    animation-play-state: paused;
}

/* Individual Items */
.trending-marquee-item {
    padding: 12px 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    background: white;
}

.trending-marquee-item a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
    padding-right: 10px;
    transition: color 0.2s ease;
}

.trending-marquee-item:hover a {
    color: #6e48aa;
}

/* View Count */
.marquee-views {
    color: #9d50bb;
    font-size: 12px;
    font-weight: 500;
    flex-shrink: 0;
}

/* No Results Message */
.trending-marquee-no-results {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    color: #6c757d;
    font-size: 14px;
}