<Window xmlns="https://github.com/avaloniaui"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        mc:Ignorable="d" d:DesignWidth="600" d:DesignHeight="500"
        x:Class="MarkdownEditor.Views.AboutWindow"
        Title="About Markus"
        Width="600" Height="500"
        WindowStartupLocation="CenterOwner"
        CanResize="False"
        Background="#1E1E1E">

    <Grid>
        <StackPanel VerticalAlignment="Top"
                   HorizontalAlignment="Center"
                   Spacing="20"
                   Margin="0,40,0,40">

            <!-- Logo -->
            <Image Source="/Assets/markus-logo.png"
                   Width="200" Height="200"
                   HorizontalAlignment="Center"/>

            <!-- App Name -->
            <TextBlock Text="Markus"
                      FontSize="48"
                      FontWeight="Light"
                      Foreground="White"
                      HorizontalAlignment="Center"/>

            <!-- Version -->
            <TextBlock Text="v1.0.0"
                      FontSize="18"
                      Foreground="#CCCCCC"
                      HorizontalAlignment="Center"/>

            <!-- Description -->
            <TextBlock Text="A Simple Markdown Editor"
                      FontSize="14"
                      Foreground="#CCCCCC"
                      HorizontalAlignment="Center"
                      Margin="0,10,0,0"/>

            <!-- Copyright -->
            <TextBlock Text="© 2025 Ormentia. All rights reserved."
                      FontSize="12"
                      Foreground="#888888"
                      HorizontalAlignment="Center"
                      Margin="0,10,0,0"/>

            <!-- Ormentia Credit with Logo -->
            <StackPanel Orientation="Horizontal"
                       HorizontalAlignment="Center"
                       Margin="0,8,0,0">
                <TextBlock Text="By "
                          FontSize="10"
                          Foreground="#666666"
                          VerticalAlignment="Center"
                          Margin="0,0,4,0"/>
                <Button Background="Transparent"
                       BorderThickness="0"
                       Padding="0"
                       Click="OrmentiaLink_Click"
                       Cursor="Hand"
                       VerticalAlignment="Center">
                    <Image Source="/Assets/ormentia-text.png"
                           Height="12"
                           VerticalAlignment="Center"/>
                    <Button.Styles>
                        <Style Selector="Button:pointerover">
                            <Setter Property="Opacity" Value="0.7"/>
                        </Style>
                    </Button.Styles>
                </Button>
            </StackPanel>
        </StackPanel>
    </Grid>
</Window>
