<?xml version="1.0" encoding="utf-8"?>
<Page
    x:Class="HaloPixelToolBox.Backend.Views.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    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">
    <Grid MaxWidth="960" HorizontalAlignment="Left">
        <StackPanel Spacing="16">
            <TextBlock Text="花再工具箱管理端" FontSize="30" FontWeight="SemiBold"/>
            <TextBlock Text="集中维护客户端所需的动态解析地址与服务器访问策略。" TextWrapping="Wrap" Opacity="0.72"/>

            <Grid ColumnSpacing="16">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="*"/>
                </Grid.ColumnDefinitions>
                <Border Background="{ThemeResource CardBackgroundFillColorDefaultBrush}"
                        BorderBrush="{ThemeResource CardStrokeColorDefaultBrush}"
                        BorderThickness="1" CornerRadius="8" Padding="20">
                    <StackPanel Spacing="8">
                        <FontIcon Glyph="&#xE8B7;" HorizontalAlignment="Left" FontSize="24"/>
                        <TextBlock Text="解析地址管理" FontSize="20" FontWeight="SemiBold"/>
                        <TextBlock Text="按客户端版本维护组件、基址与多级偏移，保存后由服务器动态下发。"
                                   TextWrapping="Wrap" Opacity="0.68"/>
                    </StackPanel>
                </Border>
                <Border Grid.Column="1"
                        Background="{ThemeResource CardBackgroundFillColorDefaultBrush}"
                        BorderBrush="{ThemeResource CardStrokeColorDefaultBrush}"
                        BorderThickness="1" CornerRadius="8" Padding="20">
                    <StackPanel Spacing="8">
                        <FontIcon Glyph="&#xE72E;" HorizontalAlignment="Left" FontSize="24"/>
                        <TextBlock Text="IP 封禁管理" FontSize="20" FontWeight="SemiBold"/>
                        <TextBlock Text="查看、添加和解除服务器 IP 黑名单，阻止异常客户端继续访问。"
                                   TextWrapping="Wrap" Opacity="0.68"/>
                    </StackPanel>
                </Border>
            </Grid>

            <Border Background="{ThemeResource CardBackgroundFillColorDefaultBrush}"
                    BorderBrush="{ThemeResource CardStrokeColorDefaultBrush}"
                    BorderThickness="1" CornerRadius="8" Padding="20">
                <StackPanel Orientation="Horizontal" Spacing="12">
                    <FontIcon Glyph="&#xE713;" FontSize="22"/>
                    <StackPanel Spacing="4">
                        <TextBlock Text="账号与服务器设置" FontSize="18" FontWeight="SemiBold"/>
                        <TextBlock Text="管理员登录已移至左下角的“设置”；保存凭据后，应用启动时会自动恢复登录。"
                                   TextWrapping="Wrap" Opacity="0.68"/>
                    </StackPanel>
                </StackPanel>
            </Border>
        </StackPanel>
    </Grid>
</Page>
