<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             BackgroundColor="{AppThemeBinding Light=#F9FAFB, Dark=#1E1E1E}">

    <!-- Gradient background -->
    <ContentPage.Background>
        <LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
            <GradientStop Color="#000000" Offset="0.0" />
            <GradientStop Color="#FFFFFF" Offset="1.0" />
        </LinearGradientBrush>
    </ContentPage.Background>

    <Grid Padding="30">
<Frame CornerRadius="20"
       Padding="25"
       VerticalOptions="Center"
       HorizontalOptions="Center"
       BackgroundColor="{AppThemeBinding Light=White, Dark=#2D2D2D}">

    <Frame.Shadow>
        <Shadow Brush="Black"
                Opacity="0.35"
                Radius="15"
                Offset="5,5" />
    </Frame.Shadow>

            <VerticalStackLayout Spacing="20">

                <Label Text="👋 Hello Mobile World"
                       FontSize="32"
                       FontAttributes="Bold"
                       HorizontalOptions="Center"
                       TextColor="{AppThemeBinding Light=#111827, Dark=White}" />

                <Label Text="(Yes, this is COBOL.)"
                       FontSize="16"
                       HorizontalOptions="Center"
                       TextColor="{AppThemeBinding Light=#374151, Dark=#D1D5DB}" />

                <Button Text="Tell me more!"
                        CornerRadius="12"
                        x:Name="ControlsBtn"
                        Clicked="ShowControls"
                        FontSize="18"
                        HeightRequest="50"
                        BackgroundColor="#6366F1"
                        TextColor="White"
                        HorizontalOptions="Center"
                        WidthRequest="200"
                        />
            </VerticalStackLayout>
        </Frame>
    </Grid>
</ContentPage>
