<?xml version="1.0" encoding="utf-8"?>
<resources>
    <!-- TV App Theme -->
    <style name="Theme.WireGuardTV" parent="Theme.Leanback">
        <item name="android:colorPrimary">@color/brand_primary</item>
        <item name="android:colorPrimaryDark">@color/brand_primary_dark</item>
        <item name="android:colorAccent">@color/brand_accent</item>
        <item name="android:windowBackground">@color/background_dark</item>
        
        <!-- Leanback specific -->
        <item name="browseRowsMarginTop">60dp</item>
        <item name="browsePaddingStart">60dp</item>
        <item name="browsePaddingEnd">60dp</item>
        
        <!-- Cards -->
        <item name="imageCardViewStyle">@style/WireGuardImageCardViewStyle</item>
    </style>

    <!-- Custom Image Card Style -->
    <style name="WireGuardImageCardViewStyle" parent="Widget.Leanback.ImageCardViewStyle">
        <item name="cardBackground">@color/background_card</item>
    </style>

    <!-- Settings Theme -->
    <style name="Theme.WireGuardTV.Settings" parent="@style/Theme.Leanback">
        <item name="android:colorPrimary">@color/brand_primary</item>
        <item name="android:colorAccent">@color/brand_accent</item>
        <item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Leanback</item>
    </style>
</resources>
