<?xml version="1.0" encoding="utf-8" ?>
<Layout x="0" y="0" width="1024" height="768" animate="EfxPopup">

    <BkgImage name="bkg" x="0" y="0" image="bkg_cards"/>

    <Image name="logo" x="80" y="-10" image="devil_logo_cards"/>

    <Widget x="0" y="55">

        <Image name="devil_cards" x="5" y="65" image="devil_cards"/>

        <Text name="card1_text" x="80" y="370" rotation="-2.0" width="220" height="60" font="medium" align="C" text="NO_ADS" color="FFffe443" />

        <Text name="card2_text" x="325" y="395" rotation="-2.0" width="170" height="60" font="medium" align="C" text="SHOP_LIGHT3_TITLE" color="FFffe443" />

        <Text name="card3_text" x="520" y="190" rotation="-2.0 " width="220" height="60" font="medium" align="C" text="SHOP_MANA_TITLE" color="FFffe443" />

        <Text name="card4_text" x="745" y="365" rotation="-2.0" width="220" height="60" font="medium" align="C" text="EXTRA_HINTS" color="FFffe443" />

    </Widget>

    <Button name="update_button_area" x="0" y="0" width="1024" height="550">
        <!-- <Click cmd="unlock_full_game"/> -->
        <Click cmd="url" param="full_market_link"/>
        <Event id="click_to_upgrade"/>
    </Button>

    <Button name="update_button" x="200" y="535"  >
        <Image x="0" y="0" image="button_purple.png" />

        <Text name="text" x="110" y="85" width="360" height="32" font="medium" align="C" text="BLITZ_UNLOCK_TITLE" color="FFFFFFFF" />
        <Properties>
            <Property key="sfx_btn_hover">button_hover</Property>
        </Properties>
        <!-- <Click cmd="unlock_full_game"/> -->
        <Click cmd="url" param="full_market_link"/>
        <Event id="click_to_upgrade"/>

        <SelectorController>
            <Action type="0" btn="12" cmd="press"/>
            <Container class="GPOnceContainer"/>
            <Item path=".." scale="1 1" alias="btn_a" offset="-10 40"/>
        </SelectorController>

    </Button>

    <Button name="button_continue_with_ads" x="200" y="720" >

        <Text name="text" x="120" y="0" width="360" height="32" font="author" align="C" text="GAMEOVER_CONTINUE_FREE" color="FFFFFFFF" />

        <Click cmd="convert_to_f2p_game"/>

        <SelectorController>
            <Action type="0" btn="15" cmd="press"/>
            <Container class="GPOnceContainer"/>
            <Item path=".." scale="1 1" alias="btn_y" offset="500 5"/>
        </SelectorController>

    </Button>

    <AnimController autoPlay="1">
        <ActionGroup>
            <EfxPlaySound sound="freeversion_unlock_screen_transition"/>
            <EfxSendCmd cmd="music_set_pl" param="Main"/>
        </ActionGroup>
    </AnimController>

    <Button name="back" x="930" y="0" image="/message_box/ad_close.png">
        <Click cmd="layout" param="MainMenu">
            <Param value="crossfade"/>
        </Click>

        <SelectorController>
            <Action type="0" btn="13" cmd="press"/>
            <Container class="GPOnceContainer"/>
            <Item path=".." scale="1 1" alias="btn_b" offset="5 35"/>
        </SelectorController>
    </Button>

    <AnimController autoPlay="1">
        <ActionChain>
            <EfxSendEvent event="event_gameover_free_didappear"/>
        </ActionChain>
    </AnimController>

</Layout>