/* ===========================================================
   BIONIC TEAM MANAGER - FRONTEND STYLE
=========================================================== */

/* ---------- TEAM GRID ---------- */

.btm-team-grid{
    display:grid;
    grid-template-columns:repeat(3,350px);
    justify-content:center;
    gap:30px;
    max-width:1200px;
    margin:40px auto;
}

/* ---------- CARD ---------- */

.btm-player-card{
    position:relative;
    overflow:hidden;
    border-radius:22px;
    background:#fff;
    box-shadow:0 15px 35px rgba(0,0,0,.15);
    transition:.35s ease;
}

.btm-player-card:hover{
    transform:translateY(-8px);
}

/* ---------- IMAGE ---------- */

.btm-player-image{
    position:relative;
    height:470px;
    overflow:hidden;
}

.btm-player-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* ---------- BLUE OVERLAY ---------- */

.btm-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(6,18,75,1) 0%,
        rgba(15,48,170,.95) 12%,
        rgba(28,73,220,.55) 24%,
        rgba(28,73,220,.15) 36%,
        rgba(28,73,220,0) 48%
    );
}

/* ---------- JERSEY NUMBER ---------- */

.btm-player-number{
    position:absolute;
    left:20px;
    bottom:16px;

    width:90px;

    font-size:78px;
    font-weight:900;
    line-height:1;

    color:rgba(255,255,255,.55);

    z-index:3;
}

/* ---------- PLAYER INFO ---------- */

.btm-player-info{
    position:absolute;

    left:105px;
    right:20px;
    bottom:23px;

    z-index:5;
}

.btm-player-info h3{
    margin:0;
    color:#fff;
    font-size:32px;
    font-weight:800;
    line-height:1;
}

.btm-player-info span{
    display:block;
    margin-top:6px;
    color:#fff;
    font-size:18px;
    font-weight:500;
}

/* ---------- CAPTAIN ---------- */

.btm-captain-badge{
    display:inline-block;
    margin-top:10px;
    padding:5px 12px;
    background:#FDB913;
    color:#fff;
    border-radius:30px;
    font-size:12px;
    font-weight:700;
}

/* ===========================================================
   TABLET
=========================================================== */

@media (max-width:991px){

    .btm-team-grid{
        grid-template-columns:repeat(2,1fr);
        gap:20px;
        padding:0 15px;
    }

    .btm-player-image{
        height:360px;
    }

   .btm-player-number{

    width:85px;

    text-align:right;

    padding-right:10px;

    flex:0 0 85px;

    font-size:78px;

    font-weight:900;

    line-height:.82;

    color:rgba(255,255,255,.52);

    letter-spacing:-3px;

}

    .btm-player-info{
        left:-2px;
        bottom:18px;
    }

    .btm-player-info h3{
        font-size:24px;
    }

    .btm-player-info span{
        font-size:15px;
    }

}

/* ===========================================================
   MOBILE
=========================================================== */

@media (max-width:767px){

    .btm-team-grid{

        grid-template-columns:repeat(2,1fr);

        gap:12px;

        padding:0 10px;

    }

    .btm-player-image{

        height:250px;

    }

    .btm-player-number{

        width:48px;

        left:10px;

        bottom:18px;

        font-size:52px;

    }

    .btm-player-info{

        left:69px;

        right:10px;

        bottom:18px;

    }

    .btm-player-info h3{

        font-size:17px;

    }

    .btm-player-info span{

        font-size:12px;

    }

    .btm-captain-badge{

        margin-top:6px;

        padding:4px 8px;

        font-size:10px;

    }
    
    /* =====================
   MATCHES
===================== */

.btm-matches-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

    margin:60px auto;

}

.btm-match-card{

    background:#fff;

    border-radius:20px;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    overflow:hidden;

}

.btm-match-header{

    background:#0F2D8C;

    color:#fff;

    text-align:center;

    padding:15px;

    font-size:18px;

    font-weight:700;

}

.btm-match-teams{

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:25px;

}

.btm-team{

    width:40%;

    text-align:center;

}

.btm-team img{

    width:80px;

    height:80px;

    object-fit:contain;

}

.btm-team h4{

    margin-top:12px;

}

.btm-vs{

    font-size:24px;

    font-weight:bold;

}

.btm-match-info{

    padding:20px;

    border-top:1px solid #eee;

}

.btm-match-info p{

    margin:8px 0;

}

@media(max-width:991px){

    .btm-matches-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:767px){

    .btm-matches-grid{

        grid-template-columns:1fr;

    }

}
    
   
}