<!-- PRE-GENERATED (design session). Effects controls (Peace benchmark): crossfeed, bass boost, L/R trim.
     Edits the shared EffectsConfig live and calls back to re-apply APO. -->
<ui:FluentWindow x:Class="DansoriEQ.App.EffectsWindow"
        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"
        Title="이펙트" Height="460" Width="460"
        WindowStartupLocation="CenterOwner" ResizeMode="NoResize"
        ExtendsContentIntoTitleBar="True" WindowBackdropType="Mica"
        Background="#1B1B1F" Foreground="#F2F3F5"
        FontFamily="Segoe UI Variable, Segoe UI">
    <Window.Resources>
        <SolidColorBrush x:Key="Card"    Color="#26262B"/>
        <SolidColorBrush x:Key="Stroke"  Color="#3A3A42"/>
        <SolidColorBrush x:Key="TextDim" Color="#A8ABB4"/>
        <SolidColorBrush x:Key="TextMute" Color="#767A83"/>
    </Window.Resources>

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <ui:TitleBar Grid.Row="0" Title="이펙트" Foreground="#F2F3F5" Padding="14,6"/>

        <Border Grid.Row="1" Style="{StaticResource NeonPopup}">
    <StackPanel Margin="20">
        <TextBlock Text="이펙트" FontSize="18" FontWeight="Bold" Margin="0,0,0,14"/>

        <Border Background="{StaticResource Card}" BorderBrush="{StaticResource Stroke}" BorderThickness="1" CornerRadius="12" Padding="16">
            <StackPanel>
                <!-- Crossfeed -->
                <DockPanel Margin="0,0,0,4">
                    <TextBlock Text="크로스피드" Foreground="{StaticResource TextDim}" FontSize="13"/>
                    <TextBlock x:Name="TxtCross" DockPanel.Dock="Right" HorizontalAlignment="Right" FontWeight="SemiBold"/>
                </DockPanel>
                <Slider x:Name="SldCrossfeed" Minimum="0" Maximum="100" ValueChanged="Slider_Changed" Margin="0,0,0,14"/>

                <!-- Bass boost -->
                <DockPanel Margin="0,0,0,4">
                    <TextBlock Text="베이스 부스트" Foreground="{StaticResource TextDim}" FontSize="13"/>
                    <TextBlock x:Name="TxtBass" DockPanel.Dock="Right" HorizontalAlignment="Right" FontWeight="SemiBold"/>
                </DockPanel>
                <Slider x:Name="SldBass" Minimum="0" Maximum="12" ValueChanged="Slider_Changed" Margin="0,0,0,14"/>

                <!-- Left trim -->
                <DockPanel Margin="0,0,0,4">
                    <TextBlock Text="왼쪽 트림" Foreground="{StaticResource TextDim}" FontSize="13"/>
                    <TextBlock x:Name="TxtLeft" DockPanel.Dock="Right" HorizontalAlignment="Right" FontWeight="SemiBold"/>
                </DockPanel>
                <Slider x:Name="SldLeft" Minimum="-12" Maximum="0" ValueChanged="Slider_Changed" Margin="0,0,0,14"/>

                <!-- Right trim -->
                <DockPanel Margin="0,0,0,4">
                    <TextBlock Text="오른쪽 트림" Foreground="{StaticResource TextDim}" FontSize="13"/>
                    <TextBlock x:Name="TxtRight" DockPanel.Dock="Right" HorizontalAlignment="Right" FontWeight="SemiBold"/>
                </DockPanel>
                <Slider x:Name="SldRight" Minimum="-12" Maximum="0" ValueChanged="Slider_Changed"/>
            </StackPanel>
        </Border>

        <TextBlock Foreground="{StaticResource TextMute}" FontSize="11" TextWrapping="Wrap" Margin="0,10,0,0"
                   Text="※ 크로스피드는 현재 플레이스홀더입니다(저역통과+딜레이 기반 정식 구현 예정)."/>

        <Button Content="닫기" Click="Close_Click" HorizontalAlignment="Right" Height="36" Padding="18,0" Margin="0,14,0,0"
                Background="{StaticResource Card}" Foreground="{StaticResource TextDim}" BorderBrush="{StaticResource Stroke}"/>
    </StackPanel>
        </Border>
    </Grid>
</ui:FluentWindow>
