<?xml version="1.0" encoding="utf-8"?>
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:fillViewport="true"
    android:background="@color/bg_base"
    tools:context=".ui.clubs.ClubDetailFragment">

    <androidx.constraintlayout.widget.ConstraintLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:padding="16dp">

        <!-- Club Logo (Circular) -->
        <com.google.android.material.card.MaterialCardView
            android:id="@+id/cardLogo"
            android:layout_width="140dp"
            android:layout_height="140dp"
            app:cardCornerRadius="70dp"
            app:cardElevation="0dp"
            app:strokeWidth="2dp"
            app:strokeColor="@color/border"
            app:cardBackgroundColor="@color/bg_elevated"
            app:layout_constraintTop_toTopOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintEnd_toEndOf="parent"
            android:layout_marginTop="16dp">

            <ImageView
                android:id="@+id/image_detail_logo"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:scaleType="centerCrop"
                tools:src="@mipmap/ic_launcher_round"/>
        </com.google.android.material.card.MaterialCardView>

        <!-- Botão de Favorito -->
        <ImageButton
            android:id="@+id/btn_favorite"
            android:layout_width="48dp"
            android:layout_height="48dp"
            android:layout_marginTop="16dp"
            android:layout_marginEnd="16dp"
            android:background="?attr/selectableItemBackgroundBorderless"
            android:contentDescription="Favorito"
            android:src="@drawable/ic_star_border"
            app:tint="@color/brand"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintTop_toTopOf="parent" />

        <!-- CLUBE Label -->
        <TextView
            android:id="@+id/label_club"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:fontFamily="@font/font_ibm_plex_mono"
            android:text="CLUBE"
            android:textSize="10sp"
            android:textColor="@color/text_3"
            android:letterSpacing="0.08"
            android:layout_marginTop="20dp"
            app:layout_constraintTop_toBottomOf="@id/cardLogo"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintEnd_toEndOf="parent"/>

        <!-- Club Name -->
        <TextView
            android:id="@+id/text_detail_club_name"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:fontFamily="@font/font_bebas_neue"
            tools:text="Inter Freguesias Vila do Conde"
            android:textSize="26sp"
            android:textColor="@color/text_1"
            android:letterSpacing="0.04"
            android:gravity="center"
            android:layout_marginTop="4dp"
            app:layout_constraintTop_toBottomOf="@id/label_club"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintEnd_toEndOf="parent"/>

        <!-- Club Info Card -->
        <com.google.android.material.card.MaterialCardView
            android:id="@+id/card_club_info"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_marginTop="20dp"
            app:cardCornerRadius="12dp"
            app:cardElevation="0dp"
            app:strokeWidth="1dp"
            app:strokeColor="@color/border"
            app:cardBackgroundColor="@color/bg_surface"
            app:layout_constraintTop_toBottomOf="@id/text_detail_club_name"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintEnd_toEndOf="parent">

            <LinearLayout
                android:id="@+id/container_club_info"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="vertical"
                android:padding="16dp">

                <TextView
                    android:id="@+id/label_club_info"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:fontFamily="@font/font_ibm_plex_mono"
                    android:text="INFORMAÇÃO"
                    android:textSize="9sp"
                    android:textColor="@color/text_3"
                    android:letterSpacing="0.08"
                    android:layout_marginBottom="12dp" />

                <!-- Presidente -->
                <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:gravity="center_vertical" android:paddingVertical="10dp">
                    <ImageView android:layout_width="32dp" android:layout_height="32dp" android:src="@drawable/ic_person" app:tint="@color/brand" android:background="@drawable/circle_edit_background" android:backgroundTint="@color/brand_dim" android:padding="6dp"/>
                    <TextView android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:layout_marginStart="12dp" android:fontFamily="@font/font_ibm_plex_mono" android:text="PRESIDENTE" android:textSize="9sp" android:textColor="@color/text_3" android:letterSpacing="0.05"/>
                    <TextView android:id="@+id/text_detail_president" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="---" android:fontFamily="@font/font_ibm_plex_sans" android:textSize="13sp" android:textColor="@color/text_1" android:textStyle="bold"/>
                </LinearLayout>
                <View android:layout_width="match_parent" android:layout_height="1dp" android:background="@color/border"/>

                <!-- Fundação -->
                <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:gravity="center_vertical" android:paddingVertical="10dp">
                    <ImageView android:layout_width="32dp" android:layout_height="32dp" android:src="@drawable/ic_calendar" app:tint="@color/accent" android:background="@drawable/circle_edit_background" android:backgroundTint="#1a3b82f6" android:padding="6dp"/>
                    <TextView android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:layout_marginStart="12dp" android:fontFamily="@font/font_ibm_plex_mono" android:text="ANO DE FUNDAÇÃO" android:textSize="9sp" android:textColor="@color/text_3" android:letterSpacing="0.05"/>
                    <TextView android:id="@+id/text_detail_foundation" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="---" android:fontFamily="@font/font_ibm_plex_sans" android:textSize="13sp" android:textColor="@color/text_1" android:textStyle="bold"/>
                </LinearLayout>
                <View android:layout_width="match_parent" android:layout_height="1dp" android:background="@color/border"/>

                <!-- Campo -->
                <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:gravity="center_vertical" android:paddingVertical="10dp">
                    <ImageView android:layout_width="32dp" android:layout_height="32dp" android:src="@drawable/ic_soccer" app:tint="@color/brand" android:background="@drawable/circle_edit_background" android:backgroundTint="@color/brand_dim" android:padding="6dp"/>
                    <TextView android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:layout_marginStart="12dp" android:fontFamily="@font/font_ibm_plex_mono" android:text="CAMPO" android:textSize="9sp" android:textColor="@color/text_3" android:letterSpacing="0.05"/>
                    <TextView android:id="@+id/text_detail_stadium" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="---" android:fontFamily="@font/font_ibm_plex_sans" android:textSize="13sp" android:textColor="@color/text_1" android:textStyle="bold"/>
                </LinearLayout>
                <View android:layout_width="match_parent" android:layout_height="1dp" android:background="@color/border"/>

                <!-- Morada -->
                <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:gravity="center_vertical" android:paddingVertical="10dp">
                    <ImageView android:layout_width="32dp" android:layout_height="32dp" android:src="@drawable/ic_location" app:tint="@color/danger" android:background="@drawable/circle_edit_background" android:backgroundTint="#1aef4444" android:padding="6dp"/>
                    <TextView android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:layout_marginStart="12dp" android:fontFamily="@font/font_ibm_plex_mono" android:text="MORADA" android:textSize="9sp" android:textColor="@color/text_3" android:letterSpacing="0.05"/>
                    <TextView android:id="@+id/text_detail_address" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="---" android:fontFamily="@font/font_ibm_plex_sans" android:textSize="12sp" android:textColor="@color/text_1" android:textStyle="bold" android:maxWidth="180dp" android:gravity="end"/>
                </LinearLayout>

            </LinearLayout>
        </com.google.android.material.card.MaterialCardView>

        <!-- Statistics Header -->
        <TextView
            android:id="@+id/label_stats"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:fontFamily="@font/font_ibm_plex_mono"
            android:text="ESTATÍSTICAS"
            android:textSize="9sp"
            android:textColor="@color/text_3"
            android:letterSpacing="0.08"
            android:layout_marginTop="20dp"
            android:visibility="gone"
            app:layout_constraintTop_toBottomOf="@id/card_club_info"
            app:layout_constraintStart_toStartOf="parent"/>

        <!-- Stats Card -->
        <com.google.android.material.card.MaterialCardView
            android:id="@+id/card_stats"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_marginTop="8dp"
            app:cardCornerRadius="12dp"
            app:cardElevation="0dp"
            app:strokeWidth="1dp"
            app:strokeColor="@color/border"
            app:cardBackgroundColor="@color/bg_surface"
            android:visibility="gone"
            app:layout_constraintTop_toBottomOf="@id/label_stats"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintEnd_toEndOf="parent">

            <LinearLayout
                android:id="@+id/container_stats"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="vertical"
                android:padding="16dp">

                <!-- Posição -->
                <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:gravity="center_vertical" android:paddingVertical="10dp">
                    <TextView android:id="@+id/text_detail_position_circle" android:layout_width="32dp" android:layout_height="32dp" android:gravity="center" android:text="1" android:textColor="@color/bg_base" android:fontFamily="@font/font_ibm_plex_mono" android:textSize="14sp" android:textStyle="bold" android:background="@drawable/bg_circle_green"/>
                    <TextView android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:layout_marginStart="12dp" android:fontFamily="@font/font_ibm_plex_mono" android:text="POSIÇÃO ATUAL" android:textSize="9sp" android:textColor="@color/text_3" android:letterSpacing="0.05"/>
                    <TextView android:id="@+id/text_detail_position" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="1º" android:fontFamily="@font/font_bebas_neue" android:textSize="22sp" android:textColor="@color/brand"/>
                </LinearLayout>
                <View android:layout_width="match_parent" android:layout_height="1dp" android:background="@color/border"/>

                <!-- Pontos -->
                <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:gravity="center_vertical" android:paddingVertical="10dp">
                    <ImageView android:layout_width="32dp" android:layout_height="32dp" android:src="@drawable/ic_soccer" app:tint="@color/danger" android:background="@drawable/circle_edit_background" android:backgroundTint="#1aef4444" android:padding="6dp"/>
                    <TextView android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:layout_marginStart="12dp" android:fontFamily="@font/font_ibm_plex_mono" android:text="PONTOS" android:textSize="9sp" android:textColor="@color/text_3" android:letterSpacing="0.05"/>
                    <TextView android:id="@+id/text_detail_points" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="30" android:fontFamily="@font/font_bebas_neue" android:textSize="22sp" android:textColor="@color/brand"/>
                </LinearLayout>
                <View android:layout_width="match_parent" android:layout_height="1dp" android:background="@color/border"/>

                <!-- Jogos -->
                <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:gravity="center_vertical" android:paddingVertical="10dp">
                    <ImageView android:layout_width="32dp" android:layout_height="32dp" android:src="@drawable/ic_soccer" app:tint="@color/accent" android:background="@drawable/circle_edit_background" android:backgroundTint="#1a3b82f6" android:padding="6dp"/>
                    <TextView android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:layout_marginStart="12dp" android:fontFamily="@font/font_ibm_plex_mono" android:text="JOGOS" android:textSize="9sp" android:textColor="@color/text_3" android:letterSpacing="0.05"/>
                    <TextView android:id="@+id/text_detail_played" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="10" android:fontFamily="@font/font_ibm_plex_mono" android:textSize="14sp" android:textColor="@color/text_1" android:textStyle="bold"/>
                </LinearLayout>

                <!-- W/D/L -->
                <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:layout_marginStart="44dp" android:paddingBottom="10dp">
                    <TextView android:id="@+id/text_detail_won" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="10V" android:fontFamily="@font/font_ibm_plex_mono" android:textColor="@color/brand" android:textStyle="bold" android:textSize="12sp" android:layout_marginEnd="12dp"/>
                    <TextView android:id="@+id/text_detail_drawn" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="0E" android:fontFamily="@font/font_ibm_plex_mono" android:textColor="@color/warning" android:textStyle="bold" android:textSize="12sp" android:layout_marginEnd="12dp"/>
                    <TextView android:id="@+id/text_detail_lost" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="0D" android:fontFamily="@font/font_ibm_plex_mono" android:textColor="@color/danger" android:textStyle="bold" android:textSize="12sp"/>
                </LinearLayout>
                <View android:layout_width="match_parent" android:layout_height="1dp" android:background="@color/border"/>

                <!-- Golos -->
                <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:gravity="center_vertical" android:paddingVertical="10dp">
                    <ImageView android:layout_width="32dp" android:layout_height="32dp" android:src="@drawable/ic_soccer" app:tint="@color/text_2" android:background="@drawable/circle_edit_background" android:backgroundTint="@color/bg_elevated" android:padding="6dp"/>
                    <TextView android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:layout_marginStart="12dp" android:fontFamily="@font/font_ibm_plex_mono" android:text="GOLOS (M-S)" android:textSize="9sp" android:textColor="@color/text_3" android:letterSpacing="0.05"/>
                    <TextView android:id="@+id/text_detail_goals" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="54 - 8" android:fontFamily="@font/font_ibm_plex_mono" android:textSize="14sp" android:textColor="@color/text_1" android:textStyle="bold"/>
                </LinearLayout>
                <View android:layout_width="match_parent" android:layout_height="1dp" android:background="@color/border"/>

                <!-- DG -->
                <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:gravity="center_vertical" android:paddingVertical="10dp">
                    <ImageView android:layout_width="32dp" android:layout_height="32dp" android:src="@drawable/ic_soccer" app:tint="@color/accent" android:background="@drawable/circle_edit_background" android:backgroundTint="#1a3b82f6" android:padding="6dp"/>
                    <TextView android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:layout_marginStart="12dp" android:fontFamily="@font/font_ibm_plex_mono" android:text="DIFERENÇA DE GOLOS" android:textSize="9sp" android:textColor="@color/text_3" android:letterSpacing="0.05"/>
                    <TextView android:id="@+id/text_detail_goal_diff" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="+46" android:fontFamily="@font/font_bebas_neue" android:textSize="22sp" android:textColor="@color/brand"/>
                </LinearLayout>

            </LinearLayout>
        </com.google.android.material.card.MaterialCardView>

        <!-- Compare Button -->
        <com.google.android.material.button.MaterialButton
            android:id="@+id/btn_compare"
            android:layout_width="0dp"
            android:layout_height="42dp"
            android:layout_marginTop="14dp"
            app:backgroundTint="@color/bg_elevated"
            app:strokeColor="@color/border"
            app:strokeWidth="1dp"
            app:cornerRadius="8dp"
            android:fontFamily="@font/font_ibm_plex_sans"
            android:text="Comparar Estatísticas"
            android:textColor="@color/text_2"
            android:textSize="12sp"
            android:textAllCaps="false"
            android:visibility="gone"
            app:layout_constraintTop_toBottomOf="@id/card_stats"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintEnd_toEndOf="parent"/>

        <!-- Comparison View -->
        <com.google.android.material.card.MaterialCardView
            android:id="@+id/card_comparison"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_marginTop="12dp"
            app:cardCornerRadius="12dp"
            app:cardElevation="0dp"
            app:strokeWidth="1dp"
            app:strokeColor="@color/border"
            app:cardBackgroundColor="@color/bg_surface"
            android:visibility="gone"
            app:layout_constraintTop_toBottomOf="@id/btn_compare"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintEnd_toEndOf="parent">

            <LinearLayout
                android:id="@+id/layout_comparison"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="vertical"
                android:padding="20dp">

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_horizontal"
                    android:fontFamily="@font/font_bebas_neue"
                    android:letterSpacing="0.05"
                    android:text="CONFRONTO DIRETO"
                    android:textColor="@color/brand"
                    android:textSize="16sp"
                    android:layout_marginBottom="16dp" />

                <!-- Top Bar: Dual Team Logos/Names -->
                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:orientation="horizontal"
                    android:gravity="center_vertical"
                    android:layout_marginBottom="24dp">

                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:orientation="vertical"
                        android:gravity="center">
                        <com.google.android.material.imageview.ShapeableImageView
                            android:id="@+id/img_compare_team1"
                            android:layout_width="48dp"
                            android:layout_height="48dp"
                            app:shapeAppearanceOverlay="@style/ShapeAppearanceOverlay.App.CornerSize50Percent"
                            android:background="@color/bg_elevated"
                            app:strokeWidth="1dp"
                            app:strokeColor="@color/border"
                            android:src="@mipmap/ic_launcher_round"
                            android:scaleType="centerInside"/>
                        <TextView
                            android:id="@+id/text_compare_team1"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:text="Team A"
                            android:fontFamily="@font/font_ibm_plex_sans"
                            android:textStyle="bold"
                            android:textColor="@color/text_1"
                            android:textSize="13sp"
                            android:layout_marginTop="8dp"
                            android:gravity="center"
                            android:ellipsize="end"
                            android:maxLines="1"/>
                    </LinearLayout>

                    <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:text="VS"
                        android:fontFamily="@font/font_bebas_neue"
                        android:textSize="22sp"
                        android:textColor="@color/text_3"
                        android:layout_marginHorizontal="12dp"/>

                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:orientation="vertical"
                        android:gravity="center">
                        <com.google.android.material.imageview.ShapeableImageView
                            android:id="@+id/img_compare_team2"
                            android:layout_width="48dp"
                            android:layout_height="48dp"
                            app:shapeAppearanceOverlay="@style/ShapeAppearanceOverlay.App.CornerSize50Percent"
                            android:background="@color/bg_elevated"
                            app:strokeWidth="1dp"
                            app:strokeColor="@color/border"
                            android:src="@mipmap/ic_launcher_round"
                            android:scaleType="centerInside"/>
                        <TextView
                            android:id="@+id/text_compare_team2"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:text="Team B"
                            android:fontFamily="@font/font_ibm_plex_sans"
                            android:textStyle="bold"
                            android:textColor="@color/text_1"
                            android:textSize="13sp"
                            android:layout_marginTop="8dp"
                            android:gravity="center"
                            android:ellipsize="end"
                            android:maxLines="1"/>
                    </LinearLayout>
                </LinearLayout>

                <!-- Stats Stack -->
                <View android:layout_width="match_parent" android:layout_height="1dp" android:background="@color/border" android:layout_marginBottom="12dp"/>

                <!-- Row: Pontos -->
                <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:gravity="center_vertical" android:paddingVertical="8dp">
                    <TextView android:id="@+id/text_compare_p1" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:text="0" android:gravity="center" android:fontFamily="@font/font_ibm_plex_mono" android:textSize="16sp" android:textColor="@color/text_1"/>
                    <TextView android:layout_width="100dp" android:layout_height="wrap_content" android:text="PONTOS" android:gravity="center" android:fontFamily="@font/font_ibm_plex_mono" android:textSize="10sp" android:textColor="@color/text_3" android:letterSpacing="0.05"/>
                    <TextView android:id="@+id/text_compare_p2" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:text="0" android:gravity="center" android:fontFamily="@font/font_ibm_plex_mono" android:textSize="16sp" android:textColor="@color/text_1"/>
                </LinearLayout>

                <!-- Row: Vitórias -->
                <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:gravity="center_vertical" android:paddingVertical="8dp">
                    <TextView android:id="@+id/text_compare_v1" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:text="0" android:gravity="center" android:fontFamily="@font/font_ibm_plex_mono" android:textSize="16sp" android:textColor="@color/text_1"/>
                    <TextView android:layout_width="100dp" android:layout_height="wrap_content" android:text="VITÓRIAS" android:gravity="center" android:fontFamily="@font/font_ibm_plex_mono" android:textSize="10sp" android:textColor="@color/text_3" android:letterSpacing="0.05"/>
                    <TextView android:id="@+id/text_compare_v2" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:text="0" android:gravity="center" android:fontFamily="@font/font_ibm_plex_mono" android:textSize="16sp" android:textColor="@color/text_1"/>
                </LinearLayout>

                <!-- Row: Jogos -->
                <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:gravity="center_vertical" android:paddingVertical="8dp">
                    <TextView android:id="@+id/text_compare_j1" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:text="0" android:gravity="center" android:fontFamily="@font/font_ibm_plex_mono" android:textSize="14sp" android:textColor="@color/text_2"/>
                    <TextView android:layout_width="100dp" android:layout_height="wrap_content" android:text="JOGOS" android:gravity="center" android:fontFamily="@font/font_ibm_plex_mono" android:textSize="10sp" android:textColor="@color/text_3" android:letterSpacing="0.05"/>
                    <TextView android:id="@+id/text_compare_j2" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:text="0" android:gravity="center" android:fontFamily="@font/font_ibm_plex_mono" android:textSize="14sp" android:textColor="@color/text_2"/>
                </LinearLayout>

                <!-- Row: Golos -->
                <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:gravity="center_vertical" android:paddingVertical="8dp">
                    <TextView android:id="@+id/text_compare_g1" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:text="0" android:gravity="center" android:fontFamily="@font/font_ibm_plex_mono" android:textSize="16sp" android:textColor="@color/text_1"/>
                    <TextView android:layout_width="100dp" android:layout_height="wrap_content" android:text="GOLOS MARC." android:gravity="center" android:fontFamily="@font/font_ibm_plex_mono" android:textSize="10sp" android:textColor="@color/text_3" android:letterSpacing="0.05"/>
                    <TextView android:id="@+id/text_compare_g2" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:text="0" android:gravity="center" android:fontFamily="@font/font_ibm_plex_mono" android:textSize="16sp" android:textColor="@color/text_1"/>
                </LinearLayout>

            </LinearLayout>
        </com.google.android.material.card.MaterialCardView>

        <!-- Players Button -->
        <com.google.android.material.button.MaterialButton
            android:id="@+id/btn_players"
            android:layout_width="match_parent"
            android:layout_height="48dp"
            android:fontFamily="@font/font_ibm_plex_sans"
            android:text="Ver Jogadores"
            android:textColor="@color/bg_base"
            android:textSize="14sp"
            android:textStyle="bold"
            android:textAllCaps="false"
            app:backgroundTint="@color/brand"
            app:cornerRadius="8dp"
            app:icon="@drawable/ic_soccer"
            app:iconGravity="textStart"
            app:iconSize="20dp"
            app:iconTint="@color/bg_base"
            android:gravity="center"
            android:layout_marginTop="20dp"
            android:layout_marginBottom="20dp"
            app:layout_constraintTop_toBottomOf="@id/card_comparison"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintVertical_bias="1.0"/>

    </androidx.constraintlayout.widget.ConstraintLayout>
</androidx.core.widget.NestedScrollView>
