Decoding the House Edge: Core Principles of Betting