/* PROFILE CARD */
.player-card{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;   
    background-color: var(--color-surface-mid);
    border: 2px solid var(--color-border);
    border-radius: 10px;
    padding: 10px 15px;   
    margin: 10px 0;    
    transition: all 0.3s ease;        
}

.player-card-link {
    display: block;  
    text-decoration: none;
    color: inherit;
}

.player-card:hover{
    transform: scale(1.02);
    border: 2px solid rgba(75, 70, 1, 0.8);
}

.profile-info {
    display: flex;             
    align-items: center;   
}

.player-tag{
    color: var(--color-text-faint);
}

.rank{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    font-size: 120%;
    margin-right: 12px;
    margin-left: 5px;
}

.name-card{
    margin-left: 10px;
}

.profile-pic{
    width: 46px;
    height: 46px;
}

.leaderboard-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
    margin-right: 2px;
}

.leaderboard-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    object-position: center; 
    display: block;
}

.player-stat{
    display: flex;
    flex-direction: row;
    color: var(--color-text-muted);
}

.right-side {
    display: flex;
    align-items: center;
    gap: 10px;
}

.player-card-link .arrow {
    height: 16px;
    transition: transform 0.35s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    filter: brightness(0.8);
}

.player-card-link:hover .arrow {
    transform: translateX(6px);  
    filter: brightness(1.2);
}

.player-card-link:hover .arrow {
    animation: arrowBounce 0.6s ease-out;
}

@keyframes arrowBounce {
    0%   { transform: translateX(0); }
    40%  { transform: translateX(8px); }
    70%  { transform: translateX(5px); }
    100% { transform: translateX(6px); }
}

.players-tracked {
    margin-top: 10px;
}

.check-others {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.other-links{
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    max-width: 100%;
}

.other-link {
    background-color: var(--color-surface-grey);
    padding: 8px 14px;
    border-radius: 5px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.other-link:hover{
    transform: scale(1.06);
}