.player-main-block {
    background: linear-gradient(120deg, #181a1b 80%, #0d6efd 100%);
    border-radius: 20px;
    box-shadow: 0 4px 24px #00000022;
    padding: 2rem 2.5rem 2rem 2.5rem;
    margin-bottom: 2.5rem;
    margin-top: 2.5rem;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}
.player-row {
    background: #23272b;
    border-radius: 14px;
    margin-bottom: 1.2rem;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px #00000022;
    transition: box-shadow 0.2s, transform 0.2s;
}
.player-row:hover {
    box-shadow: 0 4px 16px #00000044;
    transform: translateY(-2px) scale(1.01);
}
.player-main-info {
    min-width: 220px;
    max-width: 220px;
}
.player-avatar {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #0d6efd;
    background: #181a1b;
    margin-right: 1.5rem;
}
.player-gamertag {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.1rem;
    word-break: break-all;
}
.player-role {
    font-size: 1rem;
    font-weight: 500;
    color: #0d6efd;
    text-transform: capitalize;
}
.player-links {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 120px;
    justify-content: flex-end;
}
.player-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #181a1b;
    color: #fff;
    font-size: 1.4rem;
    transition: background 0.2s, color 0.2s;
    border: 1.5px solid #23272b;
}
.player-links a.twitter:hover {
    background: #000000;
    color: #fff;
}
.player-links a.twitch:hover {
    background: #6441a5;
    color: #fff;
}
.player-links a.youtube:hover {
    background: #c4302b;
    color: #fff;
}
.player-info-row {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 2rem;
}
.club-logo-mini {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #0d6efd;
    background: #181a1b;
    box-shadow: 0 2px 8px #00000022;
    display: inline-block;
    vertical-align: middle;
}
.player-club-logo {
    display: inline-block;
    vertical-align: middle;
}

.player-main-block .ctm-btn-login,
.player-main-block .ctm-btn-login i {
    color: #fff !important;
}

.player-main-block .ctm-btn-login:hover,
.player-main-block .ctm-btn-login:focus,
.player-main-block .ctm-btn-login:active {
    color: #fff !important;
}

@media (max-width: 900px) {
    .player-info-row { flex-direction: column; align-items: flex-start; gap: 0.7rem; }
    .player-links { margin-left: 0; }
    .player-main-block {
        padding: 1rem 0.5rem 1rem 0.5rem; /* Reduce padding en móvil */
        max-width: 100%; /* Asegura que no exceda el ancho */
    }
}
