Navigating Decentralized Finance (DeFi) in Web3: Opportunities, Risks, and Future Trends