screen laws_of_power_menu():
    tag menu
    
    # Main frame with scrollable viewport
    frame:
        xalign 0.8
        yalign 0.5
        # xsize 1600
        # ysize 950
        padding (90, 90)
        at fade_in_slide
        
        vbox:
            spacing 50
            
            # Title
            text "The 48 Laws of Power" size 50 xalign 0.5 bold True
            
            # Progress indicator
            text "Unlocked: [power]/48" size 28 xalign 0.5 color "#d4af37"
            
            null height 15
            
            # Scrollable viewport for all laws in grid layout
            viewport:
                scrollbars "vertical"
                mousewheel True
                draggable True
                pagekeys True
                xsize 1900
                ysize 1100
                
                grid 1 48:
                    spacing 50
                    xfill True
                    
                    # All 48 Laws - Left Column (Laws 1-24)
                    textbutton "Law 1: Never Outshine the Master":
                        
                        sensitive (power >= 1)
                        action Jump("law_1")
                        at button_hover
                    
                    
                    textbutton "Law 2: Never Put Too Much Trust in Friends":

                        sensitive (power >= 2)
                        action Jump("law_2")
                        at button_hover
                    
                    textbutton "Law 3: Conceal Your Intentions":
                        
                        sensitive (power >= 3)
                        action Jump("law_3")
                        at button_hover
                    
                    textbutton "Law 4: Always Say Less Than Necessary":
                        
                        sensitive (power >= 4)
                        action Jump("law_4")
                        at button_hover
                    
                    textbutton "Law 5: So Much Depends on Reputation":
                        
                        sensitive (power >= 5)
                        action Jump("law_5")
                        at button_hover
                    
                    textbutton "Law 6: Court Attention at All Costs":
                        
                        sensitive (power >= 6)
                        action Jump("law_6")
                        at button_hover
                    
                    textbutton "Law 7: Get Others to Do the Work":
                        
                        sensitive (power >= 7)
                        action Jump("law_7")
                        at button_hover
                    
                    textbutton "Law 8: Make Other People Come to You":
                        
                        sensitive (power >= 8)
                        action Jump("law_8")
                        at button_hover
                    
                    textbutton "Law 9: Win Through Actions, Never Argument":
                        
                        sensitive (power >= 9)
                        action Jump("law_9")
                        at button_hover
                    
                    textbutton "Law 10: Infection: Avoid the Unhappy":
                        
                        sensitive (power >= 10)
                        action Jump("law_10")
                        at button_hover
                    
                    textbutton "Law 11: Learn to Keep People Dependent":
                        
                        sensitive (power >= 11)
                        action Jump("law_11")
                        at button_hover
                    
                    textbutton "Law 12: Use Selective Honesty and Generosity":
                        
                        sensitive (power >= 12)
                        action Jump("law_12")
                        at button_hover
                    
                    textbutton "Law 13: When Asking for Help, Appeal to Self-Interest":
                        
                        sensitive (power >= 13)
                        action Jump("law_13")
                        at button_hover
                    
                    textbutton "Law 14: Pose as a Friend, Work as a Spy":
                        
                        sensitive (power >= 14)
                        action Jump("law_14")
                        at button_hover
                    
                    textbutton "Law 15: Crush Your Enemy Totally":
                        
                        sensitive (power >= 15)
                        action Jump("law_15")
                        at button_hover
                    
                    textbutton "Law 16: Use Absence to Increase Respect":
                        
                        sensitive (power >= 16)
                        action Jump("law_16")
                        at button_hover
                    
                    textbutton "Law 17: Keep Others in Suspense":
                        
                        sensitive (power >= 17)
                        action Jump("law_17")
                        at button_hover
                    
                    textbutton "Law 18: Do Not Build Fortresses to Protect Yourself":
                        
                        sensitive (power >= 18)
                        action Jump("law_18")
                        at button_hover
                    
                    textbutton "Law 19: Know Who You're Dealing With":
                        
                        sensitive (power >= 19)
                        action Jump("law_19")
                        at button_hover
                    
                    textbutton "Law 20: Do Not Commit to Anyone":
                        
                        sensitive (power >= 20)
                        action Jump("law_20")
                        at button_hover
                    
                    textbutton "Law 21: Play a Sucker to Catch a Sucker":
                        
                        sensitive (power >= 21)
                        action Jump("law_21")
                        at button_hover
                    
                    textbutton "Law 22: Use the Surrender Tactic":
                        
                        sensitive (power >= 22)
                        action Jump("law_22")
                        at button_hover
                    
                    textbutton "Law 23: Concentrate Your Forces":
                        
                        sensitive (power >= 23)
                        action Jump("law_23")
                        at button_hover
                    
                    textbutton "Law 24: Play the Perfect Courtier":
                        
                        sensitive (power >= 24)
                        action Jump("law_24")
                        at button_hover
                    
                    
                    # Right Column (Laws 25-48)
                    textbutton "Law 25: Re-Create Yourself":
                        
                        sensitive (power >= 25)
                        action Jump("law_25")
                        at button_hover
                    
                    textbutton "Law 26: Keep Your Hands Clean":
                        
                        sensitive (power >= 26)
                        action Jump("law_26")
                        at button_hover
                    
                    textbutton "Law 27: Play on People's Need to Believe":
                        
                        sensitive (power >= 27)
                        action Jump("law_27")
                        at button_hover
                    
                    textbutton "Law 28: Enter Action with Boldness":
                        
                        sensitive (power >= 28)
                        action Jump("law_28")
                        at button_hover
                    
                    textbutton "Law 29: Plan All the Way to the End":
                        
                        sensitive (power >= 29)
                        action Jump("law_29")
                        at button_hover
                    
                    textbutton "Law 30: Make Your Accomplishments Seem Effortless":
                        
                        sensitive (power >= 30)
                        action Jump("law_30")
                        at button_hover
                    
                    textbutton "Law 31: Control the Options":
                        
                        sensitive (power >= 31)
                        action Jump("law_31")
                        at button_hover
                    
                    textbutton "Law 32: Play to People's Fantasies":
                        
                        sensitive (power >= 32)
                        action Jump("law_32")
                        at button_hover
                    
                    textbutton "Law 33: Discover Each Man's Thumbscrew":
                        
                        sensitive (power >= 33)
                        action Jump("law_33")
                        at button_hover
                    
                    textbutton "Law 34: Be Royal in Your Own Fashion":
                        
                        sensitive (power >= 34)
                        action Jump("law_34")
                        at button_hover
                    
                    textbutton "Law 35: Master the Art of Timing":
                        
                        sensitive (power >= 35)
                        action Jump("law_35")
                        at button_hover
                    
                    textbutton "Law 36: Disdain Things You Cannot Have":
                        
                        sensitive (power >= 36)
                        action Jump("law_36")
                        at button_hover
                    
                    textbutton "Law 37: Create Compelling Spectacles":
                        
                        sensitive (power >= 37)
                        action Jump("law_37")
                        at button_hover
                    
                    textbutton "Law 38: Think as You Like But Behave Like Others":
                        
                        sensitive (power >= 38)
                        action Jump("law_38")
                        at button_hover
                    
                    textbutton "Law 39: Stir Up Waters to Catch Fish":
                        
                        sensitive (power >= 39)
                        action Jump("law_39")
                        at button_hover
                    
                    textbutton "Law 40: Despise the Free Lunch":
                        
                        sensitive (power >= 40)
                        action Jump("law_40")
                        at button_hover
                    
                    textbutton "Law 41: Avoid Stepping into a Great Man's Shoes":
                        
                        sensitive (power >= 41)
                        action Jump("law_41")
                        at button_hover
                    
                    textbutton "Law 42: Strike the Shepherd and the Sheep Will Scatter":
                        
                        sensitive (power >= 42)
                        action Jump("law_42")
                        at button_hover
                    
                    textbutton "Law 43: Work on the Hearts and Minds of Others":
                        
                        sensitive (power >= 43)
                        action Jump("law_43")
                        at button_hover
                    
                    textbutton "Law 44: Disarm and Infuriate with the Mirror Effect":
                        
                        sensitive (power >= 44)
                        action Jump("law_44")
                        at button_hover
                    
                    textbutton "Law 45: Preach Change But Never Reform Too Much":
                        
                        sensitive (power >= 45)
                        action Jump("law_45")
                        at button_hover
                    
                    textbutton "Law 46: Never Appear Too Perfect":
                        
                        sensitive (power >= 46)
                        action Jump("law_46")
                        at button_hover
                    
                    textbutton "Law 47: Do Not Go Past the Mark You Aimed For":
                        
                        sensitive (power >= 47)
                        action Jump("law_47")
                        at button_hover
                    
                    textbutton "Law 48: Assume Formlessness":
                        
                        sensitive (power >= 48)
                        action Jump("law_48")
                        at button_hover