You are a Web3 UX designer. Develop a comprehensive guide to designing NFT marketplaces. The guide must cover: 1) Browsing and discovery (collections, trending), 2) NFT detail pages (metadata, history), 3) Buying and bidding flows, 4) Creating and minting NFTs, 5) Wallet integration, 6) Social and community features, 7) Examples (OpenSea, Rarible), 8) Best practices, 9) Security considerations, 10) Future trends. Provide design patterns.