<ui:FluentWindow x:Class="DansoriEQ.App.LottiePocWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
        xmlns:ctrl="clr-namespace:DansoriEQ.App.Controls"
        Title="Lottie PoC (경로 B) — SkiaSharp.Skottie"
        Width="560" Height="660"
        WindowStartupLocation="CenterScreen"
        ExtendsContentIntoTitleBar="True" WindowBackdropType="Mica"
        Background="#12141A">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <ui:TitleBar Grid.Row="0" Title="Lottie PoC (경로 B) — SkiaSharp.Skottie" Foreground="#F2F3F5" Padding="14,6"/>

        <Border Grid.Row="1" Style="{StaticResource NeonPopup}">
    <Grid Margin="24">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>

        <StackPanel Grid.Row="0">
            <TextBlock Text="Lottie 재생 PoC"
                       Foreground="#EAF6FF" FontSize="22" FontWeight="SemiBold"/>
            <TextBlock x:Name="StatusText"
                       Text="로드 확인 중…"
                       Foreground="#9FB4C7" FontSize="14" Margin="0,6,0,0"/>
        </StackPanel>

        <!-- The Lottie animation (mint soundwave rings + center pulse). -->
        <Border Grid.Row="1" CornerRadius="16" Margin="0,18"
                Background="#0C0E13" BorderBrush="#243040" BorderThickness="1">
            <ctrl:LottieView x:Name="Lottie" Width="260" Height="260"
                             HorizontalAlignment="Center" VerticalAlignment="Center"/>
        </Border>

        <TextBlock Grid.Row="2" TextWrapping="Wrap"
                   Foreground="#7D93A6" FontSize="13" LineHeight="20"
                   Text="이 링 애니메이션이 부드럽게 확장·페이드되며 반복되면 SkiaSharp.Skottie 재생이 정상입니다. 기존 경로 A(WPF SoundwaveRings)와 비교해 유지/롤백을 결정하세요. 실행: DansoriEQ.App.exe --lottie"/>
    </Grid>
    </Border>
    </Grid>
</ui:FluentWindow>
