.feed-filter-bar {
    padding: 12px 16px;
    background: #181a1c;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 60px;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.feed-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feed-filter-dropdown {
    position: relative;
    display: inline-block;
}

.feed-filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.feed-filter-btn svg:first-child {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.feed-filter-btn .dropdown-arrow {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    transition: transform 0.2s ease;
}

.feed-filter-btn.active .dropdown-arrow {
    transform: rotate(180deg);
}

.feed-filter-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.feed-filter-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #1e2024;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    display: none;
    flex-direction: column;
    gap: 4px;
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

.feed-filter-menu.active {
    display: flex;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    text-align: left;
}

.filter-option svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    flex-shrink: 0;
}

.filter-option:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
}

.filter-option.active {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.25);
    color: #3b82f6;
}

.filter-option.active svg {
    stroke: #3b82f6;
}

.filter-option[data-filter="popular"] svg {
    fill: currentColor;
    stroke: none;
}

.feed-refresh-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    color: #3b82f6;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.feed-refresh-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    transition: transform 0.6s ease;
}

.feed-refresh-btn:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.feed-refresh-btn:active {
    transform: scale(0.95);
}

.feed-refresh-btn.spinning svg {
    animation: spin 1s linear;
}

.feed-refresh-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .feed-filter-bar {
        top: 56px;
        padding: 10px 12px;
        background: #181a1c;
    }
    
    .feed-controls {
        gap: 8px;
    }
    
    .feed-filter-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .feed-filter-btn svg:first-child {
        width: 16px;
        height: 16px;
    }
    
    .feed-filter-menu {
        min-width: 180px;
    }
    
    .feed-refresh-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .feed-refresh-btn span {
        display: none;
    }
    
    .feed-refresh-btn svg {
        width: 16px;
        height: 16px;
    }
}
