/* Jugador card: ficha oficial de jugador (versión oscura) */
.jugador-item {
    --verde: #009e10;
    --verde-osc: #00690b;
    --verde-vivo: #22c55e;
    --texto: #f1f5f9;
    --texto-suave: #94a3b8;
    --linea: #009e10;

    position: relative;
    overflow: hidden;
 background:
    /* textura sutil */
    repeating-linear-gradient(135deg,
        rgba(255, 255, 255, 0.025) 0 1px,
        transparent 1px 6px),
    linear-gradient(170deg, #001b4d 0%, #001757 55%, #001044 100%);
    border: 1px solid var(--linea);
    border-radius: 14px;
    padding: 26px 18px 16px;
    width: auto;
    min-width: 300px;
    max-width: 500px;
    display: block;
    color: var(--texto);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 12px 28px -6px rgba(0, 0, 0, 0.55);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

/* Cabecera tipo credencial */
.jugador-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--verde-osc), var(--verde) 50%, var(--verde-osc));
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

/* Esquina diagonal inferior */
.jugador-item::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 130px;
    height: 130px;
    background: linear-gradient(135deg, transparent 50%, rgba(0, 158, 16, 0.16) 50%);
    border-radius: 0 0 14px 0;
    pointer-events: none;
}

.jugador-item > * {
    position: relative;
    z-index: 1;
}

.jugador-item:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 158, 16, 0.7);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 0 0 1px rgba(0, 158, 16, 0.25),
        0 4px 8px rgba(0, 0, 0, 0.35),
        0 20px 36px -8px rgba(0, 0, 0, 0.7);
}

/* Nombre / texto principal */
#letraco {
    color: var(--texto) !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.02em;
    line-height: 1.35;
}

/* Foto tipo retrato */
#foto {
    border: 3px solid #0e131a;
    border-radius: 50%;
    object-fit: cover;
    background: #1e2733;
    box-shadow:
        0 0 0 2px var(--verde),
        0 6px 14px rgba(0, 0, 0, 0.55);
}

/* Sello de verificación */
.badge-verificado {
    position: absolute;
    top: -8px;
    right: -8px;
    z-index: 10;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    background: radial-gradient(circle at 30% 30%, var(--verde-vivo), var(--verde) 60%, var(--verde-osc));
    border: 2px solid #141a23;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

@media (max-width: 600px) {
    .badge-verificado { width: 24px; height: 24px; top: -6px; right: -6px; font-size: 0.9em; }
    .jugador-item {
        flex: 0 0 calc(100% - 32px) !important;
        max-width: calc(100% - 32px) !important;
        min-width: 0 !important;
    }
}

/* Paginación (sin cambios) */
#paginacionJugadores {
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: 100vw;
    overflow-x: auto;
}
#paginacionJugadores button {
    min-width: 40px;
    min-height: 40px;
    font-size: 1.1em;
    border-radius: 8px;
    margin-bottom: 6px;
    color: white !important;
}
#paginacionJugadores button.btn-primary {
    background: #000744ff !important;
    border-color: #000744ff !important;
    color: #fff;
}
#paginacionJugadores button.btn-outline-primary {
    border-color: #000744ff !important;
    color: #fff !important;
}
@media (max-width: 600px) {
    #paginacionJugadores button {
        min-width: 48px;
        min-height: 48px;
        font-size: 1.2em;
    }
}